git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitweb, FastCGI and PSGI/Plack

From
Tatsuhiko Miyagawa <miyagawa@gmail.com>
Date
May 11, 2010, 18:56 UTC
Message-ID
<AANLkTinDzAgLckK6z08DJwZPWRmXywQ69EImTaiFsDOE@mail.gmail.com>
In-Reply-To
<20100511094409.GB5220@screwed.box>
2010/5/11 Peter Vereshagin <peter@vereshagin.org>:
Show 8 quoted lines
> I know St. Peter won't call your name, Jakub!
> 2010/05/11 11:29:07 +0200 Jakub Narebski <jnareb@gmail.com> => To Tatsuhiko Miyagawa :
>
> JN> gitweb running as FastCGI script (using ab, ApacheBench).  Do you know
> JN> any pure-Perl FastCGI server with minimal dependencies, and pure-Perl
>
> I'd like to know about the pure-perl FastCGI protocol implementation either, at
> least to make tests for FCGI::Spawn.

There are two pure perl FCGI protocol implementations (caller side) available: Net::FastCGI and FCGI::Client.

Plack::App::FCGIDispatcher is a PSGI application to connect to a FastCGI external daemon over TCP or UNIX sockets, so you can use pure perl PSGI web servers such as Starman to talk to them. But since it's all pure perl and experimental and not suited for the benchmarking, but it could be handy for testing (we actually use FCGI::Client to test our own FastCGI server side implementation in Plack).

When I seriously want to benchmark FastCGI i always use nginx or lighttpd, which is easy to install and doesn't need external modules such as the case with Apache.

-- 
Tatsuhiko Miyagawa
Previous: Peter Vereshagin
Message 14 of 14 in “Re: gitweb, FastCGI and PSGI/Plack”
  1. Jakub NarebskiMay 9, 2010
  2. Tatsuhiko MiyagawaMay 10, 2010
  3. Jakub NarebskiMay 10, 2010
  4. Tatsuhiko MiyagawaMay 10, 2010
  5. Tatsuhiko MiyagawaMay 10, 2010
  6. Jakub NarebskiMay 10, 2010
  7. Tatsuhiko MiyagawaMay 10, 2010
  8. Jakub NarebskiMay 10, 2010
  9. Tatsuhiko MiyagawaMay 10, 2010
  10. Jakub NarebskiMay 10, 2010
  11. Tatsuhiko MiyagawaMay 11, 2010
  12. Jakub NarebskiMay 11, 2010
  13. Peter VereshaginMay 11, 2010
  14. Tatsuhiko MiyagawaMay 11, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.