From: Michael Alexander Hamburg <hamburg@fas.harvard.edu>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: Alex Baretta <alex@barettadeit.com>,
Robert Roessler <roessler@rftp.com>,
Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] CamlGI question
Date: Mon, 18 Apr 2005 12:04:23 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0504181202330.2626@ls01.fas.harvard.edu> (raw)
In-Reply-To: <1113834691.6248.42.camel@localhost.localdomain>
Given then that my application should be multithreaded, and will be
running on a webserver using Rails (which traditionally uses FastCGI),
which of these libraries do you suggest that I use? Http, Netcgi_afp or
Netcgi_fcgi? Or are they interoperable enough that it doesn't matter?
Thanks a lot,
Mike
On Mon, 18 Apr 2005, Gerd Stolpmann wrote:
> Am Montag, den 18.04.2005, 15:49 +0200 schrieb Alex Baretta:
> > Robert Roessler wrote:
> > > I am not able to shed any light on the CamlGI question... OTOH, the
> > > announcement from Gerd Stolpmann a few days ago regarding Ocamlnet 1.0
> > > may be of interest, given that it includes "a mature implementation of
> > > the CGI protocol" and "an implementation of the FastCGI protocol".
> >
> > It is worth noting that Baretta DE&IT has commissioned a full
> > implementation of the HTTP/1.1 protocol from Gerd. The HTTP library will
> > be based on Ocamlnet and will export more or less the same API as the
> > Netcgi module. We chose this approach rather than FastCGI because the
> > FastCGI project seems dead and did not look like a viable solution for
> > our Xcaml application server.
> >
> > Xcaml aims at being a Apache+Tomcat+JSP+Servlet replacement. The Xcaml
> > virtual machine and API are already complete, but the performance which
> > they achieve in conjunction with Apache is mediocre. Gerd's new HTTP
> > connector Ocamlnet will give us top notch performance while without
> > sacrificing the safety guarantees of the Ocaml language and VM.
>
> Let me also add a few words about this project. What we are going to
> implement here is nothing else but a web server written in O'Caml, or
> better a web server component that can be integrated into the
> application it is serving. Of course, this web server will have
> "industry quality", especially regarding stability and performance. The
> HTTP kernel is already written, and implements event-driven message
> exchange for HTTP/1.0 and 1.1 in only 1200 lines of code.
>
> Another part of the web server is called the "reactor". It provides a
> Netcgi-compatible interface into which existing applications using
> Netcgi can be simply plugged in. That means it will be quite easy to add
> the web server component to existing CGI applications. The reactor
> processes one HTTP request after the other, and can call an arbitrary
> content generator for every request. To achieve parallelism, it is
> planned to integrate the reactor into a multi-threaded setup.
>
> I am also figuring out a purely event-based implementation (using only
> Unix.select) in the hope that the simplification of scheduling will give
> us a performance boost. This setup will be a lot more complicated, and
> when carefully combined with multi-threading or -processing it will also
> be possible to plug in existing Netcgi-based application in addition to
> purely event-based content generators, i.e. the best of all worlds.
>
> As you can see, some aspects of the web server design follow
> conservative ideas (like the reactor), and some are very experimental. I
> hope this results in a top-performing server that can be configured in
> very flexible ways.
>
> Gerd
>
> > The new library will be released to the community by Baretta DE&IT and
> > Gerd Stolpmann jointly under the terms of the GPL. When the integration
> > with the Xcaml server will be done, the full Application System/Xcaml
> > will be released under the terms of the GPL.
>
> > Alex
> >
> --
> ------------------------------------------------------------
> Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
> gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de
> ------------------------------------------------------------
>
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
next prev parent reply other threads:[~2005-04-18 16:04 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-18 6:15 Mike Hamburg
2005-04-18 7:29 ` [Caml-list] " Robert Roessler
2005-04-18 13:49 ` Alex Baretta
2005-04-18 14:31 ` Gerd Stolpmann
2005-04-18 16:04 ` Michael Alexander Hamburg [this message]
2005-04-18 16:28 ` Alex Baretta
2005-04-19 3:23 ` Mike Hamburg
2005-04-19 3:26 ` [Caml-list] CamlGI question [doh] Mike Hamburg
2005-04-19 9:18 ` Gerd Stolpmann
2005-04-19 15:28 ` Mike Hamburg
[not found] ` <1113933973.6248.76.camel@localhost.localdomain>
2005-04-19 18:44 ` Eric Stokes
2005-04-19 19:18 ` Christophe TROESTLER
2005-04-19 21:11 ` Eric Stokes
2005-04-19 9:31 ` Alex Baretta
2005-04-19 11:33 ` [Caml-list] CamlGI question Christophe TROESTLER
2005-04-19 12:51 ` Christopher Alexander Stein
2005-04-19 19:03 ` Common CGI interface (was: [Caml-list] CamlGI question) Christophe TROESTLER
2005-04-19 19:54 ` Gerd Stolpmann
2005-04-20 6:55 ` Jean-Christophe Filliatre
2005-04-20 7:22 ` Common XML interface (was: Common CGI interface) Alain Frisch
2005-04-20 11:15 ` [Caml-list] " Gerd Stolpmann
2005-04-20 11:38 ` Nicolas Cannasse
2005-04-20 13:23 ` Stefano Zacchiroli
2005-04-21 6:59 ` [Caml-list] Common XML interface Alain Frisch
2005-04-21 11:34 ` Gerd Stolpmann
2005-04-20 20:00 ` Common CGI interface Christophe TROESTLER
2005-04-20 21:06 ` [Caml-list] " Gerd Stolpmann
2005-04-21 7:36 ` [Ocamlnet-devel] " Florian Hars
2005-04-21 10:41 ` Gerd Stolpmann
2005-04-25 10:38 ` Christophe TROESTLER
2005-04-26 11:08 ` Gerd Stolpmann
2005-05-06 20:14 ` Christophe TROESTLER
2005-05-10 0:07 ` [Caml-list] " Christophe TROESTLER
2005-05-10 0:10 ` Christophe TROESTLER
2005-04-26 16:24 ` [Caml-list] " Eric Stokes
2005-05-06 20:14 ` Christophe TROESTLER
2005-04-19 20:13 ` [Caml-list] CamlGI question Michael Alexander Hamburg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0504181202330.2626@ls01.fas.harvard.edu \
--to=hamburg@fas.harvard.edu \
--cc=alex@barettadeit.com \
--cc=caml-list@inria.fr \
--cc=info@gerd-stolpmann.de \
--cc=roessler@rftp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox