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
Help on thin cluster configuration
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
  1 message - 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
 
Maxintech  
View profile  
 More options Aug 10 2012, 4:06 pm
From: Maxintech <maxint...@gmail.com>
Date: Fri, 10 Aug 2012 13:06:47 -0700 (PDT)
Local: Fri, Aug 10 2012 4:06 pm
Subject: Help on thin cluster configuration

Hi guys:

   I've got experience in several Java Enterprise projects, but I'm newbie
in ruby. I'm designing and coding the first bricks of a backend and I need
some advice.

   The system is just a backend. Receives calls (mostly POST) with JSON
messages and returns JSON messages. The system use a MongoDB database. All
the calls are synchronous. Each call must consume a few seconds; these are
very fast calls because there's no much bussines rules, just store an
retrieve.

   I've started using webrick (plain, without rack) but I read that has
slow performance and it's no good for production. I read about thin, its
performance, and I started to migrate the code.

  I have doubts about configuration. The system will be running in virtual
machines on a cloud provider. I read about thin is not a multithread
server. If I got a virtual machine with, for example, 4 virtual CPUs and
8GB of RAM (and the database is running in other virtual machine), how many
thin servers could run in this machine?

  Could you provide me a sample code for that?

  In my experience using java, for processing fast calls is better got
several smaller virtual machines instead a few powerful virtual machines.
Do you think this can be the same using a ruby+thin implementation?

 Do you think is necessary install and configure a web server like Nginx?
It's just a rest API without any static content.

Thanks in advance.


 
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 »