Radi | dev👨🏽‍💻 (@radi_dev) header
Radi | dev👨🏽‍💻 (@radi_dev) profile picture

Software Engineer || AI

Nigeria
Joined October 2017
Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)Photo by Radi | dev👨🏽‍💻 (@radi_dev)
Radi | dev👨🏽‍💻 retweeted
It’s always important to take a step back and think of a real world situation when approaching/answering this technical questions.
You need to rename a column in a table with 50M rows and nearly zero downtime What's your step by step approach?
33
58
5
967
44,100
Radi | dev👨🏽‍💻 retweeted
Does “WhatsApp” use WebSockets or gRPC? Short answer: No. What WhatsApp uses WhatsApp uses a custom messaging protocol built on top of MQTT over TCP/TLS. What is MQTT? MQTT (Message Queuing Telemetry Transport) is a lightweight publish–subscribe messaging protocol designed for: •Low bandwidth networks •High latency or unreliable connections •Devices that need to stay connected with minimal battery usage It was originally built for IoT, but its design fits mobile messaging extremely well. How it works (high level) •Each device maintains a persistent TCP connection to WhatsApp servers •Messages are sent as binary payloads (not JSON) •Uses acknowledgements to guarantee delivery •Automatically recovers from network drops •TLS is used for transport security (along with end-to-end encryption) Why not WebSockets? •Extra overhead for mobile networks •Less battery-efficient at WhatsApp scale •Not designed for intermittent connectivity Why not gRPC? •Best suited for backend microservices •Not optimized for billions of client connections •Browsers and mobile apps aren’t its primary target TL;DR •Browser apps → WebSockets •Backend microservices → gRPC •Massive mobile chat apps → Custom TCP + MQTT-style protocols That’s how WhatsApp stays fast, reliable, and battery-friendly at scale.
I was working on gRPC today… and here’s the simplest way to understand it. What is gRPC? A high-performance communication framework by Google. It lets services talk to each other using binary Protocol Buffers instead of JSON. Why is it better than normal HTTP/HTTPS? Because: •It’s much faster (binary > text) •Uses HTTP/2 → multiplexing, streaming, fewer connections •Strongly typed contracts via .proto files •Smaller payloads → ideal for microservices •Supports bi-directional streaming (something REST can’t do) When should you use gRPC? •Microservices that talk to each other inside your system •Real-time communication (chat, live updates, streaming logs) •High-performance internal APIs between backend services •When speed and low latency actually matter When is HTTPS/REST still better? •Public APIs (browsers, mobile clients, external partners) •When readability matters (JSON is easier to debug) •When you want simple CRUD endpoints •When you don’t want the overhead of creating .proto files Drop your questions if any🙌
58
196
9
2,227
177,915
Radi | dev👨🏽‍💻 retweeted
bro packaged math and programming into a game and 1000s of people are playing it on steam. this looks so cool 🤯
97
1,299
94
19,167
841,686
Radi | dev👨🏽‍💻 retweeted
I’m about to pull one Mr beast shiii right now for all my followers….. At 2PM WAT today. RT and reply YES if you’re in. I’ll lock this comment section by 2PM before making the new tweet, if you’re not in here, you don’t qualify…….
5,065
2,754
78
3,451
312,436
Radi | dev👨🏽‍💻 retweeted
TRANSFORMERS SHOULD TAKE NOTES
622
13,736
2,263
106,953
8,809,439
Radi | dev👨🏽‍💻 retweeted
Things Every Developer Should Know: Concurrency is 𝐍𝐎𝐓 parallelism. In system design, it is important to understand the difference between concurrency and parallelism. As Rob Pyke(one of the creators of GoLang) stated:“ Concurrency is about 𝐝𝐞𝐚𝐥𝐢𝐧𝐠 𝐰𝐢𝐭𝐡 lots of things at once. Parallelism is about 𝐝𝐨𝐢𝐧𝐠 lots of things at once." This distinction emphasizes that concurrency is more about the 𝐝𝐞𝐬𝐢𝐠𝐧 of a program, while parallelism is about the 𝐞𝐱𝐞𝐜𝐮𝐭𝐢𝐨𝐧. Concurrency is about dealing with multiple things at once. It involves structuring a program to handle multiple tasks simultaneously, where the tasks can start, run, and complete in overlapping time periods, but not necessarily at the same instant. Concurrency is about the composition of independently executing processes and describes a program's ability to manage multiple tasks by making progress on them without necessarily completing one before it starts another. Parallelism, on the other hand, refers to the simultaneous execution of multiple computations. It is the technique of running two or more tasks or computations at the same time, utilizing multiple processors or cores within a computer to perform several operations concurrently. Parallelism requires hardware with multiple processing units, and its primary goal is to increase the throughput and computational speed of a system. In practical terms, concurrency enables a program to remain responsive to input, perform background tasks, and handle multiple operations in a seemingly simultaneous manner, even on a single-core processor. It's particularly useful in I/O-bound and high-latency operations where programs need to wait for external events, such as file, network, or user interactions. Parallelism, with its ability to perform multiple operations at the same time, is crucial in CPU-bound tasks where computational speed and throughput are the bottlenecks. Applications that require heavy mathematical computations, data analysis, image processing, and real-time processing can significantly benefit from parallel execution. – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
3
191
5
850
78,454
Radi | dev👨🏽‍💻 retweeted
12 simple visuals to help you make sense of life: 1.
53
2,991
80
14,253
Radi | dev👨🏽‍💻 retweeted
A Simplified article on understand Go routines and channels in Golang. I have Simplified the use of go routines and how the Go routines communicate through chanels. Check it out, linkedin.com/posts/chigozie-…
4
13
356
Radi | dev👨🏽‍💻 retweeted
I’m super excited to be attending #oscafest23! @Radi_dev
2
3
248
Radi | dev👨🏽‍💻 retweeted
Stop wasting time coding everything from scratch. Here are 7 free no-code tools top programmers use to build faster:
112
1,067
26
3,218
548,082
Radi | dev👨🏽‍💻 retweeted
Apt! Similar to the approach to banking the unbanked. The unbanked don't even know some of these fintechs exist yet we think by sitting inside one posh apartment in lekki with sophisticated CRM software we can bank the unbanked in the hinterlands of Nigeria.
The African market is no respecter of your tech or your ambition. You must hustle for the customer. Again, there is no difference between a tech startup and a normal African business. People won't come to you if you don't give them value. Distribution is everything and more.
3
4
261
Radi | dev👨🏽‍💻 retweeted
I used to hate imitation and copycats a lot (I still do) because I believed that people needed to come up with original ideas and try new things. I saw imitation as laziness. I have, however, seen that the best way ideas improve is when they are copied and tried in new ways.
24
99
11
351
57,753
Radi | dev👨🏽‍💻 retweeted
LinkedIn is a great tool for finding freelancing work. But 99% of people use it wrong. Here are some tips and strategies to find freelance work on LinkedIn:
20
98
1
330
93,648
Radi | dev👨🏽‍💻 retweeted
forms.gle/n3gdZmuodDxAEtMw6 I am working on providing APIs for techies to use for their personal blogs where they only have to build the frontend for displaying their blog posts. The API will handle all backend concerns. To see if it is really useful and something you can pay for.
2
13
1
16
835
Radi | dev👨🏽‍💻 retweeted
Five chrome extensions that will change the way you do web development:
315
1,824
68
7,684
Radi | dev👨🏽‍💻 retweeted
Here are financial institutions that give study loans to int'l students including Nigerians to study abroad. I have also included their websites so do your due diligence. Remember to RT for others!
469
3,455
86
4,236
Radi | dev👨🏽‍💻 retweeted
How to Contribute to Open Source Project? 😍 I have created a practice repo, follow the process and Practice with me. Thread🧵👇️ #OpenSource #DevOps #DEVCommunity #github #100DaysOfCode #DataScience #Python #dataScientist
7
20
3
37
Radi | dev👨🏽‍💻 retweeted
Google is the most powerful tool in the world. But only if you use it right. Here are 10 Googling tips that will make you smarter:
130
2,387
72
7,317
Radi | dev👨🏽‍💻 retweeted
1. No one can stop you when you master the basics - You can start with any technology you want. But if you’re struggling, take a pause & restart your tech journey. - Remember all new & fancy frameworks are based on the basics. - Master basics you can code in anything.
4
21
267
Radi | dev👨🏽‍💻 retweeted
1/3 Hi there @Radi_dev . I have just logged in with year Twitter scheduling app. I'm testing the multithreading feature of the app with counter turned on. This text is meant to be long enough so it gets truncated automatically ...
2
1
2