Blockland Forums > Modification Help
TCPObject GET requests
<< < (8/10) > >>
Destiny/Zack0Wack0:

--- Quote from: DontCare4Free on March 17, 2012, 05:33:56 AM ---I've never had any problems with it.

--- End quote ---
It's a decent server, the issue is it has too many processes (it has a threaded model) which use up too much RAM. Nginx uses an evented model allowing it to have a few processes to do the exact same as apache with less RAM, faster and more light-weight (and can serve proxy requests allowing you to write sites faster than PHP CGI in things like python and node). G-WAN goes even further and is a lot more faster than both, but has scripts in native code and a bad proxying system. This is too off-topic now though.
DontCare4Free:

--- Quote from: Destiny/Zack0Wack0 on March 17, 2012, 07:00:36 AM ---It's a decent server, the issue is it has too many processes (it has a threaded model) which use up too much RAM. Nginx uses an evented model allowing it to have a few processes to do the exact same as apache with less RAM, faster and more light-weight (and can serve proxy requests allowing you to write sites faster than PHP CGI in things like python and node). G-WAN goes even further and is a lot more faster than both, but has scripts in native code and a bad proxying system. This is too off-topic now though.

--- End quote ---
Apache can act as a reverse proxy too. But I guess you have a point regarding the multithreading. Anyway, running Python as CGI is silly, that's what WSGI is for.
Ephialtes:
I'm so glad people are able to help someone with an issue without getting their richards and rulers out. Oh wait.
Destiny/Zack0Wack0:

--- Quote from: DontCare4Free on March 17, 2012, 07:02:17 AM ---Apache can act as a reverse proxy too. But I guess you have a point regarding the multithreading. Anyway, running Python as CGI is silly, that's what WSGI is for.

--- End quote ---
It's not per request CGI, you reverse proxy to a powerful python server and then serve only static files with nginx.

--- Quote from: Ephialtes on March 17, 2012, 07:23:51 AM ---I'm so glad people are able to help someone with an issue without getting their richards and rulers out. Oh wait.

--- End quote ---
We're chitchatting about relevant stuff until he can post the latest code updates he's made. I don't see how that has anything to do with our egos. This is a peculiar issue, it's not obvious at all what's going wrong, so we can't really do anything until he posts his new binary buffer code.
DontCare4Free:

--- Quote from: Destiny/Zack0Wack0 on March 17, 2012, 08:28:29 PM ---It's not per request CGI, you reverse proxy to a powerful python server and then serve only static files with nginx.

--- End quote ---
You just defined a reverse proxy. CGI is always per-request (not to be confused with FastCGI which recycles the processes).
Navigation
Message Index
Next page
Previous page

Go to full version