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 professionals collaborating on a 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 the Mantine component library, but it isn’t 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

How to Create a UPI Payment Link in HTML

TLDR - The URL scheme is upi://pay?pn=<Name>&pa=<UPI ID>&cu=<Currency Code> ...

November 6, 2020 · 1 min · Vikas Kumar