RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

meskyanichi — 15 posts

Store Schema v0.0.1
I've just released Store Schema. Enhances ActiveRecord::Base.store_accessor with data conversion capabilities.
Parelation v0.0.1
I've just released Parelation. It translates HTTP parameters to ActiveRecord queries.
Msngr v0.0.1
I recently released Msngr. A light-weight Ruby library for multi-threaded Ruby applications that allows threads to share a single service connection for more efficient messaging.
Learn how to reduce resource consumption with Sidetiq, and save $35/mo if you're using Heroku.
Git Go is a small command-line utility distributed as a RubyGem that allows you to easily create/destroy/rename/list all your private-hosted git repositories on your own server. All you need is a small VPS (256MB RAM / 10GB HDD / 1vCPUCore should be sufficient).

Git Go also provides you with detailed instructions on how to set up your server in order to be able to create remote repositories from your local machine using the provided command-line utility. The instructions also show you how to set up automatic/daily compressed/archived backups of all your git repositories, store them on Amazon S3, cycle them and send you success/error notifications by email, all using the Backup RubyGem. It's easy, and only takes a few minutes to set up.
So you created a static website using nanoc, the static site generator. But to where could you deploy it? The most obvious choice would be a VPS. However, using Nanoc::Heroku you can deploy to your static website to Heroku's performant and managed platform for free. Keep reading to find out how.
As applications become more complex, you might find yourself repeating particular actions over and over again in your development environment. Learn how you can automate such actions using the Guard RubyGem.
Every application you deploy should be monitored and managed by some type of process monitor to ensure your processes are up and running at all times. See how this is done using the Foreman RubyGem and the Upstart utility.
With the introduction of Heroku's new stack called Celadon Cedar, it is now possible to dramatically improve throughput by adding more concurrency to a single dyno. Check out my article to find out how!
A short introduction article for my new blog, covering an issue I recently had with CoffeeScript in Rails 3.0.7 (Node/NPM to be more specific).
A while back I released HireFire, an open source RubyGem which allows you to auto-scale your Heroku workers, which saves you money and enables faster job processing. This went fine for a while, but unavoidable issues occurred due to Heroku's platform limitations.

Today I launched a new hosted service (also called HireFire) to address these issues.
Check out my guest post over at Jeff Kreeftmeijer's blog if you're interested!
Just pushed out a new gem called HireFire (GitHub link)! HireFire automatically "hires" and "fires" (aka "scales") Delayed Job (and soon Resque!) workers on Heroku. When there are no queued jobs, HireFire will fire (shut down) all workers. If there are queued jobs, then it'll hire (spin up) workers. The amount of workers that get hired depends on the amount of queued jobs (the ratio can be configured by you).

HireFire is great for high, mid and low traffic applications. It can save you money by only hiring workers when there are pending jobs, and then firing them again once all the jobs have been processed. It's also capable to dramatically reducing processing time by automatically hiring more workers when the queue size increases.
Just wanted to let everyone that might be interested know I just finished my 100% rewrite of the Backup gem.

Brief description:

Backup is a RubyGem (for UNIX-like operating systems: Linux, Mac OSX) that allows you to configure and perform backups in a simple manner using an elegant Ruby DSL. It supports various databases (MySQL, PostgreSQL, MongoDB and Redis), it supports various storage locations (Amazon S3, Rackspace Cloud Files, Dropbox, any remote server through FTP, SFTP, SCP and RSync), it can archive files and folders, it can cycle backups, it can do incremental backups, it can compress backups, it can encrypt backups (OpenSSL or GPG), it can notify you about successful and/or failed backups. It is very extensible and easy to add new functionality to. It's easy to use.

The source is over at GitHub: (see README)

It took my time to write up some (hopefully) good documentation before this release.
The documentation can be found on the Wiki pages here:

Just released Mongoid::Paperclip for those that are interested. Quite a bunch of people have been looking around for a solution to upload files using Paperclip with the Mongoid ODM. This is my attempt to solving that problem, so here it is for anyone that's interested.
Learn how to deploy Ruby on Rails applications to your server using Git.