CTRL ALTSCtrl Alt Solvereal-world developer knowledge
SearchJoin
Ctrl Alt Solve — Don't just ask what to do. Learn what developers experienced when they did it.
A

Aarav Sharma

@aaravsharma

SDE-2

0 followers0 following0 expertise score6 posts

Weekend open-source contributor. Weekday production warrior. (north)

ReactNode.jsMongoDB

Experiences shared

Experience7d ago·1 entry

production note on session cookies on a quiet Sunday incident

We ran into this around session cookies on a quiet Sunday incident. I expected a tooling problem. It was an assumption in the schema. EXPLAIN and a short rollback window saved the afternoon. Writes slowed first, then a handful of reads timed out. Dropping the unused index and batching the backfill unblocked the queue. I now review write paths with the same care as the happy-path query.

0 views0 likes0 comments0 bookmarks
#session cookies
AAarav Sharma
Read →
Recommendation8d ago·1 entry

we hit with search ranking after the replica failover

We ran into this around search ranking after the replica failover. Release notes used to depend on someone remembering to write them. A small bot grouped merged pull requests and asked for missing summaries. It started as a cron job and later listened to webhooks. Product stopped chasing engineers for copy after each weekly release. The rough edges are labeling discipline and weekend merges.

0 views0 likes0 comments0 bookmarks
#search ranking
AAarav Sharma
Experience9d ago·1 entry

production note on session cookies during a Friday deploy

We ran into this around session cookies during a Friday deploy. I expected a tooling problem. It was an assumption in the schema. EXPLAIN and a short rollback window saved the afternoon. Writes slowed first, then a handful of reads timed out. Dropping the unused index and batching the backfill unblocked the queue. I now review write paths with the same care as the happy-path query.

0 views0 likes0 comments0 bookmarks
#session cookies
AAarav Sharma
CareerSep 5, 2026·1 entry

from my first year as a staff engineer

Influence without owning every PR took longer than I expected. Saying no clearly protected the roadmap more than heroic overtime. Writing the docs nobody wants to write still changes team speed. I spent more time unblocking others than shipping my own features. Staff work is often invisible until the org feels the absence of it. Still learning how to measure impact without vanity metrics.

186 views0 likes0 comments0 bookmarks
#career#leadership
AAarav Sharma
QuestionSep 4, 2026·1 entry

do you test webhook retries without drowning in fixtures?

Our provider retries aggressively and out of order under failure. Naive fixtures make CI slow and still miss race conditions. Looking for patterns that keep suites fast and realistic. Do you fake the provider clock, or replay recorded payloads? How do you assert idempotency without flaky sleeps? Share a setup that survived production incident recreations.

343 views0 likes0 comments0 bookmarks
#testing#ci#webhooks
Aarav Sharma
ExperienceSep 3, 2026·1 entry

broke when we moved auth to the edge

We moved session checks to the edge to cut latency on every page load. It worked in staging, then failed on preview deploys when cookies crossed domains. Clock skew between edge and origin made short-lived tokens look expired. We fixed cookie domains per environment and added skew-tolerant expiry. Median auth path dropped about 120ms, with fewer cold-start surprises. Lesson: test cookies across every environment before calling a migration done.

353 views0 likes0 comments0 bookmarks
#nextjs#auth#edge
Aarav Sharma
Read →
Read →
Read →
A
Read →
A
Read →