[FR] FastAPI Implementation for all services
Is your feature request related to a problem? Please describe.
The current web server implementation for presidio-anonymizer is based on Flask. Flask operates synchronously by default and may not be the optimal choice for high-performance. We require an implementation that leverages a modern, asynchronous framework to improve performance and scalability.
Describe the solution you'd like
We request an official implementation of the presidio-anonymizer using FastAPI. This would provide a high-performance alternative that supports asynchronous request handling, which is crucial for building scalable microservices.
Additional context Providing a FastAPI-based implementation would modernize the Presidio project, making it more attractive for deployment in high-throughput environments.
Hi @kimminw00, this is something we were thinking of, as well as binding pydantic to REST API requests and responses. And not just for presidio-anonymizer but for all services. Would you be interested in issuing a PR or a draft?
I'd be happy to open a PR for this. I can work on it over the weekends and will start with a draft. 🚀