Font Size: a A A

Research And Design Of Social Art E-commerce Platform Based On PHP

Posted on:2022-10-10Degree:MasterType:Thesis
Country:ChinaCandidate:C Y BaiFull Text:PDF
GTID:2518306338970599Subject:Electronic Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of domestic e-commerce platforms in recent years,the e-commerce platform of artworks has gained a good development environment.However,the current domestic and foreign art e-commerce platform has a single function and poor scalability,which brings bad shopping experience to users.In order to solve the above shortcomings,this paper designs a social art e-commerce platform,which expands and innovates the functions of the traditional e-commerce platform and adds social elements,including online exhibition,auction,comment,thumb up and other functions.Due to the cross-platform,convenient and quick advantages of PHP language,this paper uses PHP language as the main development language of the art e-commerce platform.The social art e-commerce platform is mainly divided into certification module,mall module,social module and individual center module.In order to solve the problems of load distribution,gray scale publication and rack disaster tolerance in the system,a new dynamic load balancing algorithm--HDM is proposed.The algorithm can dynamically adjust the load allocation ratio according to the performance of the server and the real-time load,and also supports relatively stable grayscale publishing.The algorithm can also be extended to achieve the disaster tolerance effect of the frame.Experiments show that this algorithm can balance the load of clusters more reasonably and provide stable gray publishing ratio,and the deviation of gray publishing ratio is at least 0.26%lower than that of other load balancing algorithms.In order to solve the problem of dividing data between different performance databases,a new data sharding algorithm,CHD,is proposed in this paper.The algorithm can specify the partition ratio of data,can be set according to the performance of the database to store the amount of data,solve the problem of different data storage capacity divided by different data,but also solve the problem of data loss because of the database downtime,and the algorithm also supports the rapid expansion of data capacity.Experimental results show that the algorithm can provide stable data partition ratio,and the error is less than 0.21%.This system uses NGINX as the forwarding layer,and uses MySQL+MyCAT technology in the data layer.Finally,functional module test,pressure test,load balancing test and data segmentation test were carried out for the art e-commerce platform.The test results show that the art e-commerce platform can reasonably distribute the load in the cluster according to the performance of the server,achieve a more stable grayscale release,and effectively control the distribution of data volume.
Keywords/Search Tags:art e-commerce platform, PHP, social, load balancing, data sharding
PDF Full Text Request
Related items