[Hobo Users]Server question

26 views
Skip to first unread message

Scorpio

unread,
Mar 7, 2012, 6:29:45 PM3/7/12
to Hobo Users
I know it's a bit offtopic and for that I'm sorry but this community
saved my behind on a number of occasions.

Due to lack of an affordable RoR 3 host that's actually worth
something I'm gonna be setting up a vps webhost of my own, nginx, rvm,
shell, mysql,(long list) the works. But just today I read an awesome
tutorial on Sunspot by kevinpfromnm (Thanks m8!) and I'd like to
integrate that into a major app that I've been building for quite some
time.
Solr is required for that and as I do know how to setup a proper Rails
3 host with nginx and webmin(+rails support) for the most part (sure
there will be stuff to figure out but hell.. got most of it in my
head) I've got no idea how to combine that with Solr.

Any thoughts /resources / places to ask would be great!
Thanks!

Matt Jones

unread,
Mar 7, 2012, 7:31:32 PM3/7/12
to hobo...@googlegroups.com

sunspot_rails: https://github.com/outoftime/sunspot_rails

Comes with a built-in server for development and light production; you can get crazy with Tomcat later if you need to scale bigger.

--Matt Jones

Scorpio

unread,
Mar 7, 2012, 9:45:27 PM3/7/12
to Hobo Users
I already know about sunspot rails but I'm leaning towards agreeing
with kevinpfromnm on the fact that a built in server might not be good
for production. Dunno if that's true 100% so a more experienced dev/
admin than myself would be nice to speak up :)

Still, thanks for the Tomcat remark. Will keep that in mind.

Peter Booth

unread,
Mar 8, 2012, 7:06:10 AM3/8/12
to hobo...@googlegroups.com, Hobo Users
I went through the same thing a couple of years ago, both for myself and for some clients I was doing performance work for. What I learned was:

1. Most VPS hosting providers are very vague about their hardware specs and what fraction of a multiverse server you are paying for. There are well known, reputable companies that will charge you $200/month for 1/8 of a physical core, whilst others charge $45 for a single core. That's a ratio of 32 to 1!

2. Capacity planning and performance tuning of virtual machines is hard. I've been doing it for six years and I was stunned by the inattention and lack of technical competence shown by some hosting companies. Over provisioning, misconfiguration and plain broken infrastructure abound. Be careful who you choose and adopt the Reagan slogan of "trust but verify"

I found that i got the best hardware bang for the Buck from a specialist gaming server hosting company that rents out VPS on their surplus hardware. The late cues are excellent which is the crucial variable when you want a fast site.

You have a better chance of avoiding over provisioning with a provider that uses Xen because Xen doesn't do memory over subscription.

3. There are a bunch of cool, slick Linux distributions available yet the most practical for serving a website is boring old RedHat/Centos.

4. The hobo solr recipe plus the solr website should be enough to configure a basic solr/rails install.

Hope this helps,

Peter

> --
> You received this message because you are subscribed to the Google Groups "Hobo Users" group.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
>

Scorpio

unread,
Mar 8, 2012, 5:08:01 PM3/8/12
to Hobo Users
Thanks for the input. as far as setting up a server goes. Sure I'll
probably struggle at some point as I'm not by far a god when it comes
to server config but the thing is if I wanna keep doing rails I gotta
do it because the few good (especially reseller) hosts charge such
ridiculous money no client of mine will be willing to pay that if he
can get a php host for like 1/10 of the price. I don't deal with big
fish thus I need to provide acceptable solutions for small amounts of $
$ if I wanna get any business at all as freelance webdev is under-
payed as hell around here.

I know there are some nice hosts out there but its all in the Euro
zone so out of the question. Too bad exchange rate that basically
makes the prices as sick.

I'll take your input under advice and revisit the choice of the polish
vps but the company I've picked is quite transparent when I called
their technical department. Seems they originated from/do a lot of
business in Germany and its all Ordnung muss sein so I'm quite
pleased.

As far as linux goes I'll have to recheck what webmin works on but I'm
sure I'm not gonna go for Centos for the life of me as I've had some
very horrid experiences with a host on that dostro as the repos are
ancient and I had to call the admin every 10 minutes to compile
everything from source also the setup was so badly done I dare say I'd
do it better before even beginning my research. It was just a
developers nightmare.

Thanks for the input on solr.

Any tips/guides/links on how to setup a ror server would be nice as
you seem to have a ton of experience

