Skip to content

xlab-uiuc/train-ticket

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Train Ticket - A Benchmark Microservice System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 54.5%
  • JavaScript 24.1%
  • HTML 17.9%
  • CSS 1.4%
  • Shell 0.9%
  • Python 0.6%
  • Other 0.6%