Architecture technical points
SOA
SOA architecture SOA: Service Oriented Architecture, service-oriented architecture,
distributed call tracking, (Zipkin, Taobao's Eagle Eye, Sina's watchman, Jingdong's Hydra, Google's Dapper)
to deal with high concurrency, large traffic routine Means:
capacity expansion, dynamic and static separation, caching, service degradation, and current limiting Current
limiting means sacrificing some people who cannot access in time without guaranteeing the security of the overall system, so as not to overwhelm the entire system.
Pooling resource technologies, such as the connection pool has fixed the maximum number of connections, beyond this threshold, you cannot apply for it (based on a counting algorithm), and there is a current-limiting
token . The capacity of the bucket is Certainly, when the bucket is full, new tokens will be discarded.
The leaky bucket algorithm, the flow into the bucket is arbitrary, and the water droplets flowing out of
Guava
nginx at a fixed rate can also achieve current limiting.
In business, such as seckill in different time periods, the verification code is extended to place an order request
MQ to realize the current limiting effect on data writing
Expansion is the separation of cluster dynamic and
static , which is to apply CDN
cache, use cache (multi-level cache) to
degrade service, is to return a default or old data to the user, make it available to the user, or prompt the user to try again after a period of time . without returning an error page to the user.
Distributed configuration management
zookeeper (subscription, monitoring), Taobao's Diamond, Baidu disconf (based on zookeeper)
MYSQL Sharding: cobar, mycat, shark
Order business redundancy table is to place data (sub-table and sub-database) with sellerId and buyer_id in an asynchronous manner.
page static processing
Architecture technical points
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326577313&siteId=291194637
Recommended
Ranking