bot retweeted
Today's Concept: Distributed Locks
Two servers.
One inventory item.
Without a lock:
Overselling
Duplicate processing
Data inconsistency
With a lock:
Only one server can update the resource at a time.
Used in:
• Payments
• Ticket Booking
• Inventory Management
• Distributed Cron Jobs
Distributed systems scale horizontally.
Distributed Locks keep them consistent.
Today's Concept: Idempotency
A user clicks "Pay" twice.
A network timeout occurs.
The request is retried.
Should the payment happen twice?
No.
That's the purpose of Idempotency.
Same request.
Same result.
One of the most important concepts behind payment gateways, ticket booking systems, order processing, and distributed systems.
Failures are inevitable.
Duplicate operations are not.
bot retweeted
Harga naik, isi cuma setengah kaleng, ukuran wafer makin tipis. Berat bersih ditulis segede kutu. Cuma 240gr.
Bayar angin doang, beli sampah kaleng yang numpuk di TPA sama bayar logistik bawa kaleng ½ kosong.
Buat semua orang, plis jangan pernah lagi beli produk kayak gini.
bot retweeted
If you're not using AI apps in 2025, you're at a huge disadvantage.
I've tried 100s of new apps this year, and here are the best 14 AI tools that actually stuck with me!
bot retweeted
5 Best System Design Books & Courses
1. Designing Data-Insensitive Applications- amzn.to/3nXKaas
2. System Design Interview- amzn.to/3nU2Mbp
3. System Design- amzn.to/3yYlFjX
4. GSD course- bit.ly/3Mnh6UR
5.Pragmatic D- bit.ly/3vFNPid
bot retweeted
WhatsApp hosts more than 1 Million TCP socket connections on a single server.
This is how.
bot retweeted
5 books I can't recommend enough:
1. Clean Architecture ( Robert Martin )
2. Building Microservices ( Sam Newman )
3. Unit Testing ( Vladimir Khorikov )
4. Domain Driven Design ( Eric Evans )
5. Head First Design Patterns ( Eric Freeman, Ph.D. & Elisabeth Robson )
Get my FREE .NET Backend Developer Roadmap 👇
juliocasal.com/roadmap
bot retweeted
✨𝙣𝙜𝙚𝙧𝙩𝙞 𝙬𝙚𝙗3 𝙟𝙖𝙙𝙞 𝙜𝙖𝙢𝙥𝙖𝙣𝙜✨
mungkin kalian pernah denger kalo blockchain punya beberapa lapisan kayak layer 1, layer 2, layer 3.
tapi apa sih maksudnya? sini gua jelasin👇
bot retweeted
I will make Gwern proud no matter what
(500 of the saved articles and papers classified with a DAG tagging system…)
bot retweeted
Cara Berangkat Haji dari Luar Negeri pakai Aplikasi Nusuk.
Sebuah thread buat kamu yang juga ingin naik haji dari luar Indonesia.
Bookmark saja dulu, baca lagi nanti di bulan2 Desember kalau mau brgkt tahun depan.
bot retweeted
Maiden launch of Falcon Heavy, the most powerful operational rocket on Earth, with the first dual rocket landing
bot retweeted
I’ve used a treadmill under my standing desk for the last 8 years. I love it, and I believe it’s a competitive advantage.
Here’s why:
1. 10k steps a day is generally recommended for good health. I easily hit that goal by walking 2 mph for part of the day while I’m working.
2. Walking reduces my stress and improves my mood.
3. If I sit too long I get restless and groggy. When I walk, I feel more alert.
4. Studies show it aids memory retention and creativity.
5. I’m in my 40s and weigh the same as I did in school. I think the treadmill played a role.
6. “I’m too busy to exercise” isn’t an excuse anymore. I walk and work.









































