Bug#720336: ITP: ruby-puma -- Puma: A Ruby Web Server Built For Concurrency

2013-08-20 Thread Shawn Landden
Package: wnpp
Severity: wishlist
Owner: Shawn Landden shawnland...@gmail.com

* Package name: ruby-puma
  Version : 2.5.1
  Upstream Author : Engine Yard
* URL : http://puma.ui/
* License : BSD
  Programming Lang: C, Ruby
  Description : Ruby Web Server Built For Concurrency

Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for 
Ruby/Rack applications. Puma is intended for use in both development and 
production environments. In order to get the best throughput, it is highly 
recommended that you use a Ruby implementation with real threads like Rubinius 
or JRuby.
Built For Speed  Concurrency

Puma is a simple, fast, and highly concurrent HTTP 1.1 server for Ruby web 
applications. It can be used with any application that supports Rack, and is 
considered the replacement for Webrick and Mongrel. It was designed to be the 
go-to server for Rubinius, but also works well with JRuby and MRI. Puma is 
intended for use in both development and production environments.

Under the hood, Puma processes requests using a C-optimized Ragel extension 
(inherited from Mongrel) that provides fast, accurate HTTP 1.1 protocol parsing 
in a portable way. Puma then serves the request in a thread from an internal 
thread pool (which you can control). This allows Puma to provide real 
concurrency for your web application!

With Rubinius 2.0, Puma will utilize all cores on your CPU with real threads, 
meaning you won't have to spawn multiple processes to increase throughput. You 
can expect to see a similar benefit from JRuby.

On MRI, there is a Global Interpreter Lock (GIL) that ensures only one thread 
can be run 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 blocking IO to be run concurrently (EventMachine-based servers such as 
Thin turn off this ability, requiring you to use special libraries). Your 
mileage may vary. In order to get the best throughput, it is highly recommended 
that you use a Ruby implementation with real threads like Rubinius or JRuby.


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130820173318.8348.60804.report...@chrome.churchofgit.com



Bug#720336: ITP: ruby-puma -- Puma: A Ruby Web Server Built For Concurrency

2013-08-20 Thread Andrew Starr-Bochicchio
On Tue, Aug 20, 2013 at 1:33 PM, Shawn Landden shawnland...@gmail.com wrote:
 * URL : http://puma.ui/

That url redirects to the sporting clothes company. It seems you mean:
http://puma.io/


-- Andrew Starr-Bochicchio

   Ubuntu Developer https://launchpad.net/~andrewsomething
   Debian Developer http://qa.debian.org/developer.php?login=asb
   PGP/GPG Key ID: D53FDCB1


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAL6k_Ax0YtPqp9L_OGsJshfdSO0Upo=jn-lkwrr6pzkw9jd...@mail.gmail.com