Building a Rack Web Server in Ruby
https://ksylvest.com/posts/2016-10-04/building-a-rack-web-server-in-ruby
Every request that is sent to a Rails or Sinatra application goes through Rack. Rack is an interface for structuring web applications using Ruby. Rack web servers (i.e. Puma, Passenger, etc) handle sockets (links between programs running on a network), the semantics of the HTTP protocol, thread or process management, and of course the Rack interface. This article explores building a simple Rack web server in Ruby from scratch.
Post a comment