Our great sponsors
-
msgspec
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Anecdotally, FastAPI seems to be prone to weird unexplained errors like OOM. In fact, there's an issue that's been open for 2 years about an OOM issue.
Regarding serialisation, take a look at msgspec. It doesn’t support all the features of marshmallow out of the box, but if you can make its Structs work for you, it can be orders of magnitude faster.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- pyserde: Serialization library on top of dataclasses, inspired by serde-rs
- Need help developing a high performance Redis ORM for Python
- Pyserde: Serialization library on top of dataclasses, inspired by serde-rs
- Blog post: Writing Python like it’s Rust
- Show HN: Msgspec, a fast serialization/validation library for Python