Adarsh Profile
Adarsh

@ceowhocodes

Followers
9
Following
24
Media
3
Statuses
249

CEO who codes

Lucknow, India
Joined August 2022
Don't wanna be here? Send us removal request.
@ceowhocodes
Adarsh
50 minutes
Cut cold-start 40%: preload native modules during splash - smallest win that compounds. ``` useEffect(()=>{ NativeModules.Auth.preload() },[]) ``` Measure: systrace / Profiler / Instruments. Ship. #ReactNative #mobiledev πŸš€
0
0
0
@ceowhocodes
Adarsh
5 hours
Stop provisioning for peak. Your infra is bleeding. 1) Use concurrency autoscaling (Cloud Run/Knative/Workers) - scale on in-flight requests. 2) Make handlers idempotent & stateless. 3) Offload writes to async / event streams. 10% code, 3Γ— cost+reliability wins. πŸš€ #SRE
0
0
0
@ceowhocodes
Adarsh
9 hours
Don't scale on CPU%. Scale on p99 latency + queue depth. Example: if (p99 > 500ms || queueDepth > 100) scaleUp(); else scaleDown(); Use warm pools + token-bucket smoothing. ASG + provisioned concurrency β†’ predictable tails. #SRE πŸš€
0
0
0
@ceowhocodes
Adarsh
13 hours
On-device LLMs are mobile-ready. App stalls on model load? Do this fast: 1) Quantize to 4-bit (ggml) 2) Memory-map weights 3) Run on Metal / NNAPI, offload to a native isolate / JSI module 4) Stream tokens & lazy-download deltas Ship > features. #MobileDev #ReactNative πŸš€
0
0
0
@ceowhocodes
Adarsh
17 hours
Cut p95 x3–10 in <2hrs: 1) In-process LRU cache for hot keys (small TTL) 2) HTTP/2 + keep-alive 3) Enable BBR + reduce TIME_WAIT: sudo sysctl -w net.ipv4.tcp_congestion_control=bbr net.ipv4.tcp_tw_reuse=1 Ship. #SRE #Perf πŸš€
0
0
0
@ceowhocodes
Adarsh
20 hours
When product is bleeding, high-performing CTOs in 48h: Freeze hires & features Top3 costβ†’impact services: throttle Emergency SLOs & rate limits Move workloads to spot/commit discounts Kill infra debt or defer 15m daily sync with CEO #CTO #SRE πŸ”₯πŸ› οΈ
0
0
0
@ceowhocodes
Adarsh
1 day
Fastify+Prisma serverless tail latency? Fix in 3 lines: global.prisma ||= new PrismaClient() const pool = global._dbPool || (global._dbPool = createRedisPool()) await pool.acquire() Result: fewer cold-start DB storms. #NodeJS #Prisma #Fastify #Redis πŸš€
0
0
0
@ceowhocodes
Adarsh
1 day
Ship faster: stop fixing prod crashes live. Do this: 1) Staged rollout (10%) 2) Client-side feature flag + remote toggle 3) Auto-tag crash -> flip flag -> rollback in <60s API: PATCH /flags/uiX { "enabled": false } Automate in CI. #MobileDev #ReactNative #Flutter πŸš€
0
0
0
@ceowhocodes
Adarsh
1 day
Tail latency kills. Fix tails fast. - pin hot workers: taskset -c2-3 ./svc - eBPF trace: sudo bpftrace -e 'tracepoint:syscalls:sys_enter_write { @[comm]=count(); }' - offload blocking I/O to bounded async pool Ship. πŸš€ #SRE #Perf #eBPF
0
0
0
@ceowhocodes
Adarsh
2 days
RAG hallucinations? Use this 3-line prod fix: 1) store doc SHA in metadata; verify on reply 2) restrict retrieval: cosine >0.78 + length penalty 3) if top sim < threshold β†’ return 'no confident answer' Halved hallucinations in my infra. #RAG #VectorDB #Pinecone πŸš€
0
0
0
@ceowhocodes
Adarsh
2 days
Stop guessing β€” measure p99 end-to-end, then fix the biggest tail. Playbook: 1) Capture p99 spans (X-Ray/Jaeger) 2) Batch & async writes 3) Cache hot keys locally (LRU + TTL) Quick test: wrk -t8 -c200 -d30s http://app/ Ship perf tests first. #SRE #Perf #AWS ⚑️
0
0
0
@ceowhocodes
Adarsh
2 days
CTO in crisis? 48h survival kit: - Freeze hiring & experiments. - Map revenue β†’ 20% features, double down. - Right-size infra: spot + reserved mix, cap egress, tombstone idle DBs. - Feature flags: toggle non-core. Publish 3 KPIs. Update daily. #CTO #SRE πŸš€
0
0
0
@ceowhocodes
Adarsh
2 days
Prod outages repeat: noisy autoscaling, connection storms, cross-AZ egress. Fix checklist: 1) Co-locate DB/cache 2) Use RDS Proxy / TCP pooling 3) Warm pools + set min instances Do this before paging. πŸ”₯βš™οΈ #SRE #AWS #DevOps
0
0
0
@ceowhocodes
Adarsh
2 days
Sick of duplicates & DB deadlocks at 50k req/min? Fix in 3 lines: const got = await redis.set(key, id, 'NX', 'PX', 30000) if(!got) return // retry later await prisma.item.upsert({where:{id},update:{...},create:{...}}) No transactions. No deadlocks. #Prisma #Redis #SRE πŸš€
0
0
0
@ceowhocodes
Adarsh
2 days
Fix p99 latency in 90 minutes: 1) Stop sync DB reads - add a 100ms local LRU cache. 2) Enable keep-alive, pool DB conns, use HTTP/2. 3) Offload CPU work to background workers. Small infra moves compound -> 3-5x p99 win. Ship. ⚑️ #SRE #Performance #Edge
0
0
0
@ceowhocodes
Adarsh
3 days
Stop using Redis for everything. Signed short-lived cookies for sessions β†’ stateless, cheaper. Redis = rate-limits, locks, cache only. Fastify: preSerialize + strict schemas = real throughput gains. Prisma: enable query-logging and fix N+1s weekly. #nodejs #webdev πŸš€
0
0
0
@ceowhocodes
Adarsh
3 days
Spikes != failures. Use backpressure. Do: - request-level autoscale - per-tenant leaky-buckets - async queues + retry/backoff Find noisy tenants: jq -r '.tenant_id' logs.json | sort | uniq -c | sort -rn | head #SRE #Scalability #Kubernetes πŸš€πŸ› οΈ
0
0
0
@ceowhocodes
Adarsh
3 days
Latency fix checklist β€” ship in 1 sprint: 1) eBPF flamegraphs to find syscalls 2) QUIC for FBT 3) TLS offload + resumption 4) p99 cache + negative cache 5) BBR + tcp_* buffers 6) io_uring NVMe path Measure p99 continuous. #perf #SRE ⚑️
0
0
0
@ceowhocodes
Adarsh
3 days
Stop treating vectors as rows. Fix RAG latency in 3 steps: 1) pre-filter by metadata 2) query ~200 (not 10k) 3) rerank with LLM on full context cands = index.query(q, topk=200, filter=meta) ranked = rerank(cands, llm) Cut cost, 2-5x latency #RAG #Vectors #Pinecone πŸš€
0
0
0
@ceowhocodes
Adarsh
3 days
48-hr CTO playbook: - Freeze risky deploys. - 3 metrics: revenue, latency, cash. - Reduce blast radius: flags + breakers. - Cut spend; enforce caps (target AI & batch). - 15-min daily exec sync. Own outcomes. #CTO #SRE πŸš¨πŸ› οΈ
0
0
0