Carry the load with nginx

1,042 views

Published on

Slide from Klarna's Brown Bag about Nginx and load balancing
http://www.youtube.com/watch?v=sQN_uxcI25k

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,042
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Carry the load with nginx

  1. 1. Carry the load With
  2. 2. What is Nginx? Nginx (pronounced engine-x) is a free, opensource, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server.
  3. 3. What can it do? ● ● ● ● ● ● ● ● ● Handle over 10k simultaneous connections Low memory footprint Great for serving static files (assets) SSL Termination Caching proxy Fault tolerance Bandwidth throttling Load balancing … much more
  4. 4. What is missing? Serving dynamic ruby content A simple interface for developing web applications in Ruby
  5. 5. This van is Racking… Do come on knocking! Unicorn is an HTTP server for Rack applications
  6. 6. Demo
  7. 7. App Server 1 Nginx ht tp :8 0 unix:socket https:443 Unicorn worker Unicorn worker Unicorn worker Nginx LB htt 0 p:8 App Server 2 Nginx unix:socket Unicorn worker Unicorn worker Unicorn worker
  8. 8. References ● Introducing Rack ● Rails On Rack + RailsCast on Rack Middleware ● I like Unicorn because it’s Unix ● Nginx Configuration Example ● Nginx Wiki ● Nginx NewRelic Plugin ● Nginx Plus

×