Re:FastAPI framework, high perf, easy to learn, fast to code...
by m_ke on Monday February 01, 2021 @09:04PM
(#25996685)
Yes and it's made worse by the fact that there's no way to get the raw body of the request in a synchronous endpoint.
I also ran into some really bad validation / serialization performance degradations for large response bodies. Serializing responses with a few 100 small objects or neural network embeddings would take a function that takes 7ms and blow it up to 100-200ms.
I also ran into some really bad validation / serialization performance degradations for large response bodies. Serializing responses with a few 100 small objects or neural network embeddings would take a function that takes 7ms and blow it up to 100-200ms.