Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - stevegio

#1
Anything else we might add? /
September 21, 2004, 03:56:32 AM
Quote from: "Lutz"I wonder if anybody here has experience with mod_perl, mod_python or mod_php and can tell what advantages it brings or not.

Lutz

Even though newLisp has a very quick startup, It's expensive, from an operating system point of view,  to constantly start a new newLisp process for each request. For very low traffic applications forking a new process to run a CGI is probably not a big deal but once you start talking real world scenarios the expense of starting a new process for every request becomes a real problem. This is an old problem and that is why things like FastCGI, mod_{perl|python|lisp} exist.  <a href="http://www.fastcgi.com/devkit/doc/fastcgi-whitepaper/fastcgi.htm%22%3EHere%3C/a">http://www.fastcgi.com/devkit/doc/fastc ... m">Here</a">http://www.fastcgi.com/devkit/doc/fastcgi-whitepaper/fastcgi.htm">Here</a> is a pointer to the old FastCGI white paper.  If it's easy to put this together I'd suggest putting it on your development roadmap.  Serious web developers will probably appreciate it. I've been hacking around with newLisp and it shows a lot of promise, if not down right power. However you couldn't use newLisp for anything that had high volume traffic if it uses old-style CGI.  It just won't scale no matter how fast it starts up.[/url]
#2
Anything else we might add? /
September 19, 2004, 06:04:13 AM
Quote from: "nigelbrown"see discussion under ?mod_newlisp at http://www.alh.net/newlisp/phpbb/viewtopic.php?t=320&highlight=modlisp">http://www.alh.net/newlisp/phpbb/viewto ... ht=modlisp">http://www.alh.net/newlisp/phpbb/viewtopic.php?t=320&highlight=modlisp



Nigel


Sorry, should have searched the forums.  I'll check thread out. Thanks.
#3
Anything else we might add? /
September 19, 2004, 06:02:57 AM
Quote from: "Lutz"It may not bring much speed improvement for newLISP because of its fast load time.



Lutz


You have to think of it in terms of what it does to the overall system environment.  Just because you have a fast startup time doesn't mean its virtually free for each invocation.  Starting a simple C application is fast but having a CGI written in C being called hundreds of times a second on a web server starts to make the OS cranky.  That's why things like FastCGI were invented. Then when Perl showed up we got mod_perl. Sorry I'm showing my age here.
#4
Anything else we might add? / mod_newlisp?
September 19, 2004, 03:58:32 AM
Are there any plans to create a mod_newlisp or some other mechanism for using newlisp with Apache that avoids firing a new newlisp proc on every page invocation?  I'm very intrigued by newlisp but it would be difficult to build large scale apps without some kind of support like mod_perl, mod_python, or even mod_lisp.