Skip to content

drednout/inventory_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

inventory_service

A small service for comparing performance of different Python versions and for performance meetup demo.

Local development in Docker

For running local version of inventory_service you may install Docker Engine(or Docker Desktop) https://docs.docker.com/engine/

After that, just run following command

$ sudo docker compose up --build

And then visit in your browser swagger docs:

https://localhost:8080/swagger/

Monitoring & performance tests

You can run a simple Locust performance test against inventory_service using Locust web UI:

https://localhost:8089/

All infrastructure components are monitoring through Prometheus, you can inspect all the metrics using default Prometheus UI:

https://localhost:9090/graph

Or you can add your own dashboard in Grafana(or import existing from src/perf_tests/grafana/)

https://localhost:3000/

Login credentials to grafana you may found in docker-compose.yml.

About

A small service for demonstrating Python 3.12 features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published