Dhaval Singh
Dhaval Singh's Blog

Dhaval Singh's Blog

Follow
Follow
homeAbout MePerformance TuningDebugging AdventuresTalksResourcesnewsletter
Tag

performance

#performance

More content

Read more stories on Hashnode


Articles with this tag

From Bloat to Sleek: A Rails Memory Tale With Jemalloc

Sep 14, 20233 min read278 views

Prelude In my previous blog we tried to analyze what could be the reason behind a Rails app hogging so much memory. Now there are multiple ways to...

From Bloat to Sleek: A Rails Memory Tale With Jemalloc

Chronicles of a Rails App's Enigmatic Consumption

Sep 6, 20235 min read17 views

Prologue: The Memory-Hungry Monolith At Anarock, we have a monolithic Rails app that's been consuming a significant amount of memory. After numerous...

Chronicles of a Rails App's Enigmatic Consumption

Faster JSON generation using PostgreSQL

Mar 12, 20232 min read10 views

What? There are a lot of ways to generate JSON in rails, from the inbuilt to_json to gems like jbuilder gem or active model serializer. But as...

Faster JSON generation using PostgreSQL

Effective querying in belongs to associations

Jan 8, 20221 min read3 views

In this post i'll go through how to write efficient queries for belongs_to associations. I primarly work with Rails so it will focus on that a bit but...

Effective querying in belongs to associations

Benchmarking Ruby code 101

Jan 7, 20221 min read6 views

There are a lot of times when I wonder if writing code using one way would be faster than the other esp now days when there are 10 different ways of...

Benchmarking Ruby code 101

Cat Driven Development: Working with JSONB in PostgreSQL (#2)

Dec 21, 20215 min read6 views

Context Following my Purrsuit of optimization method a few days ago I noticed a very slow api on New Relic at , it was our one of the slowest due as...

Cat Driven Development: Working with JSONB in PostgreSQL (#2)