Re: linux persistent c application with http protocol?



On Sat, 28 Jan 2006 06:54:31 -0800, Francesco wrote:

>> Conclusion: Apache+mod_php can do the job without breaking a sweat.
>
> ok, the problem is that the program will not be as simple as i've told
> you..

That is, indeed, a problem!

> actually i think that apache module with the array saved in a file in a
> ramdisk is the fastest solution

HTTP is not a complex protocol and there are GPL libraries to help you so
another option would be to write a stand-alone program that handles the
requests. There may be, of course, reasons why the solution must be
embedded in a full HTTP server. As you say, we don't have the full
picture here.

--
Ben.

.



Relevant Pages

  • Re: HELP: HTTP original server jobs multiplying like rabbits
    ... The websites will slow down to a crawl, and I'll look and see 10 to 50+ jobs, all spawned by the http server. ... Why does an HTTP job spawn another job? ... the HTTP server needs more jobs to handle the requests and spawns these infernal jobs. ...
    (comp.sys.ibm.as400.misc)
  • Re: http requests doest work - virus?
    ... > either the http server is not responding, or the request is not sent. ... Just http requests are not working. ... ResQ and Data Recovery Utilities ...
    (microsoft.public.security.virus)
  • Http requests and character transfer
    ... we are building a fairly complex system here in work, ... One part of our system is a custom, multithreaded http server that sits ... One of the arguments of these requests may have Greek characters within ...
    (microsoft.public.dotnet.languages.csharp)
  • Http Request and characters...
    ... i have made a simple http server application that takes requests from ... The problem is that if i pass Greek characters on it, for example, ÁÂÃÄ, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: process choking
    ... S> I have a small http server and I use the HttpListner to listen for http ... S> of incomming requests my process is basiclly choking. ... Also under heavy load server response times will increase, ...
    (microsoft.public.dotnet.framework.performance)