Font Size: a A A

The Design And Implementation Of Meituan Waimai's Promotion Center

Posted on:2017-03-11Degree:MasterType:Thesis
Country:ChinaCandidate:X WangFull Text:PDF
GTID:2518304838968009Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
Under the circumstance where the competition in online food ordering industry is fierce,Meituan Waimai,an online platform for restaurant pick-up and delivery,has launched a bunch of promotional activities and a strategy to rank restaurants according to their popularity,so as to attract consumers and encourage restaurants to compete in a healthy way.Every activity is allocated to a restaurant,and each restaurant has different needs regarding how the activities are configured,including activity type,time span,costs,etc.Apparently,building up a routine of configuration for every single restaurant is not practical,so it is an urgent to abstract the process of setting up activities and to provide a centralized management for promotion data.Promotion Center came into picture under such business background,it is designed to meet the requirements of managing activities and popular restaurants.Providing functions like querying activity,setting activities for restaurants,managing activity cost,automatically executing jobs to get activities online,managing activity-setting power and popular restaurants,Promotion Center has helped to make the job of restaurant owners and operators much easier.In order to develop a service-oriented system,Promotion Center is divided into two sub-systems,the web system and the service providing system.The web system is designed in MVC,together with Spring framework,to cover all the business logic.And the service providing system interacting directly with database,is implemented using Thrift,the remote procedure call framework.Quartz is imported to schedule job executing,and Tair,a key/value storage engine developed by Taobao is used to make sure there is only one job of a type in progress at a time.For the operations that does not require immediate response,Promotion Center would send a message to RabbitMQ's broker and asynchronously deal with them.Other than these,simple factory design pattern and table-driven approach are used while designing the system.Based on business requirements,this thesis has described technologies used while implementing the system and functional module partition of the system.Furthermore,detailed design ideas and solutions of each module are discussed,then code implementation and interface screenshots are provided,finally some possible improvements are given.In conclusion,this thesis completed describing the design and implementation of Meituan Waimai's Promotion Center.
Keywords/Search Tags:Online food ordering, promotion, Thrift, Quartz, Tair, RabbitMQ
PDF Full Text Request
Related items