RSSAmplifier

Blog

The Thoughtnotes

It is a notebook of software developer's thoughts. Anything worth remembering will live here.

blog.klimenko.siteRSS feed ↗6 posts

Latest posts

Logging tricks: duplicate and broadcast

Everybody loves logs! And the more of them we have, the better. They are so useful! Today I’m going to share a bit non-trivial approach to logging some background process: broadcasting messages into WebSocket channel and combining several loggers to work as a single one seamlessly.

Updating Rails: where’s a memcache gone?

Can you imagine that updating a Rails version may become a real chase for performance? Keep reading to know the whole story.

Transparent compression of RabbitMQ messages with Sneakers

When you’re sending a lot of messages into RabbitMQ message broker and have started to experience RabbitMQ slowdowns, maybe it’s time to think about message compression. Good news: if you’re using Sneakers, you can do it without any ado!

Lightweight multi-threaded Ruby application

We’re used to thinking of Ruby web applications being something slow, big and heavy like an elephant, but today let’s peek the opposite: the world of small pure Ruby web application capable of processing incoming data in the background.

Fake inputs for formtastic forms

Here I’m going to tell about very small gem I wrote to provide absolute read-only fields for ActiveAdmin’s resource editing page.

To null or NOT to NULL

Here’s the story of how ActiveRecord’s where.not(field: nil) may still happen to return nil in Postgres.