akhilesh kumar ojha (@kumarakh) header
akhilesh kumar ojha (@kumarakh) profile picture

Software Engineer | React | Node | TypeScript | php |python | Daily quizzes, code reviews & tech explanations | India | RTs ≠ endorsement

Joined April 2011
Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)Photo by akhilesh kumar ojha (@kumarakh)
Replying to @Umesh__digital
Use a resumable, chunked upload with a server-tracked upload session and idempotent part uploads; on failure, the client queries uploaded parts and resumes from the last acknowledged chunk, then commits with checksum verification.
2
45
22,031
How AI Works? How can machines think, learn, and make decisions? Discover how AI transforms data into intelligence.
2
56
A backup you never restore isn't a backup.
3
3
156
akhilesh kumar ojha retweeted
Why worry when you can trust? Overthinking only clouds the mind and steals the joy of the present moment. Leave the heavy lifting to the Divine. Put your faith in Krishna and let His peace fill your heart.

199
507
25
6,895
5,064,127
akhilesh kumar ojha retweeted
Reel vs Reality:
11
27
1
277
19,864
akhilesh kumar ojha retweeted
Caching terms backend engineers mix up: Cache Hit: data found in cache, DB not touched Cache Miss: data not in cache, DB gets queried Cache Eviction: old data removed to make space for new data TTL: how long data lives in cache before expiring Write-Through: write to cache and DB at the same time Write-Behind: write to cache first, DB later
2
4
1
35
1,583
akhilesh kumar ojha retweeted
Programming languages and the companies keeping them alive COBOL → Banks Java → Enterprises Python → AI startups JavaScript → Everyone PHP → The entire internet somehow Go → Cloud infrastructure Rust → Engineers who enjoy rewriting things C → Operating systems C++ → High-performance systems Bash → That one script nobody wants to touch SQL → The real programming language
3
4
36
2,677
Your distributed system goes down. You have to choose one: A) Show stale data (stay available) B) Return an error (stay consistent) Banks choose B. Social media chooses A. Most devs never think about this until production breaks at 3am. Which one does YOUR system choose?
1
2
58
akhilesh kumar ojha retweeted
How do you center a div in 2026? A) Flexbox (the right way) B) Grid (the powerful way) C) position absolute + transform D) Still Googling it every time CSS went from impossible to three different ways to do the same thing. Which one do you actually use?
1
1
57
akhilesh kumar ojha retweeted
When you hit scaling issues, what do you reach for first? A) Add more servers (horizontal scale) B) Optimize the database queries first C) Add a caching layer (Redis) D) Check if you even need to scale yet Most engineers skip D entirely. What's your honest answer? 👇
2
1
82
D. Investigate first. Always. Restart without knowing why CPU is at 95% makes it worse. Rollback assumes the deploy caused it. One minute in slow query logs tells you more than five minutes of blind fixes. Never treat symptoms at 2am. Find the cause.
Production Scenario: 2:13 AM. API error rate: 35% Database CPU: 95% 50,000+ active users online. The CEO just texted: "Customers can't place orders." You can only do ONE thing first: A. Restart DB B. Rollback C. Read-only mode D. Investigate What's your call?
1
70
When you hit scaling issues, what do you reach for first? A) Add more servers (horizontal scale) B) Optimize the database queries first C) Add a caching layer (Redis) D) Check if you even need to scale yet Most engineers skip D entirely. What's your honest answer? 👇
2
1
82
akhilesh kumar ojha retweeted
Cracking The System Design Interviews...
3
51
1
401
12,360
Backend devs — what killed your Node.js server in production? Mine: forgot to handle promise rejections. Server crashed silently at 2am. Client noticed before I did. Always add this: process.on('unhandledRejection', ...) What's your production horror story?
3
37
akhilesh kumar ojha retweeted
You have a table with 10 million rows. Your query is taking 8 seconds. What's the FIRST thing you check? A) Missing index B) Query structure(JOINs, subqueries) C) Run EXPLAIN and read the output D) Blame the ORM Drop your debugging process below
1
2
3
83
You have a table with 10 million rows. Your query is taking 8 seconds. What's the FIRST thing you check? A) Missing index B) Query structure(JOINs, subqueries) C) Run EXPLAIN and read the output D) Blame the ORM Drop your debugging process below
1
2
3
83
How do you center a div in 2026? A) Flexbox (the right way) B) Grid (the powerful way) C) position absolute + transform D) Still Googling it every time CSS went from impossible to three different ways to do the same thing. Which one do you actually use?
1
1
57
ran a DELETE without a WHERE in prod because I tested it on staging with a different connection string open in the other tab. deleted 3 months of order history. learned that day why you wrap everything in a transaction and why staging should scare you as much as prod.
Full stack devs — what's the worst MySQL mistake you made in production? Mine: forgot WHERE clause on an UPDATE. Updated 50,000 rows at once. Client called in 10 minutes. 😭 Drop yours below 👇
1
35
I'd start with alerting because you can't respond to incidents you don't know about.Alerting establishes visibility into production health.Once incidents can be detected,I'd build an on-call process and then create runbooks to improve response consistency & reduce recovery time.
You join a new company. On Day 1, you discover: • No alerting • No runbooks • No on-call process What's the first thing you're fixing and why?
1
1
20
optimization stops being premature when you have data. not feelings, not guesses, not "this might be slow someday." profile first, find the actual bottleneck, then fix it. my rule: if you cant measure the problem, you dont have a problem yet. you just have anxiety.
An engineer says: "Premature optimization is the root of all evil." At what scale does optimization stop being premature? What's your rule?
1
19
When latency complaints rise 6 weeks before peak season, don't start a multi-region database project. First ask: "Can I move content closer to users?" CDNs and edge caches often deliver the biggest latency win with the smallest operational risk.
2M daily users. Most users are in South Asia. Your entire stack runs in us-east-1. Latency complaints are rising. The festive season is 6 weeks away. No database rewrite allowed. What's your move? A) Active-Active B) Read Replicas C) CDN + Edge Cache D) Eventual Consistency
22