4 ms·
Our performance gains have primarily been in serialization, so response times are way better. It used to take multiple seconds for some things to serialize in D
by Bedon292 6y ago
Our performance gains have primarily been in serialization, so response times are way better. It used to take multiple seconds for some things to serialize in DRF, and down to sub seconds. Its like 4x faster in that regard.
Yeah, meant Pydantic Models, SQL Alchemy models, and the actual endpoints. Its a lot of repetition in places. But the finer grained controls have been good for us so far. You just have to write the models, and don't need to worry as much about input validation in your own code. Which has been great.
- rattray 6y agoThat makes a ton of sense - thank you! Yeah part of the magic of DRF is all the implicit stuff and the DRYness, but of course that can bite you anyway.