Ciao, Il giorno 4 ottobre 2017 11:28, Karim <lemieli...@gmail.com> ha scritto:
> Ciao lista, sto cercando di mantenere i risultati dei task avviati tramite > celery su un'applicazione Django. I risultati vengono salvati su redis, ma > quando faccio il deploy di una nuova app, tutto viene perso. > > Non conosco redis, ma a quanto ne so la sua natura è quella di non > mantenere i dati. > Redis ha un certo livello di persistenza come puoi vedere qui https://redis.io/topics/persistence Come puoi vedere dalla documentazione ci può essere un certo rischio di perdita di dati quindi devi vedere se per il tuo caso d'uso redis sia la scelta migliore o se sia il caso di optare per il buon vecchio postgres :) Francesco -- "Unix IS user friendly. It's just selective about who its friend are" "Nevertheless I still think it’s a bad idea to make things harder for ourselves if we can avoid it." "C is quirky, flawed, and an enormous success." -- Dennis Ritchie "Shipping is a feature. A really important feature. Your product must have it." "There is no such a thing as a temporary change or workaround: In most cases, workarounds are tech debt." "La gatta frettolosa ha fatto i gattini ciechi"
_______________________________________________ Python mailing list Python@lists.python.it https://lists.python.it/mailman/listinfo/python