政大機構典藏-National Chengchi University Institutional Repository(NCCUR):Item 140.119/81242
English  |  正體中文  |  简体中文  |  Post-Print筆數 : 27 |  Items with full text/Total items : 109952/140901 (78%)
Visitors : 46063150      Online Users : 1080
RC Version 6.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
Scope Tips:
  • please add "double quotation mark" for query phrases to get precise results
  • please goto advance search for comprehansive author search
  • Adv. Search
    HomeLoginUploadHelpAboutAdminister Goto mobile version
    Please use this identifier to cite or link to this item: https://nccur.lib.nccu.edu.tw/handle/140.119/81242


    Title: 基於Zookeeper服務的對稱式高可靠度電子交易系統架構
    Symmetric and High-Available Electronic Trading System Base on Zookeeper
    Authors: 常澤民
    Chang, Tse-Min
    Contributors: 陳恭
    Chen, Kung
    常澤民
    Chang, Tse-Min
    Keywords: 可靠度
    可用度
    容錯
    Apache Zookeeper
    電子交易
    協調服務
    reliability
    availability
    fault-tolerant
    Apache Zookeeper
    electronic commerce
    coordination service
    Date: 2014
    Issue Date: 2016-02-03 12:24:43 (UTC+8)
    Abstract: 隨著電子商務的蓬勃發展,不論是使用者或是服務提供者,對於系統的可靠度(reliability),越來越為重視,從『能提供服務就好』,到要能提供『不間斷的服務』。這中間的轉變,推動了目前許多系統架構或產品運用在電子商務的領域。小從磁碟陣列(RAID)、資料庫鏡像(Database Mirror)、叢集(Cluster)架構,異地備援(Disaster Recovery Site),大到企業永續運作計畫(Business Continuity Planning-BCP)的一環,都在尋求一個高可靠度的電子交易系統。
    所謂高可靠度的系統,必須能夠在相對長的時間週期內,系統可以持續運作而不中斷,這個概念,同時也意味著系統異常時的恢復能力,以及容錯的機制。換句話說,就是當系統面臨異常或是災害發生時,如何能在最短的時間內恢復系統的正常運作,繼續提供使用者相同的服務。因此提高系統的可靠度,對使用者的具體意義而言,即是提高其服務的可用度(availability)。
    本論文的研究,即運用Apache下自由軟體Zookeeper所提供的協調服務,設計一套透過傳播監控(propagation monitor)來達到容錯機制的對稱式多主機架構,使得系統即使在面對異常狀況發生時,仍能迅速恢復系統應有的功能,提供使用者不間斷的服務。並且利用免費的資料庫管理軟體-MariaDB來儲存及操作資料,以低廉的成本,建置具高可靠度的電子交易系統。
    Due to the blooming development of electronic commerce (E-Commerce) , both users and service providers put more and more emphasis on system reliability. Thus uninterrupted service has become the basic requirement of E-Commerce systems, which now have all adopted some highly avaialable system architectures and advanced products such as Redundant Array of Independent Disks (RAID), Database Mirror, Cluster architecture, Disaster Recovery Site(DR Site). Many E-Commerce vendors also prepare Business Continuity Planning(BCP) for a highly reliable electronic trading system.
    The so-called high reliability systems must continue to operate without interruption in a relatively long period of time, and this concept also means the requirements of abnormal system resilience and the mechanism of fault tolerance. In other words, when the system is confronted with abnormal situations or disaster occurs, it is critical about how to restore the normal functioning of the system to continue to provide users with the same level of services in the shortest possible time, thereby increasing the reliability of the system in terms of the user`s specific meaning, that is, to improve its service availability.
    This thesis applies the coordination service provided by Zookeeper to develop a propagation monitor mechanism and a symmetrical multi-host fault-tolerant system architecture, making the system work even in the face of an abnormal situation. Indeed, the system should be able to quickly restore its functions, providing users uninterrupted service. Besides, we use the free database management software-MariaDB to store and operate the system data. Therefore, we are able to build a low-cost yet highly available electronic trading system.
    Reference: 【1】岱凱技術通報,可靠度網路解決方案-HA Network,檢自
    http://www.dimensiondata.com/zh-
    TW/Downloadable%20Documents/No_007_高彈性效能網管解決
    方案.pdf

    【2】Swanky,Operation System study guide,Retrived
    Auguest,6,2014,from:
    http://www.csie.ntnu.edu.tw/~swanky/os/
    chap1.htm#DistributedSystem

    【3】Wikipedia,Symmetric multiprocessing,Retrived
    May,9,2014 from:http://en.wikipedia.org/wiki/
    Symmetric_multiprocessing

    【4】Andrew S. Tanenbaum(1993)。作業系統(吳宗穎 譯)。台北:
    松崗。(原著初版出版於1993年)

    【5】Chris Staff, Introduction to distributed operation
    system lecture 17: Introduction to distributed
    operation system,Retrieved May,10,2014,from:
    http://staff.um.edu.mt/csta1/courses/lectures/
    csm202/os17.html

    【6】Joe Armstrong(2008)。Erlang程式設計(蔡學鏞 譯)。台北:
    碁峰資訊。(原著初版出版於2007年)

    【7】ZooKeeper Administrator`s Guide,Retrieved
    March,16,2014,from
    https://zookeeper.apache.org/doc/trunk/
    zookeeperAdmin.pdf

    【8】Kazi Farooqui,Luigi Logrippo,Jan de Meer. 1995. The
    ISO reference model for open distributed
    processing:an introduction. Computer Networks and
    ISDN Systems - Special issue on ISO reference model
    for open distributed processing.27(8): 1215-1229.

    【9】ZooKeeper:A Distributed Coordination Service for
    Distributed Applications,Retrived March,13,2014,
    from:https://zookeeper.apache.org/doc/trunk/
    zookeeperOver.html

    【10】Flavio Junqueira,Benjamin Reed,(2013). Zookeeper-
    Distributed process coordination,Sebastopol,CA:
    O`Reilly Media.

    【11】ZooKeeper Programmer`s Guide,Retrieved
    March,20,2014,from
    https://zookeeper.apache.org/doc/trunk/
    zookeeperProgrammers.pdf

    【12】ZooKeeper Recipes and Solutions,Retrieved
    April,10,2014,from
    https://zookeeper.apache.org/doc/trunk/recipes.pdf

    【13】Leader Election with Zookeeper,Retrieved
    April,20,2014,from
    http://techblog.outbrain.com/2011/07/leader-
    election-with-zookeeper/

    【14】MariaDB,Retrieved Junary,10,2014,from
    https://zh.wikipedia.org/wiki/MariaDB

    【15】HeidiSQL,Retrieved Junary,10,2014,from
    https://mariadb.com/kb/en/mariadb/heidisql/

    【16】Endianness, Retrieved Junary,10,2014,from
    https://en.wikipedia.org/wiki/Endianness

    【17】Linux Inter-Process Communication,Retrieved
    March,20,2014,from
    http://www.comptechdoc.org/os/linux/programming/
    linux_pgcomm.html

    【18】The Linux Programmer`s Guide,Retrieved
    March,20,2014,from
    http://www.tldp.org/LDP/lpg/node16.html#
    SECTION00731000000000000000

    【19】六標準差,檢自:http://www.mantraco.com.tw/education/
    education073.htm
    Description: 碩士
    國立政治大學
    資訊科學系碩士在職專班
    97971020
    Source URI: http://thesis.lib.nccu.edu.tw/record/#G0097971020
    Data Type: thesis
    Appears in Collections:[Executive Master Program of Computer Science of NCCU] Theses

    Files in This Item:

    File SizeFormat
    102001.pdf1553KbAdobe PDF2648View/Open


    All items in 政大典藏 are protected by copyright, with all rights reserved.


    社群 sharing

    著作權政策宣告 Copyright Announcement
    1.本網站之數位內容為國立政治大學所收錄之機構典藏,無償提供學術研究與公眾教育等公益性使用,惟仍請適度,合理使用本網站之內容,以尊重著作權人之權益。商業上之利用,則請先取得著作權人之授權。
    The digital content of this website is part of National Chengchi University Institutional Repository. It provides free access to academic research and public education for non-commercial use. Please utilize it in a proper and reasonable manner and respect the rights of copyright owners. For commercial use, please obtain authorization from the copyright owner in advance.

    2.本網站之製作,已盡力防止侵害著作權人之權益,如仍發現本網站之數位內容有侵害著作權人權益情事者,請權利人通知本網站維護人員(nccur@nccu.edu.tw),維護人員將立即採取移除該數位著作等補救措施。
    NCCU Institutional Repository is made to protect the interests of copyright owners. If you believe that any material on the website infringes copyright, please contact our staff(nccur@nccu.edu.tw). We will remove the work from the repository and investigate your claim.
    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library IR team Copyright ©   - Feedback