How to load a pickle graph in django

161 views Asked by At

I have a 500 MB networkx graph pickle object. Celery workers need this graph on each HTTP request to do some computation in background. I want to upload this graph only once in the memory on django startup. How can I do it most efficiently?

0

There are 0 answers