├── .cache.env ├── .gitignore ├── Makefile ├── README.md ├── media ├── with_caching_first_request.gif ├── with_caching_second_request.gif └── without_caching.gif ├── poetry.lock ├── pyproject.toml ├── redis.yml ├── src ├── __init__.py ├── api.py ├── cache.py ├── client.py └── predictor.py └── tests └── __init__.py /.cache.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/.cache.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/README.md -------------------------------------------------------------------------------- /media/with_caching_first_request.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/media/with_caching_first_request.gif -------------------------------------------------------------------------------- /media/with_caching_second_request.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/media/with_caching_second_request.gif -------------------------------------------------------------------------------- /media/without_caching.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/media/without_caching.gif -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/pyproject.toml -------------------------------------------------------------------------------- /redis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/redis.yml -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/src/api.py -------------------------------------------------------------------------------- /src/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/src/cache.py -------------------------------------------------------------------------------- /src/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/src/client.py -------------------------------------------------------------------------------- /src/predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Paulescu/ml-rest-api-caching/HEAD/src/predictor.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------