Font Size: a A A

Design And Implementation Of A Financial After-loan System Based On Microservices

Posted on:2020-02-23Degree:MasterType:Thesis
Country:ChinaCandidate:X HeFull Text:PDF
GTID:2428330590973252Subject:Software engineering
Abstract/Summary:PDF Full Text Request
This project uses the micro-service architecture to design and implement a financial after-loan system for used car transactions.The purpose is to systematically restructure and streamline the post-lending process and improve work efficiency.Introduce API gateways in the project to improve system fault tolerance and security,use gRPC as a protocol for service communication,ETCD as a service registration center and distributed system configuration center,join authentication,burying points,permissions and other functions to ensure system security,use Kafka message queue to implement event-driven for upstream and downstream services,and use the delay queue to join the system's retry mechanism and the delayed consumption of messages.The financial after-loan system mainly includes four sub-modules: archive review,archive registration,collection and transportation.This paper first elaborates on the basic concepts of related theoretical micro-services,the core components of micro-services and gRPC.Then research the selection of micro-service architecture,compare the advantages and disadvantages of mainstream RPC framework,service registration center,API gateway and message queue,and choose the micro-service framework of the project.The gRPC package is encapsulated and redeveloped,and the gRPC gateway and the gRPC proxy are added in the Sidecar mode to separate the application service itself from the auxiliary service,and the HTTP request is converted to the gRPC request processing.Finally,each sub-module was designed and implemented.The project also made a sub-library table for the original database to support data separation between services.Since Kafka did not support delayed consumption,a delay queue was designed to support messages.Delayed consumption and error retry mechanisms for services.The actual use of the project shows that the micro-service-based after-loan system runs fast,the system design and implementation scheme are in line with expectations,and it is low-coupling,plug-in,and easier to expand,which has good practical significance.
Keywords/Search Tags:Financial After-loan, Microservice, gRPC, Message Queue, API Gateway, Delay Queue
PDF Full Text Request
Related items