Ocamlnet2 + fastcgi
"Grégory Guyomarc'h" <[email protected]> Tue, 17 Oct 2006 00:06:01 +0200
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I am trying to get started with fastcgi and I wish to to use netplex for
this but I can't seem to figure my way around the example in the directory
cgi/netcgi2-plex of the distribution. I can run the netplex server from the
command line but not from apache. I thought this example was a port of the
ADD fastcgi example in ocamlnet1, but now I think I am probably wrong and
something must be done before i can use it with apache: do i need a standard
fastcgi script called from Apache that will relay fcgi request to the ADD
netplex server I started manually ?
Another question, Ocamlnet2 seems very promising, however since I know so
little about programming web apps, i want to be sure I am on the right track
in choosing netplex (instead of starting from scratch because it looks like
exactly what I need), I would like to build a web apps architectured along
the lines below:
+----------+ +-------------+ +----------+
| Page |---->| Database |<----| Page |
| Server 1 |<----| Query Cache |---->| Server 2 |
+----------+ +-------------+ +----------+
| |
+-------------+ +-------------+
| |
+------------+
| Query |
| Dispatcher |
+------------+
||
||
Apache
My web host allows only short-lived fastcgi processes (around 4 or 5 minutes
before it is shut down), so i would like the dispatcher to be that process
and the servers to keep running even when the dispatcher is shut down. Also
i want server processes to communicate via SunRPC and limit the use of
fastcgi to the communication between Apache and the dispatcher, is that in
the spirit of what can be achievable with netplex?
Thanks for your time.
Grégory.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel