0

I am making a service, that takes analytical data and counts correlation between this data and database data.

Because of the fact that there is a lot of correlations to build (could be up to 10 hours computations), I want to make sure that process has begun and to send a response with something like a loading bar.

So any time the request is sent, the response should contain information on how much is computed.

Could Flask provide this solution?

Graygood
  • 363
  • 1
  • 3
  • 18

1 Answers1

0

While normally I'd refrain from answering such a broad question. I was actually curious about this myself. I've collected a couple of resources below which you should find helpful.

Another similar question

An example of how to visually complies this in html + flask

Now, that said. In the future I would suggest you avoid asking broad sweeping questions like "is xyz possible." This is because normally the answer is "yes, but it's hard", or "yes, but don't". There is a great stack overflow page about how to ask effective questions in order to get the most helpful answers. I suggest reading it and understanding the basic principle behind it.

Taylor Cochran
  • 439
  • 4
  • 16