httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olaf van der Spek <>
Subject Re: [users@httpd] Connecting C++ server with Apache: AJP?
Date Mon, 31 Oct 2005 15:02:55 GMT
On 10/31/05, Nick Kew <> wrote:
> On Monday 31 October 2005 13:58, Olaf van der Spek wrote:
> > Hi,
> >
> > What is the (best) way to connect a C++ server with Apache?
> What's the language got to do with it?

Not much, but if it was PHP, mod_php would be an alternative.

> Use whatever protocol your
> backend supports.

I don't have an existing backend.
In fact, I've got nothing at all yet for this project.

> > AJP looks usable, but I'm not sure if it's the right way.
> Apache's proxy framework is one option.  DBD is another.

The proxy framework would require my backend to export an HTTP interface?
Is DBD the Database-independent framework with driver?
How would that be useful for this?

> > CGI is no option for performance reasons.
> Have you benchmarked it?  Most backends (eg anything using servlets)
> impose a far bigger overhead than CGI.

No, but I'd like my application server to be persistent in order to
use smart caching.
And it should scale to 100 - 1000 requests/s.

> > There is no open source FastCGI implementation available (it seems).
> Really?

I guess I didn't look good enough. But that's not part of the standard
Apache distribution is it?
View raw message