Unlike other Ruby Webservers, Puma was built for speed and parallelism. Puma is a small library that provides a very fast and concurrent HTTP 1.1 server for Ruby web applications. It is designed for running Rack apps only. What makes Puma so fast is the careful use of a Ragel extension to provide fast, accurate HTTP 1.1 protocol parsing. This makes the server scream without too many portability issues. If you are using Bundler, just add Puma to your project's Gemfile. Once you've installed your bundle, start Puma. If you are not using Bundler, you can install Puma directly from the command line. On MRI, there is a Global VM Lock (GVL) that ensures only one thread can run Ruby code at a time. But if you're doing a lot of blocking IO (such as HTTP calls to external APIs like Twitter), Puma still improves MRI's throughput by allowing IO waiting to be done in parallel.

Features

  • Puma also works well with Ruby (MRI) and JRuby
  • Simple, fast, multi-threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications
  • Puma processes requests using a C-optimized Ragel extension
  • Concurrent Ruby implementations (JRuby, Rubinius) will use all available CPU cores
  • Each request is served in a separate thread
  • Puma will install/compile with support for ssl sockets, assuming OpenSSL development files are installed on the system

Project Samples

Project Activity

See All Activity >

Categories

Web Services

License

BSD License

Follow Puma

Puma Web Site

You Might Also Like
Relax: PRTG Monitors Your IT for You Icon
Relax: PRTG Monitors Your IT for You

Stay in control and avoid IT headaches. PRTG monitors your network, devices, and apps - receive alerts when it matters most.

You’re the go-to IT person, always putting out fires and keeping things running. With PRTG, you get reliable alerts to monitor your entire IT infrastructure, without the noise. Our intuitive setup gives you a clear overview of your network, devices, and applications in real time. Get instant alerts only when something needs your attention, whether you’re at your desk or on the move. Spend less time worrying about outages and more time focusing on what matters. Set up PRTG once and let it work for you - PRTG has you covered.
Start Your Free PRTG Trial Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Puma!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

Ruby

Related Categories

Ruby Web Services Software

Registered

2021-08-19