Blogs

When a company becomes a hostage of its own employees..
Often the company is brought into this situation because it is trying to save on hiring more good people at the beginning. Saving money in the beginning will very quickly start to cost much, much more, when the company becomes the hostage of its o...


Real World Rails applications and their open source codebases for developers to learn from
This project brings 100 (and growing) active, open source Rails apps and engines together in one repository, making it easier for developers to download the collected codebases and learn from Rails apps written by experienced developers. Reading ...

Production Twitter on One Machine? 100Gbps NICs and NVMe are fast - Tristan Hume
In this post I’ll attempt the fun stunt of designing a system that could serve the full production load of Twitter with most of the features intact on a single (very powerful) machine. I’ll start by showing off a Rust prototype of the core tweet d...

How to Monitor and Fix PostgreSQL Database Locks in Rails
PostgreSQL database locks usually work seamlessly until they don’t. Before your Rails app dataset and traffic reach a certain scale, you’re unlikely to face any locks-related issues. But if your app suddenly slows down to a crawl, deadlocks likely...


Super Standard: How to add gem extensions and custom rules to Standard Ruby
But first, it might be good to back up and remind ourselves of Standard’s purpose. Yes, what it does is to automatically format code and safeguard it against common problems. But why it exists is to reduce the frequency of low-value discussions an...

Unlock the Potential of VS Code for Ruby Programming | by Daniel Fintinariu
If you’re like me and your RubyMine trial version expired, you’re probably relying on VS Code. While the former is an amazing tool, it comes behind a paywall, unfortunately. Hopefully, JetBrains will reconsider at some point and have a Community E...

Set up a basic multi-tenant architecture in Rails 7
Multi-tenancy in Rails refers to the capability of a single instance of a Rails application to serve multiple, isolated tenants (i.e. separate customers or organizations) using the same codebase and infrastructure. Each tenant has its own set of d...

Rails Containerization: A Practical Guide to Dockerizing Your App | Hello Max!
As a developer, I know that the process of deploying a Rails application can be a headache. But with Docker, you can ease the pain and take your application to the next level. In this guide, I’ll walk you through the process of containerizing your...