Hello!
I want to cache query results in a distributed cache (Redis), so I need to
serialize/deserialize fetched entities very fast.
However, it turned that SQLAlchemy entities are very heavy for pickle to
dump/load. Regular classes and dicts with the same structure takes
significantly less
loads.
On Friday, 11 October 2019 00:34:03 UTC+7, Mike Bayer wrote:
>
>
>
> On Thu, Oct 10, 2019, at 2:48 AM, Александр Егоров wrote:
>
> Hello!
>
> I want to cache query results in a distributed cache (Redis), so I need to
> serialize/deserialize fetched entities very