高性能中小型B2C電商平臺(tái)的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-04-03 13:08
本文選題:B2C電商平臺(tái) 切入點(diǎn):高性能架構(gòu) 出處:《內(nèi)蒙古大學(xué)》2017年碩士論文
【摘要】:隨著網(wǎng)上購(gòu)物的普及和電子商務(wù)的深入發(fā)展,中小型廠家都期望有自己的電商平臺(tái)來(lái)自主營(yíng)銷,為消費(fèi)者提供更好的服務(wù)。但是目前中小型電商網(wǎng)站對(duì)硬件性能的要求較高,建站成本居高不下,這極大制約了中小型B2C電商的發(fā)展。本文期望通過(guò)結(jié)合目前先進(jìn)的開(kāi)發(fā)技術(shù),從系統(tǒng)層面提升網(wǎng)站的響應(yīng)速度和對(duì)高并發(fā)的支持度,盡量降低中小型B2C電商平臺(tái)對(duì)運(yùn)行硬件性能的需求,從而降低建站成本。為電商網(wǎng)站研究、實(shí)驗(yàn)、商用開(kāi)發(fā)提供一個(gè)新的設(shè)計(jì)思路。本文以SpringMVC-Spring-Mybatis框架為基礎(chǔ),結(jié)合內(nèi)存數(shù)據(jù)庫(kù)Redis和阿里OSS云存儲(chǔ)構(gòu)建核心架構(gòu),實(shí)現(xiàn)了一個(gè)性能優(yōu)良的中小型B2C電商平臺(tái)。本文首先介紹了系統(tǒng)所用的核心技術(shù)以及這些技術(shù)在性能上的優(yōu)勢(shì),其次闡述了系統(tǒng)功能需求和非功能需求,然后詳細(xì)論述了系統(tǒng)總體設(shè)計(jì)和系統(tǒng)詳細(xì)設(shè)計(jì)并給出了系統(tǒng)架構(gòu)實(shí)現(xiàn)的關(guān)鍵技術(shù)和核心代碼,最后對(duì)系統(tǒng)進(jìn)行測(cè)試。本系統(tǒng)的架構(gòu)特點(diǎn)是:利用Mybatis實(shí)現(xiàn)數(shù)據(jù)庫(kù)的靈活、快速訪問(wèn)。本文將頻繁訪問(wèn)的數(shù)據(jù)從數(shù)據(jù)庫(kù)中讀取并存放到Redis中,實(shí)現(xiàn)訪問(wèn)頻繁數(shù)據(jù)的快速讀取,將商品圖片存儲(chǔ)在阿里OSS云存儲(chǔ)中,以加快圖片加載速度同時(shí)降低本地服務(wù)器的壓力。通過(guò)這些技術(shù)的應(yīng)用以及結(jié)合一些其他的有效加快訪問(wèn)速度的實(shí)現(xiàn)方式使系統(tǒng)降低對(duì)硬件性能的依賴。對(duì)本系統(tǒng)和其他同類系統(tǒng)進(jìn)行壓力測(cè)試,對(duì)比測(cè)試數(shù)據(jù)后發(fā)現(xiàn)本系統(tǒng)的性能有明顯提升。這證明本系統(tǒng)架構(gòu)確實(shí)可以提高系統(tǒng)性能從而降低系統(tǒng)對(duì)硬件性能的依賴,節(jié)省建站成本。
[Abstract]:With the popularity of online shopping and the further development of e-commerce, small and medium-sized manufacturers expect to have their own e-commerce platform from the main marketing, to provide better services for consumers.But at present, the medium and small ecommerce websites require high hardware performance, and the cost of building the site is high, which greatly restricts the development of small and medium-sized B2C ecommerce.This paper hopes to improve the response speed and support degree of high concurrency from the system level by combining the current advanced development technology, so as to reduce the running hardware performance of the medium and small B2C ecommerce platform as far as possible, and thus reduce the cost of building the site.It provides a new design idea for e-commerce website research, experiment and commercial development.Based on the SpringMVC-Spring-Mybatis framework and combining the memory database Redis and Ali OSS cloud storage, this paper constructs a core architecture and implements a small and medium-sized B2C ecommerce platform with excellent performance.This paper first introduces the core technologies used in the system and their advantages in performance, and then describes the functional and non-functional requirements of the system.Then, the system overall design and system detailed design are discussed in detail, and the key technologies and core codes of the system architecture implementation are given. Finally, the system is tested.The architecture of this system is: using Mybatis to realize the flexible and fast access of database.In this paper, the frequently visited data is read and coexisted from the database and put into Redis to realize the fast reading of accessing frequent data, and store the commodity picture in Ali OSS cloud storage, in order to speed up the loading speed of the picture and reduce the pressure of the local server.Through the application of these technologies and some other effective ways to speed up access, the system can reduce its dependence on hardware performance.The performance of the system is obviously improved by comparing the test data with other similar systems.This proves that the system architecture can improve the system performance, reduce the system dependence on hardware performance, and save the construction cost.
【學(xué)位授予單位】:內(nèi)蒙古大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2017
【分類號(hào)】:TP311.52;TP393.092
【相似文獻(xiàn)】
相關(guān)碩士學(xué)位論文 前1條
1 郭浩;高性能中小型B2C電商平臺(tái)的設(shè)計(jì)與實(shí)現(xiàn)[D];內(nèi)蒙古大學(xué);2017年
,本文編號(hào):1705326
本文鏈接:http://sikaile.net/guanlilunwen/yingxiaoguanlilunwen/1705326.html
最近更新
教材專著