Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Thin web server - single or multiple instances per IP address:port?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
wchrisjohnson  
View profile  
 More options Sep 21 2012, 2:11 pm
From: wchrisjohnson <wchrisjohn...@gmail.com>
Date: Fri, 21 Sep 2012 11:11:29 -0700 (PDT)
Local: Fri, Sep 21 2012 2:11 pm
Subject: Thin web server - single or multiple instances per IP address:port?

Hi,

I'm deploying a rack/sinatra/web socket app onto several servers and will
use thin as the web server. There are almost no views to show, so I am not
front-ending it with a traditional web server like Apache or nginx. Also,
it will have a web socket component, and that is more problematic from a
reverse proxy standpoint.

In general, you see thin started and the underlying config file for it has
the number of server instances to start, say 3, and the port to start with,
say 5000. So, in my example, when thin starts, it starts up three instances
on a range of ports, starting on port 5000.

If I have a series of virtual machines, say 3, 6, 9, etc. that I treat as a
cluster, would/should I choose to start a single thin instance on each VM,
or multiple instances on each VM? Why?

Thanks - Chris

Note: I asked this question on ServerFault and StackOverflow with no
responses yet:
http://serverfault.com/questions/430029/thin-web-server-single-or-mul...
http://stackoverflow.com/questions/12514164/thin-web-server-single-or...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc-André Cournoyer  
View profile  
 More options Sep 21 2012, 2:13 pm
From: Marc-André Cournoyer <macourno...@gmail.com>
Date: Fri, 21 Sep 2012 14:13:25 -0400
Local: Fri, Sep 21 2012 2:13 pm
Subject: Re: Thin web server - single or multiple instances per IP address:port?

General recommendation is to run one instance per physical processor.

On Fri, Sep 21, 2012 at 2:11 PM, wchrisjohnson <wchrisjohn...@gmail.com>wrote:

--
M-A
http://macournoyer.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wchrisjohnson  
View profile  
 More options Sep 21 2012, 2:16 pm
From: wchrisjohnson <wchrisjohn...@gmail.com>
Date: Fri, 21 Sep 2012 11:16:12 -0700 (PDT)
Local: Fri, Sep 21 2012 2:16 pm
Subject: Re: Thin web server - single or multiple instances per IP address:port?

So if each node in my scenario is a Virtual Machine (in the cloud), then
one thin instance per VM?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc-André Cournoyer  
View profile  
 More options Sep 21 2012, 3:23 pm
From: Marc-André Cournoyer <macourno...@gmail.com>
Date: Fri, 21 Sep 2012 15:23:36 -0400
Local: Fri, Sep 21 2012 3:23 pm
Subject: Re: Thin web server - single or multiple instances per IP address:port?

Probably...

Best answer is to benchmark it :)

On Fri, Sep 21, 2012 at 2:16 PM, wchrisjohnson <wchrisjohn...@gmail.com>wrote:

> So if each node in my scenario is a Virtual Machine (in the cloud), then
> one thin instance per VM?

> --
> You received this message because you are subscribed to the Google Groups
> "thin-ruby" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/thin-ruby/-/RLnW8JwRVOsJ.

> To post to this group, send email to thin-ruby@googlegroups.com.
> To unsubscribe from this group, send email to
> thin-ruby+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/thin-ruby?hl=en.

--
M-A
http://macournoyer.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wchrisjohnson  
View profile  
 More options Sep 21 2012, 3:44 pm
From: wchrisjohnson <wchrisjohn...@gmail.com>
Date: Fri, 21 Sep 2012 12:44:27 -0700 (PDT)
Local: Fri, Sep 21 2012 3:44 pm
Subject: Re: Thin web server - single or multiple instances per IP address:port?

Mark - Thanks so very much!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »