Application Servers

Pitchfork – preforking HTTP server

Pitchfork is a preforking HTTP server for Rack applications derived from unicorn. Its architecture is designed to minimise memory consumption and isolate concurrent requests by using independent worker processes rather than sharing application state between threads.

Pitchfork targets deployments where clients communicate over fast, low-latency connections. For public-facing applications, a buffering reverse proxy is recommended to prevent slow connections from occupying application workers. Its distinctive reforking mechanism takes advantage of Linux process-management facilities to improve memory sharing as applications run.

This is free and open source software.

Key Features

  • Isolated worker processes, each serving one client at a time.
  • Support applications that are not thread-safe.
  • Periodically promote warmed-up workers as new process templates to improve copy-on-write memory sharing.
  • Automatically reap and replace failed workers.
  • Configurable worker counts and process startup timeouts.
  • Adaptive per-request timeouts for operations requiring longer processing.
  • Delegate connection load balancing to the operating system kernel.
  • Support TCP and Unix domain socket listeners.
  • Configurable request-body buffering.
  • Optional HTTP Early Hints responses.
  • Lifecycle callbacks for process creation, worker readiness, timeouts and request completion.
  • Configurable reforking thresholds and worker availability limits.
  • Experimental service workers for background maintenance tasks that do not accept HTTP connections.

Website: github.com/Shopify/pitchfork
Support:
Developer: Shopify
License: GNU General Public License v2.0 or Ruby License

Pitchfork is written in Ruby and C. Learn Ruby with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

Ruby Application Servers
PumaConcurrent web server for Ruby and Rack
Phusion PassengerWeb server and application server for Ruby, Python and Node.js
FalconAsynchronous Rack-compatible engine for fast, scalable web traffic
pitchforkPreforking HTTP engine designed for resilience and steady throughput
iodineLightweight HTTP and WebSocket service built for demanding loads
unicornHTTP server for Rack applications
ItsiHigh-performance web serving with efficient request handling
Rainbows!HTTP server for sleepy Rack applications based on Unicorn
AgooFast HTTP platform with WebSocket support and very low overhead
yahnsSleepy, multi-threaded, non-blocking application server for Ruby

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted