On Mon, 2020-08-17 at 10:30 +0200, Jure Erznožnik wrote:
> While at it, I have seen that various backends now implement
>           their own pickling. With the exception of memcached, they
> all
>           implement the same thing. Perhaps it would be beneficial to
>           move pickling functionality to BaseCache?
> 
>         
>       
>       

I've noticed in my applications when I've used django cache in
performance sensitive hot paths, often it shifts he slowest portion
from the databases (or whatever I'm caching) to the unpickler. 

This makes me wonder if there is a argument to abstract the pickling,
so that application can do something special in their uses case.


-- 
Roger Gammans <rgamm...@gammascience.co.uk>
Gamma Science Ltd. (GB Nr. 07356014 )

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/e619056268f40c4d909daf5cddf47885a8cc6cdf.camel%40gammascience.co.uk.

Reply via email to