<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Hunch Engineering - Medium]]></title>
        <description><![CDATA[Behind the scenes of building Hunch, a personality-based dating app engineered for scale. We write about platform architecture, AI, distributed systems, and the tech powering meaningful connections. - Medium]]></description>
        <link>https://medium.com/hunch-engineering?source=rss----b6eed2429e7f---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Hunch Engineering - Medium</title>
            <link>https://medium.com/hunch-engineering?source=rss----b6eed2429e7f---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:55:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/hunch-engineering" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How We Shipped Hunch 3.0 in 2 Weeks, Not 8]]></title>
            <link>https://medium.com/hunch-engineering/how-we-shipped-hunch-3-0-in-2-weeks-not-8-de8bf2fcb29a?source=rss----b6eed2429e7f---4</link>
            <guid isPermaLink="false">https://medium.com/p/de8bf2fcb29a</guid>
            <dc:creator><![CDATA[Nishant Tanwar]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 07:50:53 GMT</pubDate>
            <atom:updated>2026-10-29T07:50:52.213Z</atom:updated>
            <content:encoded><![CDATA[<p>Hunch is a dating app built around actually meeting, not endless swiping. 3.0 is the release where Sia, our AI matchmaker, moved into the chat and started suggesting a time and place for a first date, with a new onboarding and profile built around that.</p><p><strong>By the numbers, before → after</strong></p><ul><li>Build time for a release this size: ~8 weeks → <strong>2 weeks</strong> (2 Mar handoff → 22 Mar on both stores)</li><li>AI coding tools in use: 5 (Copilot, Cursor, Antigravity, Xcode assistant, chat window) → <strong>1</strong> (Claude Code)</li><li>Shared context files the AI reads: 0 → <strong>4 per repo</strong> (instructions, plan, learnings, commands)</li><li>First-pass code review: humans on 800-line diffs → <strong>Greptile on every PR</strong>, humans review logic only</li><li>Regression testing: manual, every release → <strong>automated API suite + E2E</strong> on critical flows</li><li>Rollout: staged 20 % first → <strong>100 % on day one</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rjs5MJllvk4a4JkF1P98Vw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HZ-cMvVfVAhDy4RvKC-zVg.png" /></figure><h3>What actually made the difference</h3><p><strong>3 weeks of setup before the 2 weeks of build.</strong> The chart above is the whole argument: almost nothing merged until day five, because we spent the first days building the thing the AI works from. Here is what we set up and why.</p><p><em>Why.</em> Our first attempt was to just point Claude Code at the repo and the PRD. The code it wrote was clean and wrong. It didn’t know which API shapes older app versions still depend on, how we structure GraphQL resolvers, or our Flutter state pattern, so every dev was re-explaining those things each session and getting slightly different answers. The setup exists to say each of those things once, in a file, so the AI reads the same rules every time and the team’s corrections accumulate instead of evaporating.</p><p><em>How, four files and one connection per repo:</em></p><ol><li><strong>Instructions file.</strong> Conventions, folder layout, frozen APIs, and a short “don’t” list (it kept creating stray markdown files; one line stopped it). Written by the lead, reviewed by the team, about half a day.</li><li><strong>MCP servers for Figma, the PRD tool, GitHub and Postgres.</strong> So the AI reads the design frame, the spec page and the schema directly instead of a human summarising them. Single biggest unlock. Tip: link one screen, never the whole Figma file.</li><li><strong>Plan file per repo, kept in sync.</strong> The frontend plan carries the backend API contracts, so the mobile side wires up endpoints without anyone pasting schemas around. The first plan was sent back as too vague; the rule became 80 % of the effort goes here.</li><li><strong>Learnings file.</strong> Every human correction goes in, so the same mistake isn’t made twice. A plain text file, and the reason week two was faster than week one.</li><li><strong>Slash commands</strong> for the repetitive parts: cut a branch, split a 30-file change into chained PRs, check for new backend APIs at session start. This is what let the slower adopters follow the workflow instead of inventing it.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IAW59g3W6fhhcjtAb4VDeQ.png" /></figure><p><strong>80 / 20, planning to prompting.</strong> Our first implementation plan was sent back as too vague. Every time someone skipped the plan, the output looked right and wasn’t.</p><p><strong>Pairs by feature, not teams by layer.</strong> One mobile dev + one backend dev own a feature end to end. Onboarding and Sia-in-chat were done in the first 10 days.</p><p><strong>Review and tests automated in the same window.</strong> If code is written 5x faster and still tested by hand, you’ve only moved the queue.</p><h3>What didn’t work</h3><p>UI gets to 70–80 % from Figma; a human finishes it. The regular release in flight went out late because nobody was left off the sprint. Adoption was uneven, which is exactly why the plan and command files exist.</p><p>Standardise before you optimise. The jump from “everyone on their own AI” to “everyone on one AI with shared context” was bigger than the jump from no AI to AI.</p><p>And if you’re done with swiping and want to meet someone for real, Hunch is on the <a href="https://apps.apple.com/us/app/hunch-dating-app-vibe-meet/id6444654663">App Store</a> and <a href="https://play.google.com/store/apps/details?id=social.hunch.app">Play Store</a>. Sia will handle the awkward beginning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de8bf2fcb29a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hunch-engineering/how-we-shipped-hunch-3-0-in-2-weeks-not-8-de8bf2fcb29a">How We Shipped Hunch 3.0 in 2 Weeks, Not 8</a> was originally published in <a href="https://medium.com/hunch-engineering">Hunch Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We Cut Our AWS Bill by 41% at Hunch]]></title>
            <link>https://medium.com/hunch-engineering/how-we-cut-our-aws-bill-by-41-at-hunch-1167385419e8?source=rss----b6eed2429e7f---4</link>
            <guid isPermaLink="false">https://medium.com/p/1167385419e8</guid>
            <dc:creator><![CDATA[Nishant Tanwar]]></dc:creator>
            <pubDate>Tue, 07 Apr 2026 12:50:11 GMT</pubDate>
            <atom:updated>2026-04-07T12:50:09.175Z</atom:updated>
            <content:encoded><![CDATA[<p>In startups, cloud costs have a way of sneaking up on you. You’re busy shipping features, scaling infra, putting out fires and before you know it, your AWS bill is bloated and nobody can explain why.</p><p>That’s exactly where we were at <a href="https://apps.apple.com/us/app/hunch-dating-app-vibe-meet/id6444654663">Hunch</a>, a dating app helping people find meaningful connections. We were so focused on building the product that cloud costs quietly ballooned in the background.</p><p>So we decided to do something about it. Over three months, we went through our AWS account <strong>service by service</strong>, optimised one thing at a time, and brought our monthly spend down by <strong>41%</strong>.</p><p>Zero downtime. Not a single incident.</p><p>Here’s exactly what we did.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6Iwei8a0rq5Q0G7G2FoVg.png" /></figure><h3>1. The Big One: Consolidating Regional Infrastructure</h3><p>This was the single largest cost reduction — and the one that took the most conviction.</p><p>We had a full infrastructure setup running in <strong>Mumbai (ap-south-1)</strong> to serve Indian users — an EKS cluster, EC2 instances, load balancers, NAT Gateways, VPCs, the works. On paper it made sense: keep latency low. In practice? We were paying to maintain an entire parallel environment for a user base that didn’t justify the overhead.</p><p>We ran latency tests and found that routing Indian traffic to <strong>US Virginia (us-east-1)</strong> added a manageable amount of latency, well within acceptable thresholds for our use case.</p><p>But we weren’t going to flip a switch overnight.</p><p>We already had <strong>AWS Global Accelerator</strong> in place, so we used it to route Indian requests to US Virginia while the India infra was still running. This gave us a safety net. If anything broke, we could route traffic back instantly. We monitored latency, error rates, and stability closely. Only after we were confident everything was solid did we shut down the India infrastructure entirely.</p><p>Zero downtime throughout the migration.</p><p>Once the India consolidation was done, we also killed our <strong>staging environment, </strong>which had its own servers, its own EKS cluster, its own load balancers. Between India prod and staging, the cleanup was sweeping:</p><ul><li><strong>EC2</strong> — Terminated India production and staging instances. Cleaned up unused AMIs, orphaned EBS volumes, and stale snapshots that had been piling up for months. <strong>~40% reduction.</strong></li><li><strong>EKS</strong> — Shut down the India and staging clusters. <strong>~39% reduction.</strong></li><li><strong>VPC &amp; NAT Gateway</strong> — Deleted VPCs and multiple NAT Gateways from decommissioned environments. Every idle NAT Gateway charges you by the hour plus data processed. <strong>~23% reduction.</strong></li><li><strong>Global Accelerator</strong> — No longer needed with all traffic on US Virginia. <strong>100% reduction.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lna5_PsQLjEiD_wRWOibAQ.png" /></figure><p>This one decision unlocked savings across half a dozen services.</p><p><strong>Takeaway:</strong> Don’t run multi-region infrastructure out of habit. Run it because the numbers demand it.</p><h3>2. Cutting the Silent Budget Killer: Data Transfer — ~56% Reduction</h3><p>Data transfer is the AWS cost nobody sees coming. You don’t notice it until you actually look at the line items.</p><p>Two things made a real difference:</p><p><strong>First</strong>, consolidating the India region eliminated cross-region data transfer entirely. Traffic that used to hop between regions now stayed within us-east-1.</p><p><strong>Second</strong>, we implemented <strong>VPC Endpoints</strong> for services like S3 and DynamoDB. Without VPC Endpoints, traffic to these services routes through the public internet via a NAT Gateway and NAT Gateway data processing charges add up fast. With VPC Endpoints, the same traffic stays on the AWS private network at no per-GB cost.</p><p><strong>Tip:</strong> Go check your NAT Gateway data processing charges right now. If you’re not using VPC Endpoints for S3 and DynamoDB, you’re almost certainly overpaying.</p><h3>3. Fixing a Redis Bug That Was Costing Us Double — ~71% Reduction</h3><p>This was the most satisfying fix on the list.</p><p>We were running a <strong>Redis cluster</strong> on ElastiCache, and the costs felt way too high for our workload. When we dug in, we found a bug, our application was distributing keys unevenly across cluster nodes. One node was getting hammered while others sat idle. Because that hot node was the bottleneck, we’d scaled up the entire cluster to handle it.</p><p>The fix? We corrected the key distribution logic. Traffic spread evenly, resource demand dropped, and we were able to:</p><ul><li>Delete unused ElastiCache instances from old experiments</li><li>Migrate to a <strong>lower-tier instance</strong></li><li>Cut Redis costs by <strong>over 71%</strong></li></ul><p>The infrastructure wasn’t the problem. The application code was.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Un2fR4J7xGymXit3m33TGg.png" /></figure><p><strong>Tip:</strong> Before throwing more hardware at a performance issue, check if your application is actually using the existing hardware efficiently. You’d be surprised how often the bottleneck is in the code, not the infra.</p><h3>4. Cleaning Up Unused Kinesis Streams — ~51% Reduction</h3><p>This one’s almost embarrassing.</p><p>We had <strong>Kinesis data streams</strong> sitting idle. Most of them were tied to the India region infrastructure. Once we migrated Indian users to US Virginia, these streams had no traffic flowing through them. A few others were leftovers from deprecated features and old experiments. AWS doesn’t care if your stream is processing zero messages. You’re still paying for the provisioned shard capacity.</p><p>We audited our Kinesis usage, confirmed the streams were no longer needed, and deleted them. That’s it.</p><p>If a service isn’t processing data, it shouldn’t be running.</p><h3>5. Pulling the Plug on OpenSearch — ~65% Reduction</h3><p>We asked a simple question: <strong>do we actually need this?</strong></p><p>For most of our use cases, the answer was no. We removed all <strong>OpenSearch</strong> instances that weren’t actively serving production workloads. What once seemed essential had become legacy infra that nobody questioned.</p><p>Sometimes the best optimisation is just removing a service entirely.</p><h3>6. Taming Storage Costs with Lifecycle Policies — ~35% Reduction</h3><p>S3 is the cheapest storage option on AWS. But over time, if nobody’s watching, it becomes a dump yard, non-prod logs, test data, build artefacts, old staging data, all sitting in Standard storage indefinitely with no expiry.</p><p>That was us.</p><p>We attacked it from multiple angles:</p><ul><li><strong>Removed unused S3 buckets</strong> from deprecated features and old experiments</li><li><strong>Implemented lifecycle policies</strong> — non-prod logs now transition to cheaper storage classes and eventually expire</li><li><strong>Removed a Google BigQuery integration</strong> that was consuming an S3 bucket and racking up data transfer costs we didn’t need to be paying for</li></ul><p>Storage costs compound fast when nobody’s cleaning up. Set up lifecycle policies once, and they do the work for you forever.</p><h3>7. Removing Unused Databases — ~6% Reduction</h3><p>We audited our <strong>RDS instances</strong> and found databases provisioned for services that no longer existed. We removed them.</p><p>It sounds basic, but unused RDS instances are expensive — even a small instance runs a decent amount per month doing nothing. Multiply that by a few forgotten instances and it adds up.</p><h3>8. Cleaning Up Container Images — ~23% Reduction</h3><p>Every deployment pushes a new image to <strong>ECR</strong>. Nobody deletes the old ones. Over months, you’re sitting on thousands of images from services that don’t even exist anymore.</p><p>We cleaned out images from deprecated services and implemented <strong>lifecycle policies</strong> to retain only a fixed number of recent images per repository. Nearly a quarter of our ECR spend was just dead weight.</p><p><strong>Tip:</strong> Set ECR lifecycle policies from day one. It takes 5 minutes and saves you from ever having to do a painful manual cleanup.</p><h3>9. Silencing the Noisy Queries: CloudWatch — ~18% Reduction</h3><p>CloudWatch was costing more than it should, and the root cause was a logging issue.</p><p>We had a database user running <strong>large, frequent queries</strong> against Postgres — heavy queries generating massive log output, all being shipped to CloudWatch. The ingestion volume was enormous.</p><p>The fix:</p><ul><li>Created a <strong>new dedicated Postgres user</strong> for that workload</li><li>Configured logging to <strong>exclude that user’s activity</strong></li><li>Log volume dropped dramatically — and so did the bill</li></ul><p>On top of that, we cleaned up <strong>unused log groups</strong> from services and experiments that no longer existed.</p><p><strong>Tip:</strong> Go to your CloudWatch console and sort log groups by size. Chances are you’ll find a few that are way larger than they should be.</p><h3>10. Locking In Redshift Savings with Reserved Instances</h3><p>Our <strong>Redshift cluster</strong> ran 24/7 for analytics. We were paying on-demand rates for a workload that hadn’t changed in months. Classic missed opportunity.</p><p>We switched to <strong>Reserved Instances</strong> — one-year commitment, <strong>30% discount</strong>. The full savings will show up over the coming months as the reservation runs its course, but the annualised impact is significant.</p><p>If you have a steady-state analytical workload on Redshift and you’re still on on-demand pricing, you’re leaving money on the table.</p><h3>11. Getting a Flat 5% Discount with a Cloud Cost Management Partner</h3><p>We onboarded a <strong>cloud cost management service</strong> that gives us a flat 5% discount on our entire AWS spend. No complex commitments, no reserved instance juggling — just a straight reduction across the board.</p><p>As the bill came down, the absolute discount naturally decreased too, but it keeps shaving off a meaningful percentage every month.</p><p>If you haven’t explored third-party cloud cost management partners, it’s one of the lowest-effort optimisations you can make.</p><h3>The Full Picture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*eGdZcuknOexDMpVpoqgBFw.png" /></figure><p>Service Reduction EC2 ~40% Data Transfer ~56% ElastiCache ~71% Kinesis ~51% OpenSearch ~65% S3 ~35% EKS ~39% RDS ~6% ECR ~23% CloudWatch ~18% Global Accelerator 100% ELB ~30% Redshift 30%* VPC ~23% <strong>Overall</strong> <strong>~41%</strong></p><p><em>*Redshift RI annualised discount; full impact reflects over the commitment period.</em></p><h3>The Takeaway</h3><p>Here’s what worked for us: <strong>one service at a time.</strong> Pick a service, make the change, monitor the impact, confirm stability, then move to the next one. Never bundle. If something breaks, you know exactly what caused it. If costs drop, you know exactly what drove it.</p><p>Three months, service by service, zero downtime.</p><p>But here’s the thing, we don’t consider this finished. Cost optimisation isn’t a project with a deadline. It’s an ongoing discipline. New services get spun up, usage patterns shift, pricing changes. If you treat it as a one-time cleanup, the costs will creep right back up.</p><p>If your AWS bill has been growing and nobody can explain why, start here:</p><ul><li>Are you running infra in regions you don’t need?</li><li>Is anything in storage that should’ve been deleted months ago?</li><li>Are you paying on-demand for predictable workloads?</li><li>Is your data taking expensive routes when cheaper ones exist?</li><li>Are there provisioned resources nobody’s using?</li><li>Is your application code making your infra work harder than it needs to?</li></ul><p>The answers will save you more than you expect.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1167385419e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hunch-engineering/how-we-cut-our-aws-bill-by-41-at-hunch-1167385419e8">How We Cut Our AWS Bill by 41% at Hunch</a> was originally published in <a href="https://medium.com/hunch-engineering">Hunch Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>