stasis-aries-wal/lang/perl
2010-01-19 02:11:04 +00:00
..
apache sample stasis web services for apache modperl and fastcgi. Both are multithreaded. However, the modperl one is racy. FastCGI is currently the recommended approach 2010-01-19 02:11:04 +00:00
cgi-bin sample stasis web services for apache modperl and fastcgi. Both are multithreaded. However, the modperl one is racy. FastCGI is currently the recommended approach 2010-01-19 02:11:04 +00:00
t add missing unit test 2010-01-11 19:30:20 +00:00
CMakeLists.txt clean up perl unit tests; add support for storing tied hashes in tied hashes 2010-01-11 19:29:52 +00:00
README.cgi-bin sample stasis web services for apache modperl and fastcgi. Both are multithreaded. However, the modperl one is racy. FastCGI is currently the recommended approach 2010-01-19 02:11:04 +00:00
README.modperl sample stasis web services for apache modperl and fastcgi. Both are multithreaded. However, the modperl one is racy. FastCGI is currently the recommended approach 2010-01-19 02:11:04 +00:00
Stasis.pm harden Stasis.pm initialization against a wider range of crazy environments (ie: apache modperl and fastcgi). Add TsoftCommit and TforceCommits to the perl binding 2010-01-19 01:56:40 +00:00
typemap initial checkin of perl bindings 2008-10-27 23:25:03 +00:00

This goes in apache.conf:

<IfModule mpm_worker_module>
    StartServers          1
# Only want 1 server; this is a correctness constraint for stasis.
    ServerLimit           1
    MinSpareThreads      25
    MaxSpareThreads      75 
    ThreadLimit         150
    ThreadsPerChild     150
    MaxClients          150
    MaxRequestsPerChild   0
</IfModule>


This goes in the sites-enabled/???:

  PerlRequire /home/sears/stasis/lang/perl/apache/inc/startup.pl

  <Location /stasis>
      SetHandler perl-script
      PerlResponseHandler  StasisWeb::Web
  </Location>

Note that the modapache scripts are currently hardcoded to look in ~sears/stasis/www-data