Log inOpen app
Log inOpen app
Ershad Kunnakkadan
2,373 posts
Ershad Kunnakkadan profile banner
@ershus

Ershad Kunnakkadan

@ershus
Staff Engineer @Gumroad I help companies scale with AI, build faster, and cut infra costs. DM for consulting.
Dubai
ershadk.com
Joined April 2009
786 Following
4,971 Followers
RepliesRepliesRepostsRepostsMediaMedia

Ershad Kunnakkadan’s posts

Get the full app experience
Unlock more features and see what people are talking about right now.
Open X
  • @ershus
    Ershad Kunnakkadan
    @ershus
    Nov 25
    Total cost savings since September are now at ~$265K/year 🚀 It's incredible how much we can uncover, investigate, and optimize with AI to drive real, measurable cost savings.
    @ershus
    Ershad Kunnakkadan
    @ershus
    Nov 25
    Another ~$71k/yr off @gumroad's infra bill: 1. Reserved the servers we kept for a year, plus a Savings Plan 2. Cut our log cluster from 6 to 4 nodes 3. Deleted 6 Supabase databases nobody used 4. Moved our AI agent to a cheaper model host
    Image
    1
    10
    497
  • @ershus
    Ershad Kunnakkadan
    @ershus
    Nov 25
    Another ~$71k/yr off @gumroad's infra bill: 1. Reserved the servers we kept for a year, plus a Savings Plan 2. Cut our log cluster from 6 to 4 nodes 3. Deleted 6 Supabase databases nobody used 4. Moved our AI agent to a cheaper model host
    Image
    @ershus
    Ershad Kunnakkadan
    @ershus
    Oct 30
    Image
    Found two sneaky costs in @gumroad's AWS bill: 1. Since Rails 8.1, a worker in every preview app was stuck in an OOM-kill loop, burning CPU credits 2. Our Elasticsearch client logged every request and response body: half our log volume With cleanup: ~$1.4k/mo, ~$17k/yr saved
    7
    2
    27
    4.1K
  • @ershus
    Ershad Kunnakkadan
    @ershus
    Oct 30
    Found two sneaky costs in @gumroad's AWS bill: 1. Since Rails 8.1, a worker in every preview app was stuck in an OOM-kill loop, burning CPU credits 2. Our Elasticsearch client logged every request and response body: half our log volume With cleanup: ~$1.4k/mo, ~$17k/yr saved
    Image
    @ershus
    Ershad Kunnakkadan
    @ershus
    Oct 29
    Bar chart of Gumroad's email analytics database cost per month: $1,378 for a hosted MongoDB cluster, $207 for a single DynamoDB table, about $14k saved a year. Beside it, query times: the stats query for a page of 20 emails is 118 times faster, from 861 ms to 7.3 ms, and the open count on a big send is 51 times faster, from 113 ms to 2.2 ms.
    We recently migrated ~1B email analytics records at @gumroad from MongoDB to DynamoDB. Zero downtime. Query time: 861ms → 7ms Cost: $1,378 → $207/mo (~$14k/yr saved) The trick: single-table design with precomputed counters. A stats page is one read, not a count per email.
    9
    1
    55
    6K
  • @ershus
    Ershad Kunnakkadan
    @ershus
    Oct 30
    Canon abandoned my ~10-year-old LBP2900 printer on modern Macs. Claude compiled an open-source driver, inspected raw USB bytes, tracked down a one-line memory bug, fixed it, and got the printer working again. One of AI's best tricks: bringing old hardware back to life. Saved the next person some trouble:
    Card image
    Decode status replies by payload size, not total reply size by ershad · Pull Request #55 · mounai...
    From github.com
    2
    1
    19
    670
  • @ershus
    Ershad Kunnakkadan
    @ershus
    Oct 29
    We recently migrated ~1B email analytics records at @gumroad from MongoDB to DynamoDB. Zero downtime. Query time: 861ms → 7ms Cost: $1,378 → $207/mo (~$14k/yr saved) The trick: single-table design with precomputed counters. A stats page is one read, not a count per email.
    Bar chart of Gumroad's email analytics database cost per month: $1,378 for a hosted MongoDB cluster, $207 for a single DynamoDB table, about $14k saved a year. Beside it, query times: the stats query for a page of 20 emails is 118 times faster, from 861 ms to 7.3 ms, and the open count on a big send is 51 times faster, from 113 ms to 2.2 ms.
    read image description
    @ershus
    Ershad Kunnakkadan
    @ershus
    Oct 26
    Image
    Found a cost leak in @gumroad's CDN. It kept a copy of every static asset per seller domain, keyed on the Origin header, and an edge function patched CORS per request. Fixed the cache key, swapped the function for a free header rule. Hit rate 5% → 95%. ~$11k/year saved.
    18
    11
    241
    15K
Edit with