Opened 12 years ago

Closed 12 years ago

#4054 closed (wontfix)

FastCGI, SCGI and ajp in lighttpd 1.5

Reported by: stephan Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords: lighttpd, fast, fcgi, scgi, ajp
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I propose an addition to the documentation to be ready for lighttpd 1.5.

Lighty 1.5 completely drops mod_fastcgi and adds mod_proxy_core and backends for scgi, fastcgi and even ajp, so the documentation has to be adjusted accordingly.

This little code snippet will proxy requests coming to to a django app which has a unix socket at /tmp/django-myproject.sock

$HTTP["host"] == "" {
  proxy-core.balancer = "round-robin"
  proxy-core.protocol = "scgi"
  proxy-core.check-local = "disable"
  proxy-core.backends = ( "unix:/tmp/django-myproject.sock" )
  proxy-core.max-pool-size = 5
  • proxy-core.protocol should match the protocol setting from runfcgi
  • proxy-core.backends should match socket/host-port setting from runfcgi
  • proxy-core.max-pool-size should match maxchildren from runfcgi

Maybe runfcgi should be dropped and added to runserver. However, calling runserver without arguments would still spawn the development server.

After lighty 1.5.0 is released we should do some benchmarks on performance of fastcgi/scgi/ajp, try different load-balancers and determine whether forking or threading is better on different setups.


Change History (5)

comment:1 Changed 12 years ago by Simon G. <dev@…>

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 12 years ago by anonymous

Resolution: wontfix
Status: newclosed

Updating the documentation for something that hasn't been released yet would be premature. We aren't going to magically drop all support for people using version 1.4 when that happens, in any case.

Closing this as wontfix for now. We can revisit it when/if lighttpd 1.5 is released.

comment:3 Changed 12 years ago by Michael Radziej <mir@…>

Resolution: wontfix
Status: closedreopened

Please don't close tickets anonymously (though your reasoning appears to be sound).

comment:4 Changed 12 years ago by stephan

I agree, let's consider this when it's the right time.

comment:5 Changed 12 years ago by Malcolm Tredinnick

Resolution: wontfix
Status: reopenedclosed

Sorry, Michael, that was me in comment #2.

(Grrr... it would be nice if it wasn't possible to accidently do stuff anonymously or have persistent logins or something. :-( )

Note: See TracTickets for help on using tickets.
Back to Top