政大機構典藏-National Chengchi University Institutional Repository(NCCUR):Item 140.119/146899
English  |  正體中文  |  简体中文  |  Post-Print筆數 : 27 |  全文笔数/总笔数 : 113160/144130 (79%)
造访人次 : 50753650      在线人数 : 779
RC Version 6.0 © Powered By DSPACE, MIT. Enhanced by NTU Library IR team.
搜寻范围 查询小技巧:
  • 您可在西文检索词汇前后加上"双引号",以获取较精准的检索结果
  • 若欲以作者姓名搜寻,建议至进阶搜寻限定作者字段,可获得较完整数据
  • 进阶搜寻
    政大機構典藏 > 商學院 > 資訊管理學系 > 學位論文 >  Item 140.119/146899


    请使用永久网址来引用或连结此文件: https://nccur.lib.nccu.edu.tw/handle/140.119/146899


    题名: 分散式系統Kafka的延展性研究:以支付應用為例
    An empirical study on the scalability of Kafka in a scenario of online payments
    作者: 江品萱
    Chiang, Pin-Hsuan
    贡献者: 陳恭
    郭桐惟

    Chen, Kung
    Kuo, Tung-Wei

    江品萱
    Chiang, Pin-Hsuan
    关键词: 分散式系統
    系統延展性
    支付清算
    帳務驗證
    Kafka
    Distributed system
    System scalability
    Online payments
    Account verification
    日期: 2023
    上传时间: 2023-09-01 14:56:05 (UTC+8)
    摘要: 近年來,科技的發展使得金融支付越來越方便,在金流快速流通的現代社會中,銀行每日接收許多轉帳、匯款等多樣的交易需求,交易量龐大且複雜,一但發生系統主機設備故障即有可能造成交易無法即時進行。在過去,銀行仰賴集中式主機系統來處理交易清算,然而集中式主機容易發生系統癱瘓、安全風險、量能極限等問題,且擴展成本及維護成本大,在設備及人力上皆須負擔相對較高的費用。本研究以分散式系統Kafka為基礎,欲探討在金融應用場景中,透過分散式系統的延展性特性和可靠性,是否適合應用於銀行的交易清算場景中。分散式系統的應用能否能因應交易量增加,而設計出一具可擴展性、容錯性且保持系統效能良好的帳務驗證系統,解決以往集中式主機面臨的問題。研究結果顯示透過Kafka的延展性特性可以使系統突破單一節點在交易量增加時可承受之極限,並經由兩階段帳務驗證方式確保銀行餘額的正確性和批次處理多筆小額交易達到效率提升。此外,透過Kafka機制確保所有進入系統的交易都能完整處理,有效防止因系統異常而導致的交易資料處理不完整,進而引發銀行餘額錯誤的情況發生。同時,透過分散式系統的備援機制,在故障發生時快速處理異常,保證交易處理即時性。總結而言,透過運用Kafka系統的延展性及備援機制,實作系統不僅能應對交易量的增加,更能夠確保銀行清算餘額的正確性、完整性以及即時性,解決了過去集中式系統可能碰到的問題,且維持系統的運作效率。
    In recent years, the advancement of technology has made financial payments increasingly convenient. In the fast-paced modern society where money flows rapidly, banks receive numerous transaction requests daily, including transfers and remittances. The transaction volume is enormous and complex. However, any system failure can potentially cause delays in processing transactions and result in substantial costs.
    This study is based on the distributed system Kafka and aims to explore the application of distributed systems in the financial domain. In my research, I investigate whether the increasing transaction volume can be handled by designing a scalable, fault-tolerant, and high-performance account verification system based on Kafka. The goal is to address the challenges faced by centralized systems in the past.
    The result of the designed system demonstrates that the scalability of Kafka enables the system to surpass the limits of processing and increased transaction volume. By designing a two-phase account verification and batch processing approach, the accuracy of bank balances is ensured and system efficiency is increased. Additionally, the Kafka mechanism guarantees the complete processing of all transactions, avoiding discrepancies in bank balances due to system anomalies. It also provides fast backup and handling of abnormal situations, ensuring real-time transaction processing in the event of failures.
    參考文獻: Gururajapathy, S. S., Mokhlis, H., & Illias, H. A. (2017). Fault location and detection techniques in power distribution systems with distributed generation: A review. Renewable and Sustainable Energy Reviews, 74, 949–958.
    Kersting, W. H. (2017). Distribution system modeling and analysis. CRC press.
    Kumar, M., & Singh, C. (2017). Building Data Streaming Applications with Apache Kafka. Packt Publishing Ltd.
    Narkhede, N., Shapira, G., & Palino, T. (2017). Kafka: the definitive guide: real-time data and stream processing at scale. “ O’Reilly Media, Inc.”
    Shapira, G., Palino, T., Sivaram, R., & Petty, K. (2021). Kafka: the definitive guide. “ O’Reilly Media, Inc.”
    Shree, R., Choudhury, T., Gupta, S. C., & Kumar, P. (2017). KAFKA: The modern platform for data management and analysis in big data domain. 2017 2nd International Conference on Telecommunication and Networks (TEL-NET), 1–5.
    Vohra, D., & Vohra, D. (2016). Apache kafka. Practical Hadoop Ecosystem: A Definitive Guide to Hadoop-Related Frameworks and Tools, 339–347.
    Wang, G., Chen, L., Dikshit, A., Gustafson, J., Chen, B., Sax, M. J., Roesler, J., Blee-Goldman, S., Cadonna, B., & Mehta, A. (2021). Consistency and completeness: Rethinking distributed stream processing in apache kafka. Proceedings of the 2021 International Conference on Management of Data, 2602–2613.
    Wu, H. (2019). Research proposal: Reliability evaluation of the apache kafka streaming system. 2019 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW), 112–113.
    Wu, H., Shang, Z., & Wolter, K. (2019). Performance prediction for the apache kafka messaging system. 2019 IEEE 21st International Conference on High Performance Computing and Communications; IEEE 17th International Conference on Smart City; IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), 154–161.
    描述: 碩士
    國立政治大學
    資訊管理學系
    111356023
    資料來源: http://thesis.lib.nccu.edu.tw/record/#G0111356023
    数据类型: thesis
    显示于类别:[資訊管理學系] 學位論文

    文件中的档案:

    档案 描述 大小格式浏览次数
    602301.pdf1975KbAdobe PDF20检视/开启


    在政大典藏中所有的数据项都受到原著作权保护.


    社群 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 ©   - 回馈