Intern β Software Engineer.
It might not be the biggest company or my final destination, but this title means a lot to me.
Every small win counts.
Now it's time to become the kind of engineer who can earn a seat at the companies I've always looked up to. π
Bc kisi bhi clg ke senior linkedin pe reply kar dete hai bss apne clg ke chood ke, aur wahi log dusre clg walo ko reply kar dete hai, mentality he khrab hai bklodo ki
I started this 100 backend concept series and failed at day 2, I dont know what is happening with me, I can't focus on anything, I just take tension all day but not do anything about it. I need to change or else I'm done.
Day 2/100 of Backend Concepts.
"Just use threads" is the worst advice you'll get in a system design interview.
Threads, green threads, coroutines β they all give you "concurrency." They are not the same tool, and picking wrong costs you real memory and latency.
Thread π§΅ (1/6)
(6/6)
CPU-bound, need true parallelism β OS threads / processes
Massive I/O-bound concurrency, want simple sequential-looking code β coroutines
Want both, without hand-rolling a scheduler β green threads (Go)
Day 3 tomorrow. Following along? Drop a π
(5/6)
The real axis that matters isn't "which one is fastest" β it's who controls the switch:
Preemptive (OS threads) β safe from starvation, but switch cost is high and you need locks everywhere.
Cooperative (coroutines) β cheap switches, but one CPU-bound task that never yields blocks everything behind it.