Vikash Singh

10.3K posts

Vikash Singh banner
Vikash Singh

Vikash Singh

@code_bytein

Backend | System Design | AI | Building, learning & sharing daily | Building https://t.co/q3a6pxtVuV | DM For Collab & work

Katılım Şubat 2026
978 Takip Edilen2.1K Takipçiler
Sabitlenmiş Tweet
Vikash Singh
Vikash Singh@code_bytein·
Interviewer: First line succeeds. Second line fails. Money disappears. What's missing? 🤔
Vikash Singh tweet media
English
70
16
91
10.8K
Karishma Bhardwaj
Karishma Bhardwaj@bkarishma360·
I’ve reached the phase where peace > everything else
English
3
0
3
34
Vikash Singh
Vikash Singh@code_bytein·
@OpenAGIxd Assume they're compromised. Revoke first, clean up later.
English
0
0
0
10
Ruturaj
Ruturaj@OpenAGIxd·
You accidentally pushed production credentials to GitHub. Tech Lead: Delete the commit. Security Engineer: Delete the credentials. What's the first thing you do?
Ruturaj tweet media
English
3
0
4
61
zavx
zavx@zavxai·
I'm a Claude user, Give me one reason to switch to Codex.
zavx tweet media
English
17
1
17
391
Vikash Singh
Vikash Singh@code_bytein·
@shub0414 AI eating its own output is the digital equivalent of inbreeding😬
English
0
0
0
19
Shub
Shub@shub0414·
I came across a theory that AI is starting to make more mistakes because the internet is increasingly polluted with AI slop. The idea of AI cannibalising itself into obscurity is one of my favourite things ever. I hope it is true and I hope it becomes impossible to fix.
English
27
1
29
420
Vikash Singh
Vikash Singh@code_bytein·
Here's what's missing 🧵 No database transaction. deductBalance succeeds ✅ addBalance fails ❌ Money is gone. Forever. Now either both succeed or both rollback. No in-between state. No missing money. This is called Atomicity. The "A" in ACID. Rule: Any operation that touches money, inventory, or critical state -always wrap in a transaction. No exceptions. Ever. The fix :
Vikash Singh tweet media
English
1
0
2
142
Vikash Singh
Vikash Singh@code_bytein·
Interviewer: First line succeeds. Second line fails. Money disappears. What's missing? 🤔
Vikash Singh tweet media
English
70
16
91
10.8K
Anupam Haldkar 
Anupam Haldkar @AnupamHaldkar·
@code_bytein Buggy money transfer: deduct succeeds but add fails → funds vanish without DB transactions or rollback.
English
1
0
0
60
Vikash Singh
Vikash Singh@code_bytein·
@TECHwithRUDE Both succeed or neither does- thats the only acceptable outcome for a money transfer
English
0
0
1
80
TECH with MR. RUDE
TECH with MR. RUDE@TECHwithRUDE·
@code_bytein Missing transaction atomicity. The debit succeeded, the credit failed, and without a rollback mechanism the money vanished. Use a database transaction (ACID) so both operations succeed or neither does.
English
1
0
1
154
agentX
agentX@nikks_techie·
@code_bytein i m waiting for some good ansr as i cannot ansr it...😢
English
1
0
1
85
Ruturaj
Ruturaj@OpenAGIxd·
@code_bytein Money vanishes because deduct succeeds but add fails with no rollback. Always wrap transfers in a DB transaction for atomicity.
English
1
0
0
77
Nitisha
Nitisha@NitishaAgrawal3·
@code_bytein @OpenAGIxd Deduct succeeds but add fails with no transaction = funds gone forever. Always wrap transfers in DB txns!
English
1
0
1
165
Vaibhav🎗️
Vaibhav🎗️@VaibhavLLM·
The smartphone era lasted almost 20 years. The AI Glasses era could be next. Which company is creating the most advanced and aesthetically pleasing AI glasses?🔥 -Apple 🍎 -xAI ⚡ -Meta ∞ -Google 🔍 -ASUS 🎮
Vaibhav🎗️ tweet mediaVaibhav🎗️ tweet mediaVaibhav🎗️ tweet mediaVaibhav🎗️ tweet media
English
20
1
25
238
Ray🫧
Ray🫧@ravikiran_dev7·
Even Microsoft employees use mac 😭😭
Ray🫧 tweet media
English
28
1
39
691
Vikash Singh
Vikash Singh@code_bytein·
System Design Interview: Server C returns 200 OK. But every response is wrong. Load balancer thinks all 3 are healthy. Users keep hitting the broken server. How do you catch this before users do? 🤔
Vikash Singh tweet media
English
34
2
37
910
TECH with MR. RUDE
TECH with MR. RUDE@TECHwithRUDE·
@code_bytein 200 OK only proves the server is alive. Synthetic checks with response validation prove it's actually working
English
1
0
1
59
Taniya
Taniya@Taniyatweets_·
@code_bytein synthetic canary requests with real validation
English
1
0
1
34
Vikash Singh
Vikash Singh@code_bytein·
@_devdeep Schema checks in health endpoint-never thought of this before honestly 🤯
English
0
0
0
31
Devdeep
Devdeep@_devdeep·
@code_bytein Turn the LB into a circuit‑breaker: if a node returns 200 but fails schema checks, mark it unhealthy and drain it automatically.
English
1
0
1
47