| Re: any try this forth webserver? the code looks incomprehensible to me http://www.jwdt.com/~paysan/httpd-en.html |
|
 |
|
 |
|
 |
|
 |
Group: comp.lang.forth · Group Profile
Author: gavinogavino Date: Aug 21, 2008 12:35
On Aug 19, 12:48 am, Bernd Paysan wrote:
> gavino wrote:
>> 10,000 YEAH BABY! but in its defense php was talking to db etc with
>> each apache child....this 10k would be static right?
>
> The 10k are static. So when you talk to a database, you have to count how
> much memory the db takes per client, and what percentage of time the web
> serves would be talking to the db. You probably could write the performance
> critical parts of the db as a small Forth program, to reduce that load.
> Also, the dynamic content part is yet not optimized to keep the connection
> alive, this costs more Gforth starts.
>
> --
> Bernd Paysan
> "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
once I finish starting forth and thinking forth should I know enough
to read the code of your webserver.....or are there things I need to
learn elsewhere to do that?
|