Tag Archives: ruby

Hot Potato – A Real-time Processing Framework

Today, I am happy to announce the availability of HotPotato.  Hot Potato is an open source real-time processing framework written in Ruby. Originally designed to process the Twitter firehose at 3,000+ tweets per second, it has been extended to support … Continue reading

Posted in Technology | Tagged , , | Leave a comment

Signal Handling

A signal is a way to notify a process of an event from another process. A signal handler allows one execute code when a signal is received. For example, the most common signal sent from the command-line is SIGINT via … Continue reading

Posted in Technology | Tagged | Leave a comment

EventMachine Process Control

A while ago I wrote a pilot project for a real-time twitter analysis tool using eventmachine and websockets. It worked perfectly, but there were questions how to deploy it to production. Specifically, how to handle process management, logging, configuration, deployment, … Continue reading

Posted in Technology | Tagged , , | Leave a comment

Efficient Real-Time Memory De-duplication

De-duplication is the process of removing duplicates from a collection. Hashes and bloom filters are common tools to use when implementing de-duplication, however, there are times when these are not fast enough. It is fairly simple to implement a memory … Continue reading

Posted in Technology | Tagged , | Leave a comment

Sinaglo – A Sinatra-based Blog backed by MongoDB

I will say, I love the simplicity of Sinatra and MongoDB and Sinaglo is a great way to demonstrate Sinatra and MongoDB working together for a semi-useful application. Sinaglo is everything you need and nothing you don’t. This started out as a project … Continue reading

Posted in Technology | Tagged , , | Leave a comment

InvalidAuthenticityToken Error in Rails

Working with a RESTful API in Rails can be a bit challenging at times.  One such problem is the ActionController::InvalidAuthenticityToken error.  This error is thrown when authenticity token is not present or invalid.  (This is how Rails protects itself from … Continue reading

Posted in Technology | Tagged , , , , | Leave a comment

How I update my status

I have long said, Twitter is not a product, it’s a feature.  (Although the general population is not listening to me.)  Since several sites now support some type of status, I wanted an easy way to update them at once.  … Continue reading

Posted in Technology | Tagged , , , , , | Leave a comment