Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.72 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.72 KB

Train Ticket:A Benchmark Microservice System

The project is a train ticket booking system based on microservice architecture which contains 41 microservices. The programming languages and frameworks it used are as below.

  • Java - Spring Boot, Spring Cloud
  • Node.js - Express
  • Python - Django
  • Go - Webgo
  • DB - Mongo、MySQL

You can get more details at Wiki Pages.

Service Architecture Graph

architecture

Quick Start

We provide k8s deployment to quickly deploy our application: Using Kubernetes.

Using Kubernetes

Here is the steps to deploy the Train Ticket onto any existing Kubernetes cluster.

Prerequisites

1. Clone the Repository

git clone --depth=1 https://github.com/FudanSELab/train-ticket.git 
cd train-ticket/

2. Setup LocalPV with openebs

kubectl apply -f https://openebs.github.io/charts/openebs-operator.yaml
kubectl patch storageclass openebs-hostpath -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'

3. Install the Helm chart

For Quick Start

helm install train-ticket . --namespace train-ticket --create-namespace

Cleanup

To remove the deployment:

helm uninstall train-ticket -n train-ticket
kubectl delete namespace train-ticket

If you need to make changes to the service code, consult the original README.