web2py with rocket server + nginx ?

40 views
Skip to first unread message

Christian Varas

unread,
Feb 16, 2023, 10:26:40 AM2/16/23
to web2py-usuarios, Annet' via web2py-users
Hello!

I'm wondering if it is a good idea to use web2py with rocket server in combination with nginx as a reverse proxy like in py4web. 
I need to run py4web and web2py on the same server and using nginx without uwsgi for web2py would be easier for me.


Cheers.
Chris.

Dave S

unread,
Feb 16, 2023, 3:02:40 PM2/16/23
to web2py-users
Well, subject to the fine print, that should be okay, as I'm doing the similar thing with caddy (but not as a production server, so I haven't done any load testing).  In your testing,  I recommend trying large transfers (if your application ever would do that), and memory loads.

I do have a situation where I try to send (server to client) too large a file using chunks, and at some point the client sends a close before rocket expects it (still chunks to go).  I'm running this on windows, and Rocket pops up a window complaining that it tried to send a 500 response but the connection is invalid ... and after a few of these, Rocket runs out of handles and things go on hold until I dismiss the popups.

/dps

Reply all
Reply to author
Forward
0 new messages