Tharun

4 posts

Tharun banner
Tharun

Tharun

@_tharun_d

Katılım Ağustos 2022
36 Takip Edilen0 Takipçiler
Tharun
Tharun@_tharun_d·
@Akintola_steve Wow! This is really helpful. I have worked with different PSPs but never thought to handle it to this extent.
English
0
0
0
13
Akintola Steve
Akintola Steve@Akintola_steve·
Bookmark this tweet right now. Not after reading. Now. At some point, you will build a payment system, work on one, or inherit one that is already broken. When something goes wrong, and it will, you will need exactly what I am about to show you. This is the most complete payment system breakdown I have ever written. Every flow. Every edge case. Every trap. One thread
English
12
47
190
5.5K
pulkit mittal
pulkit mittal@pulkit_mittal_·
@_tharun_d Hey! Start with the basic ones like url shortener, pastebin,etc.
English
1
0
2
477
pulkit mittal
pulkit mittal@pulkit_mittal_·
Most engineers find System Design difficult not because they can’t design systems, but because they try to memorize architectures instead of understanding first principles. Here are 3 core system design theorems / concepts that explain why systems behave the way they do. 1. CAP Theorem CAP says a distributed system can guarantee only two of: - Consistency - Availability - Partition Tolerance Once a network partition happens (and it will), you must choose: - CP: correct but may be unavailable - AP: available but eventually consistent ⸻ 2. ACID vs BASE Strong guarantees come at a cost. - ACID systems optimize for correctness - BASE systems optimize for availability and scale If you understand: - When strict consistency is necessary - When eventual consistency is acceptable You stop over-engineering databases and start designing practical systems. ⸻ 3. Idempotency & Exactly-Once Myth Retries are inevitable. Exactly-once is mostly a lie. If you understand: - Idempotent APIs - De-duplication keys - At-least-once delivery semantics You can design systems that survive: - Network failures - Client retries - Partial writes Reliable systems assume retries will happen and design for it.
cheesecake@cheese_cakee_9

Most students find Competitive Programming (CP) difficult not because they can't code, but because they fear Maths. ​ ​Here are the 3 basic Math Algorithms that solve a large number of Number Theory problems 👇

English
6
28
399
26.7K
Tharun
Tharun@_tharun_d·
@marcoieni I tried anyhow but then i needed some centralized error enum in my projects so i only use thiserror instead.
English
1
0
0
138
Marco Ieni 🦀
Marco Ieni 🦀@marcoieni·
A simple way of handling errors in Rust using the anyhow crate
Marco Ieni 🦀 tweet media
English
11
5
98
14.7K