r5280: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 11 Jul 2003 02:54:20 +0000 (02:54 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Fri, 11 Jul 2003 02:54:20 +0000 (02:54 +0000)
debian/changelog
doc/readme.html
doc/readme.lml

index e287b78d26ec08684a7a55fccd813d5e4d7b4d9c..de266c478e3405eea0981c8a2058d7477d5f5075 100644 (file)
@@ -1,3 +1,10 @@
+cl-modlisp (0.4.0-1) unstable; urgency=low
+
+  * init/listener: Add timeout and number-fixed-workers keywords
+  * update readme.lml
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Thu, 10 Jul 2003 20:43:58 -0600
+
 cl-modlisp (0.3.1-1) unstable; urgency=low
 
   * Add documentation file
index e88ff1f152a798838160a38a18bfb7d2ea08c258..39855379ecc1c3cd648d597e7ccd934e3ef26365 100644 (file)
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head><title>cl-modlisp readme</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><meta name="Copyright" content="Kevin Rosenberg 2002 &lt;kevin@rosenberg.net&gt;" /><meta name="description" content="cl-modlisp documentation" /><meta name="author" content="Kevin Rosenberg" /><meta name="keywords" content="Common Lisp, mod_lisp, cl-modlisp, apache" /></head><body><h1>cl-modlisp Documentation</h1><h2>Overview</h2><p>cl-modlisp provides the Lisp side of the interface to Marc Battyani's mod_lisp apache module (<a href="http://www.fractalconcept.com">http://www.fractalconcept.com</a>).</p><h2>Features</h2><ul><li>support of AllegroCL, CMUCL, SBCL with sb-thread, and Lispworks.</li><li>listener and worker socket/process management so that shutting down the listener closes all related open sockets and terminates all related proceses.</li><li>support for running multiple command processors on multiple ports.</li><li>transparent support for precomputing the HTML or XML response to take advantage of HTTP/1.1's Keep-Alive feature. This is switchable with a single keyword argument to the macro <tt>with-ml-page</tt>.</li><li>Demonstration processor included</li></ul><h2>Prerequisites</h2><ul><li>Apache 1.3.x</li><li>mod_lisp apache module (<a href="http://www.fractalconcept.com">http://www.fractalconcept.com</a>).</li><li>kmrcl library (<a href="http://files.b9.com/kmrcl">http://files.b9.com/kmrcl</a>).</li><li>asdf (<a href="http://www.sf.net/projects/cclan">http://www.sf.net/projects/cclan</a>).</li></ul><h2>Supported Platforms</h2><ul><li>Allegro v6.2</li><li>CMUCL 18e</li><li>Lispworks v4.2</li><li>SBCL 0.8.1 with sb-thread (multi-threading)</li></ul><h2>Quickstart</h2><ul><li>The easiest way to install is to use the Debian GNU/Linux operating system. Using the testing or unstable distributions, you can give the command:<p>apt-get install libapache-mod-lisp cl-modlisp cl-kmrcl</p><p>If you are not using Debian, you will need to download and install
-mod_lisp, cl-modlisp, and cl-kmrcl manually.</p></li><li>Add something like the below to httpd.conf and then restart apache<br />LispServer 127.0.0.1 20123 "localhost"<br />AddHandler lisp-handler .lsp</li><li>Start your Lisp implementation and load cl-modlisp with<br />(asdf:operate 'asdf:load-op 'modlisp)</li><li>Start the server with<br />(ml:modlisp-start :port 20123)</li><li>Try some demostration pages<br />links http://localhost/fixed.lsp<br />links http://localhost/debug.lsp</li><li>Shutdown the all cl-modlisp servers with<br />(ml:modlisp-stop-all)</li></ul><h2>Usage</h2><p>The demo.lisp file for some examples of using cl-modlisp.</p></body></html>
\ No newline at end of file
+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>cl-modlisp readme</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><meta name="Copyright" content="Kevin Rosenberg 2002 &lt;kevin@rosenberg.net&gt;" /><meta name="description" content="cl-modlisp documentation" /><meta name="author" content="Kevin Rosenberg" /><meta name="keywords" content="Common Lisp, mod_lisp, cl-modlisp, apache" /></head><body><h1>cl-modlisp Documentation</h1><h2>Overview</h2><p>cl-modlisp provides the Lisp side of the interface to Marc Battyani's mod_lisp apache module (<a href="http://www.fractalconcept.com">http://www.fractalconcept.com</a>).</p><h2>Features</h2><ul><li>support of AllegroCL, CMUCL, SBCL with sb-thread, and Lispworks.</li><li>listener and worker socket/process management so that shutting down the listener closes all related open sockets and terminates all related proceses.</li><li>support for running multiple command processors on multiple ports.</li><li>transparent support for precomputing the HTML or XML response to take advantage of HTTP/1.1's Keep-Alive feature. This is switchable with a single keyword argument to the macro <tt>with-ml-page</tt>.</li><li>Demonstration processor included</li></ul><h2>Prerequisites</h2><ul><li>Apache 1.3.x</li><li>mod_lisp apache module (<a href="http://www.fractalconcept.com">http://www.fractalconcept.com</a>).</li><li>kmrcl library (<a href="http://files.b9.com/kmrcl">http://files.b9.com/kmrcl</a>).</li><li>asdf (<a href="http://www.sf.net/projects/cclan">http://www.sf.net/projects/cclan</a>).</li></ul><h2>Supported Platforms</h2><ul><li>Allegro v6.2</li><li>CMUCL 18e</li><li>Lispworks v4.2</li><li>SBCL 0.8.1 with sb-thread (multi-threading)</li></ul><h2>Quickstart</h2><ul><li>The easiest way to install is to use the Debian GNU/Linux operating system. Using the testing or unstable distributions, you can give the command:<div><tt>apt-get install libapache-mod-lisp cl-modlisp cl-kmrcl</tt></div><div>If you are not using Debian, you will need to download and install
+mod_lisp, cl-modlisp, and cl-kmrcl manually.</div></li><li>Add something like the below to httpd.conf and then restart apache<div><tt>LispServer 127.0.0.1 20123 "localhost"</tt></div><div><tt>AddHandler lisp-handler .lsp</tt></div></li><li>Start your Lisp implementation and load cl-modlisp with<div><tt>(asdf:operate 'asdf:load-op 'modlisp)</tt></div></li><li>Start the server with<div><tt>(ml:modlisp-start :port 20123)</tt></div></li><li>Try some demostration pages<div><tt>links http://localhost/fixed.lsp</tt></div><div><tt>links http://localhost/debug.lsp</tt></div></li><li>Shutdown the all cl-modlisp servers with<div><tt>(ml:modlisp-stop-all)</tt></div></li></ul><h2>Process Models</h2><p>There are two process models</p><ul><li><div><b>Each connection spawns a new thread</b></div><div>This is the default model. Each new connection to listener socket spawns a new connection. This allows for an arbitrary number of concurrent connections. This has advantages if the workers require a long execution time.</div></li><li><div><b>Fixed pool of workers</b></div><div>This model is selected by passing the number of worker processes to <tt>init/listener</tt> with the keyword <tt>number-fixed-workers</tt>. This model has a lower overhead since new processes are not created and destroyed with each connection. It has advantages when the workers have a short execution time.</div></li></ul><h2>Usage</h2><p>The demo.lisp file for examples of using cl-modlisp.</p></body></html>
\ No newline at end of file
index 8a54a53bbb036fe8f7ae9947276d07bc4f1c2e32..0e86f86544d004e771f99b2337e57aef5ada3617 100644 (file)
     (:h2 "Quickstart")
     (:ul
      (:li "The easiest way to install is to use the Debian GNU/Linux operating system. Using the testing or unstable distributions, you can give the command:"
-     (:p
-      "apt-get install libapache-mod-lisp cl-modlisp cl-kmrcl")
-     (:p
+     (:div
+      (:tt "apt-get install libapache-mod-lisp cl-modlisp cl-kmrcl"))
+     (:div
       "If you are not using Debian, you will need to download and install
 mod_lisp, cl-modlisp, and cl-kmrcl manually."))
      (:li
       "Add something like the below to httpd.conf and then restart apache"
-      (:br)
-      "LispServer 127.0.0.1 20123 \"localhost\""
-      (:br)
-      "AddHandler lisp-handler .lsp")
+      (:div (:tt "LispServer 127.0.0.1 20123 \"localhost\""))
+      (:div (:tt "AddHandler lisp-handler .lsp")))
      (:li
       "Start your Lisp implementation and load cl-modlisp with"
-      (:br)
-      "(asdf:operate 'asdf:load-op 'modlisp)") 
+      (:div (:tt "(asdf:operate 'asdf:load-op 'modlisp)")))
      (:li
       "Start the server with"
-      (:br)
-      "(ml:modlisp-start :port 20123)")
+      (:div (:tt "(ml:modlisp-start :port 20123)")))
      (:li "Try some demostration pages"
-         (:br)
-         "links http://localhost/fixed.lsp"
-         (:br)
-         "links http://localhost/debug.lsp")
+         (:div (:tt "links http://localhost/fixed.lsp"))
+         (:div (:tt "links http://localhost/debug.lsp")))
      (:li "Shutdown the all cl-modlisp servers with"
-         (:br)
-         "(ml:modlisp-stop-all)"))
+         (:div (:tt "(ml:modlisp-stop-all)"))))
 
+    (:h2 "Process Models")
+    (:p "There are two process models")
+    (:ul
+     (:li (:div (:b "Each connection spawns a new thread"))
+         (:div "This is the default model. Each new connection to listener socket spawns a new connection. This allows for an arbitrary number of concurrent connections. This has advantages if the workers require a long execution time."))
+     (:li (:div (:b "Fixed pool of workers"))
+         (:div "This model is selected by passing the number of worker processes to "
+             (:tt "init/listener")
+             " with the keyword "
+             (:tt "number-fixed-workers")
+             ". This model has a lower overhead since new processes are not created and destroyed with each connection. It has advantages when the workers have a short execution time."))) 
+               
     (:h2 "Usage")
-    (:p "The demo.lisp file for some examples of using cl-modlisp.")
+    (:p "The demo.lisp file for examples of using cl-modlisp.")
     )))