Architecture Solution: A 500,000-day-a-day access to the logistics of the single-screen system of the technical framework?

Source: Internet
Author: User
System architecture

For a daily average visit of about 500,000 of the logistics Sieve single system, the system response time required within 3 seconds, the system reliability, stability and scalability requirements, we recommend the use of what technical framework good?


Reply to discussion (solution)

Nginx,server more than one.
The key to see bottlenecks, if the server does not add the machine, if the database is not good, such as the use of memory tables that add memory, or the sub-table, the key to see business needs, find bottlenecks

The system bottleneck is tested first, and then the next step is discussed.

Server with LNMP, database using monthly table, if money is not a problem to make a database read and write separation.

In the online search for some information, my initial idea is to use lnamp, static resources to let nginx processing at the same time provide load balancing, Apache (first with 2) to do the cluster dedicated to PHP, database MySQL (2) do the cluster, database cache with memcached, and then test the system bottleneck, Re-adjustment.



Server with LNMP, database using monthly table, if money is not a problem to make a database read and write separation.
3 floor of the database used by the monthly table or read-write separation, not too clear, can be specific to say.

The key to see how big the peak is.

In the online search for some information, my initial idea is to use lnamp, static resources to let nginx processing at the same time provide load balancing, Apache (first with 2) to do the cluster dedicated to PHP, database MySQL (2) do the cluster, database cache with memcached, and then test the system bottleneck, Re-adjustment.




Server with LNMP, database using monthly table, if money is not a problem to make a database read and write separation.
3 floor of the database used by the monthly table or read-write separation, not too clear, can be specific to say.


1. Can the Logistics screening list be understood as logistics order data? If it is possible to put this data on a table.
2, do not need to do what static server, because you are checking the data is not to look for pictures and so on.
3, you this system 1 servers do not have problems, 2 servers more stable.
4, if you use 2 servers, I recommend the database to do read and write separation (also can be said that the master and slave), the Web program can be 2 services to do a load balancing
My point is that the daily visit is PV, or UV, even if the UV 2 servers to fix. That's enough. The amount of data is too small to be big.

This system UV is not big, mainly consider PV;
Logistics Screening list is the selection of the logistics waybill, will come from the e-commerce platform interface and the seller's own input, import of the logistics Waybill for processing.
So the main pressure should be on the database to access this block.

You're better off with a php+nginx+redis. Use MySQL as a backup database to prepare the machine.

You're better off with a linux+php+nginx+redis. Use MySQL as a backup database to spare. The memory is large.

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.