On Mar 8, 1:06 pm, Peter Booth <peter_bo...@me.com> wrote:
> I went through the same thing a couple of years ago, both for myself and for some clients I was doing performance work for. What I learned was:
>
> 1. Most VPS hosting providers are very vague about their hardware specs and what fraction of a multiverse server you are paying for. There are well known, reputable companies that will charge you $200/month for 1/8 of a physical core, whilst others charge $45 for a single core. That's a ratio of 32 to 1!
>
> 2. Capacity planning and performance tuning of virtual machines is hard. I've been doing it for six years and I was stunned by the inattention and lack of technical competence shown by some hosting companies. Over provisioning, misconfiguration and plain broken infrastructure abound. Be careful who you choose and adopt the Reagan slogan of "trust but verify"
>
> I found that i got the best hardware bang for the Buck from a specialist gaming server hosting company that rents out VPS on their surplus hardware. The late cues are excellent which is the crucial variable when you want a fast site.
>
> You have a better chance of avoiding over provisioning with a provider that uses Xen because Xen doesn't do memory over subscription.
>
> 3. There are a bunch of cool, slick Linux distributions available yet the most practical for serving a website is boring old RedHat/Centos.
>
> 4. The hobo solr recipe plus the solr website should be enough to configure a basic solr/rails install.
>
> Hope this helps,
>
> Peter
>

Bob Sleys

unread,
Mar 8, 2012, 5:28:07 PM3/8/12
to hobo...@googlegroups.com
I don't know what kind of performance you need but I've had pretty good luck getting rails apps running at site5 and their prices are very reasonable.

of course setting up your own would be far superior if you have the resources.  For linux server software I generaly start with clearos.  Its a great server os IMHO.
> > To unsubscribe from this group, send email to hobousers+unsubscribe@googlegroups.com.

Scorpio

unread,
Mar 8, 2012, 6:19:52 PM3/8/12
to Hobo Users
It's not like I can pick any os I want with the company I had in mind

- Debian
- CentOS
- Fedora
- Slackware
- Ubuntu
- OpenSUSE

And I do know Centos is no-go for reasons mentioned above

Yes the prices are nice if you earn in EURO/USD :)

I'd like to learn how to setup a proper rails server as that is
knowledge I'd love to have. There is also the issue of being the king
of my castle thing. Also I can see its quite messy to install RoR 3
according to their blog (what bothers me most is messing with the app
to get it going on that particular host)

Btw. I'm sure I won't be spot on the first time around but if that
will be the case I'll just keep it private for my projects (I need
that either way) and if I get some pro opinions that I did that right
I'll advertise it and see what happens :). The mindset I'm in right
now is more e like: "OK I'm missing a affordable place to put my stuff
into so people don't want websites in the new tech I'm dong so to get
work at all I need where to put it" rather than "YAY! I'll have a
host, become pro and dominate the world *evil laugh*" It's footing
that helps me get money out of webdev not a tool to directly make
money.

On Mar 8, 11:28 pm, Bob Sleys <bsl...@gmail.com> wrote:
> I don't know what kind of performance you need but I've had pretty good
> luck getting rails apps running at site5 and their prices are very
> reasonable.
>
> of course setting up your own would be far superior if you have
> the resources.  For linux server software I generaly start with clearos<http://www.clearfoundation.com/>.
> > hobousers+...@googlegroups.com.

Peter Booth

unread,
Mar 10, 2012, 1:47:59 PM3/10/12
to hobo...@googlegroups.com
You are correct about the age issue with Centos repos. It's the distribution that everyone loves to hate, but it has the "devil you know" advantage.

The good thing about RHEL/Centos is that it so heavily used in production, which means 
that whenever I encounter a bug/incompatibility  (once every month or two) there will 
be documentation about how to work around it on Centos. The Ubuntu derivatives are much nicer to use
as desktops (Mint is my current favorite), but in the past I found that the quality and quantity of the user contributed
content about problem issues was lower, reflecting the greater proportion of novice users. That's an old datapoint
and might not be true today.

I've been working with Linux since 1996, so I've had a lot of practice with the compiling from source thing. 
I typically endup doing source installs of some subset of Postgres, ImageMagick, nginx, Ruby 1.8.7, pcre, 
readline, sqlite3, and then use RVM to build the 1.9.2 and 1.9.3 Rubies that I actually use. 

Still, If I wanted a different server distro than Centos/RHEL I'd probably try OpenSUSE first,
again for the size of the production user-base. 

As for hosting providers - latency is everything. Choose a host that is close to your user base and you will get a better user experience.
Regarding the $ per CPU power,I pay $50/month for a dual hyperthread "core" 2GB Nehalem VPS. That equates to one physical core.

If I bought a physical server, say a DellR610 with dual quad core CPUs and 12GB of RAM for $2200. (say $110/month over two years).
 I could host it in a colo for $110/month. That's $220/month for 8x CPU and 6x RAM. So approx half the cost of $ per CPU.

You can use vmstat to see if your provider is overprovisioning - the %steal column refers to the clock cycles where the virtual CPU has 
CPU work to do, but the vcpu isnt mapped to a pcpu, so your VM is waiting. If this % is higher than 2% or 3% you will 
see substantial pauses in your application. I've seen providers where this sits at 10% and spiked to 50% - the VMs were unusable, in my opinion.
I have never seen non-zero steal time in the year I've been at nfoservers.com

Scorpio

unread,
Mar 10, 2012, 3:46:03 PM3/10/12
to Hobo Users
Thats some useful info. I'll check the host and maybe look for a
gaming one to get better bang for my buck. I know a lot of stuff uses
CentOS but I've had such a horrid time with it that it's beyond words.
It might be just the fact that I might be digging in linux configs all
day but I honestly hate compiling from source. Yes, I know I'm weird
and so non pro for wanting things to be simple and not making my life
harder than it has to be. As far as getting a physical server goes I
can't really afford that at this ponit. nor can I afford the mess with
getting a secure space and 100/100 connection for it.

T. Schulz

unread,
Oct 25, 2014, 7:12:39 AM10/25/14
to hobo...@googlegroups.com
Hello everybody!

I'm locking für a Service Provider, which have Ruby on Rails including Hobo 

Does anyone have experiance with some providors?

Regards and Thanks


Donald Ziesig

unread,
Oct 25, 2014, 11:32:55 AM10/25/14
to hobo...@googlegroups.com
Herr Schulz,

I don't know about Germany, but I have been using heroku (San Francisco, CA) for years with both RoR and Hobo.  Works well, and the best part is their documentation which makes it easy to generate, test and debug locally, then upload it to their servers for deployment. (Uses git, as does Hobo).

Good luck,

Don Ziesig
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hobousers+...@googlegroups.com.

To post to this group, send email to hobo...@googlegroups.com.

Stefan Haslinger

unread,
Oct 26, 2014, 11:00:48 AM10/26/14
to hobo...@googlegroups.com
I was a happy Railshoster ( http://www.railshoster.de/ ) customer until I switched to my own hardware.

You had to install all Ruby gems yourself, but that was highly appreciated because you want to decide which version to use especially in case of bug fixes.
I was a Rails newbie in those days but there documentation was very helpful and clear to me. 
I ran Redmine on their platform with the cheapest plan and I had never issues with them. 
I remember I had a question with deployment and their support was friendly and helpful. 

Greetings from Vienna, Austria

Ibon Castilla

unread,
Oct 27, 2014, 4:28:28 AM10/27/14
to hobo...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Maybe I'm late to answer you, but we are trying Gandi.net's Ruby
Simple Hosting (https://www.gandi.net/hosting/simple?language=ruby).
The company is sited here on Europe and the hosting is still in beta
stage, but seems to run fine by now.

Regards, Ibon.

Abrazo, Ibon.

Usa Software Libre, tus úlceras te lo agradecerán
Realizado con Software Libre.
- --
GPG public key at http://sinanimodelucro.net/ibon_gmail.asc
Finderprint: 1761 59B9 6DE6 0402 31B9 1872 178F A6FD 75F9 EB29

El 25/10/14 a las 13:12, 'T. Schulz' via Hobo Users escribió:
> -- You received this message because you are subscribed to the
> Google Groups "Hobo Users" group. To unsubscribe from this group
> and stop receiving emails from it, send an email to
> hobousers+...@googlegroups.com
> <mailto:hobousers+...@googlegroups.com>. To post to this
> group, send email to hobo...@googlegroups.com
> <mailto:hobo...@googlegroups.com>. Visit this group at
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlROAiYACgkQF4+m/XX56ykzoACgrMMz2KqyrSzU0BLjKg8T3yE0
YWkAn0mmRixj3balUy+N7/3fv35yC4mF
=sINf
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages