- Python 3.11 or higher
- Rust 1.79 or higher
- Docker
cd ingestion
poetry install
cd pure-python-mongo
poetry install
cd python-rust-mongo/metrics-aggregator
maturin develop
cd ../metrics-ingestion
poetry install
From the root directory, run the following command:
./startup.sh
then go to ingestion directory and run the following command:
./startup.sh
From the pure-python-mongo directory, run the following command:
./startup.sh
From the python-rust-mongo directory, run the following command:
./startup.sh
curl --location 'localhost:9090/aggregations?account=account1&aggregation_window=hour'
curl --location 'localhost:8080/aggregations?account=account1&aggregation_window=hour'