Need advice about which tool to choose?Ask the StackShare community!

puma

442
3
+ 1
0
webrick

86
0
+ 1
0
Add tool

webrick vs puma: What are the differences?

Developers describe webrick as "WEBrick is an HTTP server toolkit that can be configured as an HTTPS server". WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server. On the other hand, puma is detailed as "Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications". 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. It's great for highly concurrent Ruby implementations such as Rubinius and JRuby as well as as providing process worker support to support CRuby well.

webrick and puma belong to "RubyGems Packages" category of the tech stack.

webrick and puma are both open source tools. puma with 6.74K GitHub stars and 1.24K forks on GitHub appears to be more popular than webrick with 16 GitHub stars and 2 GitHub forks.

puma Stats
  • Dependent Packages Counts - 425
webrick Stats
  • Dependent Packages Counts - 71
puma Vulnerabilities
  • Puma vulnerable to HTTP Request Smuggling
    Critical
  • Puma used with Rails may lead to Information Exposure
    High
  • Puma's Keepalive Connections Causing Denial Of Service
    High
webrick Vulnerabilities
  • WEBRick vulnerable to HTTP Request/Response Smuggling
    High
  • Moderate severity vulnerability that affects webrick
    Moderate
puma Release info
Latest version
6.1.1
BSD-3-Clause
webrick Release info
Latest version
1.8.1
BSD-2-Clause

What is puma?

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. It's great for highly concurrent Ruby implementations such as Rubinius and JRuby as well as as providing process worker support to support CRuby well.

What is webrick?

WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server.

Need advice about which tool to choose?Ask the StackShare community!

What companies use puma?
What companies use webrick?
See which teams inside your own company are using puma or webrick.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What are some alternatives to puma and webrick?
rake
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax. Rake has the following features: * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax. No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?) * Users can specify tasks with prerequisites. * Rake supports rule patterns to synthesize implicit tasks. * Flexible FileLists that act like arrays but know about manipulating file names and paths. * Supports parallel execution of tasks.
pry
An IRB alternative and runtime developer console.
rails
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
rspec
BDD for Ruby.
pg
Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: #!/usr/bin/env ruby require 'pg' # Output a table of current connections to the DB conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | %-16s | %s " % row.values_at('procpid', 'usename', 'current_query') end end.
See all alternatives