Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Gunicorn deploy issue

$
0
0

Hi,

My Dash application show users the data in a SQL database and support pagination.

And I deployed it using gunicorn.

If I use 1 worker, it works. But if there are more than 1 workers, the pagination function does not work anymore.

The reason is that when I clicked the “Next page”, the worker to process the request may differ from the worker that process the previous request.

BTW, I tried both sync and async(gevent) workers in guncorn.

I thought this should be popular use case, but I can not find a good solution.

Please give suggestions how to deal with the issue, thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles