Was asked if they did too much concurrency related. How much concurrency do you mean?

  • JD Taobao Tencent (E-commerce details page)
    • Meituan 58..
      • Melon seeds (QPS 2K) three line e-commerce, etc
  • Data consistency requirements. Data distribution, data synchronization.
  • What about high consistency and low (final) consistency
  • Peak clipping
  • nginx 5W
  • qps pv uv
  • A single Tomcat 200 or less can be used concurrently
  • Domain divisiondown.qq.com games.qq.com
  • The CDN has been around for ten years. Cache static resources.
  • A small number of dynamic resources with low consistency (requesting values received by the interface). Run job to get dynamic resources.
  • High concurrency comes first to the cache. redis
  • The LVS access layer is followed by nginx * n. This is followed by application-level Nginx (embedded in Lua).
  • Nginx + lua + Redis Don’t go totomcat
  • Nginx + lua + kafka
  • Nginx and Redis will have a lot of socket setup.
  • Url summary (filter out anchor points)