- Detach the spamhammer from the post routine so that it doesn`t hold up any incomng requests. For now this is the main performance bottleneck.
- [ ]
SpamOverflow is a Flask-based API designed to handle incoming requests and process them efficiently. It includes functionalities such as spam detection using the SpamHammer library.
- Spam detection: Detects and filters out spam messages using the SpamHammer library.
- Efficient request handling: Designed for fast response times and scalability.
For local testing and development, use docker-compose.yaml
and Dockerfile.dev
:
docker-compose up
Dockerfile.deploy
is used for cloud deployment and this is referenced in main.tf
when building the docker image.
terraform apply
cat api.txt
docker run --rm --net='host' -e TEST_HOST='http://your-api-adress' spamoverflow-tests-local:latest