December 2010
4 posts
5 tags
Sinatra and SQLite on 64MB RAM
This article is a direct followup of Ruby on 64MB RAM.
If you didn’t read it, please do it now.
No MySQL
Since we’re running on very low resources, we need to think carefuly about every
process we want to run on our server.
First database that comes to mind is MySQL. We could probably squeeze it somewhere
in the remaining 40MB RAM, but is that really worth it? Our...
1 tag
Once again back on tumblr
I’ve moved my blogs multiple times in the past few years, always
expecting things to improve.
At first I started with WordPress, then somebody told me about tumblr,
so I moved everything to tumblr. Then I found out I can’t run any
server side scripts on tumblr, so I moved back to WordPress and yet again
installed every possible plugin you can imagine.
WordPress Plugins? Nothx
I...
3 tags
Ruby on 64MB RAM
This week I got my hands on 64MB RAM and very little CPU VPS. At first I thought it’s useless since there’s no way I can do anything with this, even the smallest Rails app barely runs on 256MB with nginx and MySQL.
But what about Sinatra? Could we run a small database driven application on such a tiny server? Let’s give it a try!
Let’s try to do this from the...
3 tags
Walk the Path to Ruby Enlightenment
As Ruby is gaining popularity, many new people come to learn it. Even though there are numerous numbers of books for the topics, many programmers prefer to learn by example.
Not everyone has the time to buy a thick book full of examples and just start reading it. Then you have to rewrite the examples from the book to try them yourself, which is pain in sometimes pain in the ass, as books contain...