Large e-commerce platform belongs to typical high concurrent distributed application project, each function module are often deployed in different physical environment, running completely heterogeneous system environments. Ever-changing diversity and increase of traffic demand, makes the traditional architecture have been unable to meet the needs of the current, how to design and implement a low maintenance cost, high concurrency, high scalability, high flexibility of e-commerce platform, is currently facing a complex issue. And the emergence of service-oriented architecture(SOA), and the application of the distributed cache in order to solve the above problem has brought opportunity.Dissertationart mall to company e-commerce platform construction as an example, e-commerce platform based on SOA architecture in the process of implementation, and reasonable application of Web service technology, Memcached distributed cache technology was studied, and combining the platform after the online test data are summarized.First, study the SOA, Web services, Memcached distributed cache technology characteristic, proposed the Web service is a kind of very good implementation of SOA architecture technology, as well as the distributed cache technology application in the necessity of high concurrent system, after combining e-commerce platform for the UML design pattern framework building.Then, in view of the Web service encapsulation, the pros and cons of thick granularity characteristics was studied, and the function of SOA architecture model system at all levels, summarizes the function level, the lower the Web services encapsulate the thinner the implementation of the scheme. By studying the working characteristics of synchronous and asynchronous invocation model, summarizes the implementation scheme of different application scenarios.Secondly, aiming at the problem of memory utilization is low, and the cache object batch when dealing with complex operation, the problem of poor performance were studied. Based on cache data classification characteristics and memory allocation principle, research the caused reason and sums up the optimization scheme. Based on the client program control allocation rules, has realized the database support, and release tag specified instance in the three solutions, through data analysis and comparison, summarizes the optimized method under different scenarios.Finally, the platform function summary and test data. Verify the e-commerce project in enterprise, and based on SOA architecture design is the foundation of success, the reasonable application of Web service technology, Memcached distributed caching technology is the key to success. |