Thursday, October 22, 2020

Re: Process Data during server initialization

Could you run a cron job on the system to analyze the data periodically?

Sent from my iPhone

On Oct 22, 2020, at 1:30 PM, Lois Greene-Hernandez <loisgh@gmail.com> wrote:

Hello, 

I'm working on a data and calculation intensive django application.  It uses pandas and plotly.py to create many charts and graphs.  I have some control over the design of the application but not total control.  One decision that I stuck with is that all charts and graphs are preprocessed on the first page that loads.  If it were up to me, I'd process what is needed at the time but its not up to me.  

Since I need to load and process a lot of data prior to page load, I was wondering if it would be possible to do this during server start up.  I'd also need to pass a log of data from whatever startup process I ran to the django views.  

Any information that you could shed on this problem would be greatly appreciated. 

Thanks

Lois J. Greene-Hernandez 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5e34166f-ade9-4dec-bb9d-0a8d6392fdc8n%40googlegroups.com.

No comments:

Post a Comment