You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How capable is Pywebio's built in server, started via start_server(), of handling multiple users concurrently? Context: the application is on a VPS with multiple cores. Would it need something like Gunicorn to start multiple instances of the app, one per user?
The following quote from the documentation seems to imply that Pywebio has its own built in WSGI server, which I interpret to mean, that it can handle multiple users as the WSGI would start multiple instances of the app - one for each user. "The wsgi_app() and asgi_app() is used to get the WSGI or ASGI app for running PyWebIO applications. This is helpful when you don’t want to start server with the Web framework built-in’s. For example, you want to use other WSGI server, or you are deploying app in a cloud environment. Note that only Flask, Django and FastApi backend support it."
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How capable is Pywebio's built in server, started via start_server(), of handling multiple users concurrently? Context: the application is on a VPS with multiple cores. Would it need something like Gunicorn to start multiple instances of the app, one per user?
The following quote from the documentation seems to imply that Pywebio has its own built in WSGI server, which I interpret to mean, that it can handle multiple users as the WSGI would start multiple instances of the app - one for each user. "The wsgi_app() and asgi_app() is used to get the WSGI or ASGI app for running PyWebIO applications. This is helpful when you don’t want to start server with the Web framework built-in’s. For example, you want to use other WSGI server, or you are deploying app in a cloud environment. Note that only Flask, Django and FastApi backend support it."
Beta Was this translation helpful? Give feedback.
All reactions