AsyncJob vs Thread

Unlocking Performance with AsyncJob: Specific Use Cases for I/O-Bound Operations

The Elasticsearch Scaling Nightmare Picture this: Your Rails application is humming along nicely until suddenly, user growth explodes. Great news, right? Not for our job queue. In a previous application I worked on, we faced significant challenges scaling ActiveJobs, primarily due to numerous Elasticsearch indexing and other I/O-bound tasks. As our user base grew, thousands of small jobs overwhelmed our queue, creating a perfect storm of bottlenecks despite our best efforts at dynamic worker scaling. ...

July 20, 2025 · 7 min · Vikas Kumar
Three proffessionals collaboration on single sheet of paper

How to Use Tiptap's Collaboration Feature with Rails Action Cable

In this post, we’ll walk through setting up Tiptap’s collaboration feature with Rails Action Cable and ReactJs. Tiptap is a powerful headless editor built on ProseMirror, and when combined with Y.js, it allows for real-time collaborative editing. We’ll use Mantine component library, but it’s not mandatory for this setup. If you prefer to dive directly into the code, check out the example on Github Prerequisites Ensure you have the following installed: ...

June 18, 2024 · 4 min · Vikas Kumar