Writing in the front

Now many enterprises are gradually resuming work, many programmers to seize the silver four small tail, but if the technology does not pass everything is in vain, home arranged a hundred million level of traffic website architecture core technology. It covers a lot of knowledge points such as high availability, high concurrency, isolation, traffic limiting, load balancing and reverse proxy, multi-level cache, application cache, HTTP cache, cases, how to expand capacity and so on. Today xiaobian to share with you, I hope to be useful to you.

Book is divided into four parts: overview, high availability, high concurrency, case of actual combat, from the load balancing, current limiting, demotion, isolation, timeouts and retries, the rollback mechanism, pressure test and the plan, caching, pool, asynchronous, expansion, queue million level traffic sites were introduced in detail the architecture of the core technology, let the reader can read fast and apply it in practice.

Part ONE: Overview

Some principles of transactional system design

Part two: High availability

2 Load balancer and reverse proxy

3 the isolation technique

4 Current limiting details

5 Demotion Stunt

6 Timeout and retry mechanism

7 Rollback mechanism

Pressure measurement and preplan

It covers a lot of knowledge points such as high availability, high concurrency, isolation, traffic limiting, load balancing and reverse proxy, multi-level cache, application cache, HTTP cache, cases, how to expand capacity and so on.

Part three: High concurrency

9 Application-level cache

10 HT T P Cache

11 Multi-level Cache

12 Connection pool Thread pool details

13 Asynchronous concurrent combat

14 Capacity Expansion

15 the queue technique

Part FOUR: Cases

Build a demand responsive hundred-million-level product detail page

Jingdong commodity details page service closed loop practice

18 Develop high-performance Web applications using OpenResty

19 Static Application Data Architecture High-performance single-page Web applications

20 Develop Web services using OpenResty

21 Develop the product details page using OpenResty

Part v: Contents