Discover microservice architecture principles, include the articles, news, trends, analysis and practical advice about microservice architecture principles on alibabacloud.com
scalability design of Application server cluster
1. HTTP redirect Load balancer (no longer used)
2. DNS domain name resolution load Balancer
3. Reverse Proxy load Balancing
4. IP load Balancing
5, Data link layer load balancing (also known as triangular mode, or Dr mode)
6. Load Balancing algorithm
(1), polling (Round Robin RR)
(2), weighted polling (Weighted Round Robin WRR)
(3), stochastic (random)
(4), Minimum link (Least Connections)
(5), So
; Multiple from library for data Select)6) CDN AccelerationAdd a layer of reverse proxy server and CDN Accelerator in front of load balancing, and return some cached data to the server early so that the page reacts fasterCDN Accelerator--Reverse proxy--load Balancer Scheduler---> (Multiple consuming programs distributed deployment)---> External distributed cache---> Database server and File server docking7) Distributed database and Distributed File serverWhen the amount of data in the database i
ImportAerospike#Configuration for the clientConfig = {
'hosts': [ ('127.0.0.1', 3000) ]
}
#Create a client and connect to the databaseClient =aerospike.client (config). Connect ()#Records is addressable via a tuple of (namespace, set, key)Key = ('Test','Demo','Foo')
#Write a record
Client.put (key, {'name':'John Doe',
' Age': 32
})
#Read a record(Key, metadata, record) =client.get (Key)#Close Connection to ClusterClient.close () Performance comparison See Http://www.infoq.com/cn/news
statement
At last
ObjectiveOracle architecture, which describes the underlying implementation principles of Oracle RDBMS, is the basic theory of Oracle dba** tuning and debugging. An in-depth understanding of Oracle architecture allows us to go farther on Oracle's path. Understanding the architecture of
understand others ' ideas, and seek common ground to disagree.Six achievements of othersThe meaning of life is different for everyone. But for most men, the meaning is always the same: to achieve yourself. If you want to achieve yourself, you must achieve others.Everyone has a goal of their own achievement. And work is a means of achieving self-achievement: Through the challenges of work, to explore the potential of self, re-cognition of the Self and the world.To make a project not only to crea
of high availability of software is redundancy.3: FlexibilityBecause of the increasing development of the website, more and more users visit, in order to ensure the high concurrency of the website, the massive data processing ability, should use the way of the cluster to ensure the software scalability.4: ExtensibilityAs the site grows, the site needs to be able to respond quickly to changes in demand, and the means to achieve this are primarily through event-driven architectures and distribute
. Session server, the use of independent deployment session server cluster Unified management session, application server every time the session, access to the session server.High-availability services. Reusable services, like applications, are stateless services, so highly available services can be implemented using a failover strategy like load balancing. In addition, there are several highly available service strategies: Hierarchical Management, timeout settings, asynchronous invocation, serv
Principles and architecture of MySQL5
MySQL is a commonly used relational database. For a storage system using MySQL, MySQL optimization is crucial to system performance, including SQL optimization, first of all, we need to have a general understanding of it. This article analyzes the overall architecture of MySQL, so that we can better understand MySQL.
1.
none
In the execution plan, SubPlan1 and SubPlan0 Plandistribution=source, these two subplan are the nodes that provide the data source, and all the read data for all nodes is sent to every node of SubPlan1. The SubPlan2 allocates 8 nodes to perform the final aggregation operation; The SUBPLAN3 is only responsible for outputting the final computed data, such as:
SubPlan1 and SubPlan0 as the source node, they read the HDFs file data in the same way that the HDFs inputsplit API
speed is fast or slow. The time that the user feels, including when the user's computer and the site server are communicating, when the site server is processing, and when the user's Computer browser constructs the request to parse the response data.From the developer's point of view, developers focus on the performance of the application itself and related subsystems, including response latency, system throughput, concurrency, system stability and other technical indicators. You can use cachin
facilitate distributed deployment and to deploy different modules on different servers. For a user to access a relatively centralized module, a standalone deployed server needs to be clustered, and clustering can provide better concurrency characteristics. When more users visit, simply add a new machine to the cluster.Caching is also an integral part of the Web site schema pattern, where caching data is kept at the nearest location to calculate the speed of processing, and is the first means of
can be viewed as "task run parallelism." If a node is configured with 5 map slots, the node runs up to 5 map tasks, and if a node is configured with 3 reduce slots, the node runs up to 3 reduce tasks. Here we describe the MAP slot and the reduce slot separately.1. Map Slot
The map slot can be used to run the resources of the map task, and only the map task can be run.
Each map task typically uses a map slot. For example, like a capacity scheduler, it can have relatively
tree does not require disk access, and can be done in memory, much faster than a B + tree. Using the LSM tree can greatly reduce the number of disk accesses and speed up access when data access is primarily written, while read operations focus on recently written data.3. RAID VS HDFSRAID (Redundant array of Inexpensive disks) technology is primarily designed to improve disk access latency and enhance disk availability and fault tolerance. RAID technology is widely used in traditional relational
Paip. performance tracking profile principles and architecture and essence python scanning with javaphp paip. performance tracking profile principles and architecture and nature-python scanning with java php
# Background
Get all input method phonetic alphabet conversion atiEnPH tool, always python performance on K, 7
server, where the static resources of the site are cached, without the need to continue to forward the request to the application server, directly back to the user
Local cache. The hotspot data is cached locally on the application server, and the application can be accessed directly in local memory without having to access the data tier
Distributed cache. The data is stored in a dedicated distributed cache cluster, and the application server accesses the cached data over network traffic
Processor Architecture
ISA
One processor supportsCommandAndByte encoding of commandsCalled itsInstruction Set architecture ISA.
Although the performance and complexity of the processors manufactured by each vendor are constantly improved, different models are compatible at the ISA level. Therefore, ISA providesConcept Abstraction Layer.
This concept abstraction layer is the ISA model: the instruction set en
of data consistency (consistency), data availability (availibility), partition tolerance (patition tolerance)5. For code version control, can use branch development in the early stage, the form of the backbone release , facilitate the synchronization of multiple teams to develop, later product mature and stable, in the continuous upgrade process can use the backbone development, Branch release form, Easy to manage and control product versions. 6. Load Balancing algorithm: Polling, weighted poll
technology. Discover problems, find breakthroughs, ask questions, seek support, solve problems, achieve performance, continue to learn, their own progress, our level will also be improved, and eventually become the core of technology. 3. OSN Site ArchitectArchitects are a very important role for businesses and websites. The architecture is to lead the technical direction and determine the engineer's workload. Architects have different classifications
the Alwaysony primary replica database is configured, SQL Server will create a thread called Log scanner for it to work uninterrupted, to read the log from the log buffer or log file, package it into a log block, and send it to the secondary replica. Therefore, the data can be guaranteed to be changed and sent to each auxiliary copy continuously.There are cured and redo two threads on the secondary replica to complete the data update operation, the cured thread writes the log block of the prima
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.