Skip to content

THU-ATOM/AIRFold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices Demo

A microservices demo built with Celery and FastAPI.

Features:

  • launch all with one docker-compose up
  • services run in isolated docker container
  • submit tasks with RESTful API (FastAPI)
  • separated task queues
  • concurrence control
  • tasks monitor

Quick Start

Launch the demo:

docker-compose up

Check the page:

Note: please change IP address and ports accordingly, they are specified in docker-compose.yaml

Try the demo:

  • Request add or multiply services in the FastAPI page and see the interaction process from the log (terminal window of launching docker-compose).
  • Request check api with task_id to see the status and the result of the request.
  • Check the monitor page to see all submitted tasks.