News Networks
Topics
Stories
People

  • My Networks
  • Popular
  • Recent
  • ABC...XYZ
  • Create New
  • Search
  • Popular
  • Recent
  • Rising Fast
  • ABC...XYZ
  • Popular Today
  • Popular Week
  • Popular Month
  • Rising Fast
  • Hot Discussions
  • My Newsmakers
  • My Followers
  • Recently Active
  • Popular
  • Find
  • Invite Friends
Connect
Sign in using facebook |
Log in |
Sign Up


Hi there. I'm Jason, one of the founders of socialmedian.
socialmedian delivers the news, filtered by your network.
We'd love to have you join in.
You can use facebook connect to sign in.
Connect
OR
Log in 
|
Sign up


Create your socialmedian account
Email
Required

Password
Required

The password must be atleast 6 characters
Username
Required

http://www.socialmedian.com/username
This is same as my twitter ID
Security check

I agree to the terms and conditions and the privacy policy.
Loading...


Already a user? Please Log In
Invalid Login!
Email

Password

Remember me:
Loading...


Forgot Password?

Email:

By
Add News Flash
User-submitted headlines for this story

Loading

1
Clip
Unicorn!
Source: Delicious hotlist
Oct 09, 2009


Dislike
 
0%
 
0%

Like

Summary

We’ve been running Unicorn for more than a month. Time to talk about it.


What is it?

Unicorn is an HTTP server for Ruby, similar to Mongrel or Thin. It uses Mongrel’s Ragel HTTP parser but has a dramatically different architecture and philosophy.


In the classic setup you have nginx sending requests to a pool of mongrels using a smart balancer or a simple round robin.


Eventually you want better visibility and reliability out of your load balancing situation, so you throw haproxy into the mix:



Which works great. We ran this setup for a long time and were very happy with it. However, there are a few problems.


Slow Actions

When actions take longer than 60s to complete, Mongrel will try to kill the thread. This has proven unreliable due to Ruby’s threading. Mongrels will often get into a “stuck” stage and need to be killed by some external process (e.g. god or monit).


Yes, this is a problem with our application. No action should ever take 60s. But we have a complicated application with many moving parts and things go wrong. Our production environment needs to handle error

...Read the full article

Comments (0)
Add Your Comment
Please enter your Email Id to get a new password
Forgot your password?
Email:

Add something

Snip
News
Site

Instantly Clip News From Any Website
Clip it! on s|m
Or, Enter News Directly Here
Headline:

URL:
(Optional)

Description:
(Optional)

Adding a News...


Add Snip
Adding a Snip...


Now you can import your favorite sites to your socialmedian page
Loading...

Loading...


Is this you?
Stats

Mood
0% Like

0% Dislike

1 Clip

Loading...

Bgolub

Share this story

Network
Email
Tweet
Share with the News Network
Email ID's
(multiple Email ID's separated by commas)
Message
Also post this message as a public comment
Don't worry. We won't share the name or email address of the person that you sent the story to.
Loading...

Message
119

bit.ly (short) url will be added to the message.
Link to discuss this story on socialmedian

Link to the original story

Twitter ID

Password

Save my twitter password
Tweet will be sent using   (change)
Topics

app
apps
change
Code
cpu
domain
environment
group
Hardware
memory
Metal
mongrel
nginx
page
post
rails
rescue
Risk
ruby
startup
time
Transition
users
Show more
Show less
Add Topics

Comma Separated.
Belongs to News Networks

Climate Change (Users: 42)
Stories in 24 hours: 30
Campaign 2008 (Users: 1057)
Stories in 24 hours: 411
Environment (Users: 63)
Stories in 24 hours: 6
Gaming Industry News (Users: 22)
Stories in 24 hours: 64
Influence and Behaviour of Groups (Users: 1)
Stories in 24 hours: 341
Sustainability Classroom (Users: 8)
Stories in 24 hours: 313
WidgetZine (Users: 5)
Stories in 24 hours: 21
Obama White House Transition (Users: 158)
Stories in 24 hours: 141
Web 2.0 (Users: 4881)
Stories in 24 hours: 1108
Blogging (Users: 946)
Stories in 24 hours: 188
The Tech 200 News Network (Users: 109)
Stories in 24 hours: 300
Science (Users: 115)
Stories in 24 hours: 18
Tech News (Users: 3927)
Stories in 24 hours: 1401
The Global Financial Crisis (Users: 1549)
Stories in 24 hours: 682
Change for a sustainable future (Users: 15)
Stories in 24 hours: 64
Music (Users: 266)
Stories in 24 hours: 163
mainSTREAMing Web 2.0 (Users: 20)
Stories in 24 hours: 187
ruby on rails (Users: 75)
Stories in 24 hours: 3
software development (Users: 400)
Stories in 24 hours: 62
Show more
Show less
Register using your Twitter ID and we'll help you easily connect
your accounts and find people you already know.

We constantly make updates and enhancements based on user feedback. Follow socialmedian on Twitter
Help us out and report a bug or suggest a new feature! Check out our blog for regular company updates, notables, and to see what we're currently working on.
Report a Bug
Suggest a Feature


 Sending...
close
socialmedian Inc. 2008 - 2009
About socialmedian    |        |    Terms of Service    |    Privacy Policy