Mehran Tarif (@Mehran_Tarif) header
Mehran Tarif (@Mehran_Tarif) profile picture

Fullstack Developer | Machine learning

Joined April 2020
از همین جا فرهنگ کاری مشخص میشه. یه ریکروتر با رعایت حریم خصوصی یه نمونه رزومه اشتباه گذاشته و توضیح نداده اشتباه چیه چون فرض گرفته اشتباهات تابلوعه اون طرف ملت کلی ریپلی دادن و ریکوت کردن و بهش فحش دادن که چرا استخدام نمی کنی یا میتینگ نمیذاری تلاش برای یادگیری صفر ادعا هزار
انصافاً شما باشید ظرف پنج ثانیه ریجکت نمی‌کنید این رزومه رو؟!
3
21
1,407
Most load balancers don’t actually “balance” load. 🚀 In production, traffic is never evenly distributed. That’s why scaling becomes hard. Real-world problems: - heavy requests overload specific nodes - retry storms create cascading failures - slow instances destroy P99 latency - “healthy” servers may still be overloaded internally Modern load balancing is less about routing traffic and more about: - failure isolation - latency control - congestion management The hardest part of distributed systems isn’t handling traffic. It’s handling uneven traffic. #LoadBalancing #DistributedSystems #Backend #SystemDesign
4
112
Kafka scales insanely well. But not just because it’s distributed. 🚀 The real advantage is mechanical sympathy. Why Kafka handles massive throughput so efficiently: - Append-only logs Sequential disk writes are MUCH faster than random writes. - OS Page Cache Kafka relies heavily on the operating system’s cache instead of managing memory itself. - Zero-copy transfer Using sendfile, data moves from disk to network with minimal CPU overhead. - Batching Fewer system calls = higher throughput. - Pull-based consumers Consumers fetch data at their own pace, helping manage backpressure naturally. Kafka is fast because it avoids unnecessary work. The best distributed systems usually respect hardware limits, not fight them. #Kafka #DistributedSystems #Backend #SystemDesign
1
2
94
Caching is easy. Until production. 🚀 The moment you add a cache, you introduce distributed systems problems: - Dual writes DB updated successfully. Cache update fails. Now your data is inconsistent. - Cache stampede A hot key expires. Thousands of requests hammer the DB simultaneously. - Hot keys One viral endpoint overloads a single Redis shard while others stay idle. - Cache invalidation The hardest part isn’t storing data. It’s knowing when cached data becomes wrong. Caching doesn’t remove complexity. It moves complexity from latency → consistency. #Caching #Redis #SystemDesign #Backend
1
1
92
gRPC isn’t just “REST but faster.” 🚀 The real advantage is efficiency. Why many high-scale systems prefer gRPC: - Protobuf > JSON Smaller payloads, faster parsing, lower CPU overhead. - HTTP/2 multiplexing Multiple requests share ONE TCP connection efficiently. - Schema-first contracts `.proto` files generate typed clients and reduce integration bugs. REST is still great for: - public APIs - browsers - human-readable debugging That’s why many companies use: - REST externally - gRPC internally Architecture is about trade-offs—not hype. #gRPC #REST #Backend #SystemDesign
1
80
System Design becomes SUPER EASY once you watch ALL these Videos:
35
284
6
2,026
234,889
Why does Redis feel “instant”? 🚀 It’s NOT just because it stores data in RAM. The real reason is architectural simplicity. Why Redis is insanely fast: • No disk I/O on the critical path • Event-driven architecture (epoll/kqueue) • Single-threaded design avoids locks & context switching • CPU cache-friendly data structures • Async persistence keeps latency low ❇️ The real engineering lesson Fast systems are usually designed to minimize: • coordination • synchronization • abstraction • unnecessary complexity Sometimes simplicity beats parallelism. #Redis #SystemDesign #Backend #SoftwareEngineering #Performance #DistributedSystems #Architecture
1
1
132
زندگی صابر راستی‌کردار، کوتاه، اما کارهای او بسیار با ارزش و ماندگار بود. متاسفانه صابر (خالق فونت‌های زیبای وزیر‌ متن و گندم و شبنم و کلی فونت دیگر)، دیروز آسمانی شد. با آرزوی صبر برای خانواده صابر عزیز 😔🖤 ‌
225
448
245
5,730
788,805
Mehran Tarif retweeted
دوستان عزیز سلام. پس از مدتی نسبتا طولانی، تصمیم گرفتم بالاخره وارد فاز آموزش با پشتیبانی و ... بشم و به همین خاطر «آکادمی مانی» با «دوره مقدماتی پایتون» خدمت شماست. لینک خرید و ثبت‌نام دوره هم اینه: evnd.co/hsZRY اگر هم تخفیف یا حمایت خواستید، پیام بدید بهم.
6
23
8
105
32,565
شاید باورتون نشه ولی از خوشحالی گریه‌م گرفت. هزار نفر. هزار کاربر. قریب به ۲۰۰ نفر Early Adopter قریب به ۸۰۰ نفر رشد ارگانیک در کمتر از ۱۰ روز. واقعا به خودم، دوستانم، خونواده‌م و آشنایانم افتخار می‌کنم 🥺❤️
رسیدن به این مهم، بدون داشتن کاربران خوبی چون شما ممکن نبود! پس از حدود ۹ ماه تلاش برای توسعه یک مدل «متن به تصویر» (که همچنان هم در حال توسعه و پیشرفته) وبسایتی لانچ شد که دسترسی به این مدل را برای کاربران تسهیل می‌کرد. این پلتفرم روز ۲۵ فروردین ۱۴۰۲ خورشیدی، به صورت عمومی/
17
5
104
7,722
Mehran Tarif retweeted
چندتا ویدیو در مورد تریدر نویسی با پایتون رکورد کردم و روی یوتوبم آپلود کردم که باهش میتونید ربات خودتون رو بنویسید و به صرافی وصل کنید و خرید فروش انجام بدید. باشد که رستگار شوید :))) لینک پلی‌لیست: youtube.com/playlist?list=PL…
3
6
1
24
Mehran Tarif retweeted
گربه‌های بدبخت دانش آموز شدند 😂 teapawt.net/MorissaSchwartz/status…
19
62
26
1,800
مدتی پیش دوره‌ای ضبط کردم که تقریبا از پایه نحوه کارکرد و ساخته شدن وب‌فریم‌ورک‌ها در پایتون رو توضیح دادم. حاصل دوره در گیت‌هاب github.com/shahriarshm/minim… و ویدئوها در یوتوب youtube.com/playlist?list=PL…
1
7
16
الان با #AlpineJS آشنا شدم. به لطف آشنایی اجمالی با ویو، خیلی سریع تونستم بفهمم چیه ماجراش. خیلی خوبه. به قول خودشون، تیل‌ویند دنیای جاوااسکریپت حساب می‌شه. لحظه شماری می‌کنم برای استفاده عملی ازش. github.com/alpinejs/alpine/
2
9