Muhammad ⚡
@starmandev
Followers
450
Following
8K
Media
159
Statuses
3K
locked in . one life a million dreams
localhost
Joined December 2022
Let’s talk about Design Patterns 👇 Design patterns are standard ways to solve common software design problems. Layman's Explanation (Real-life analogy) Imagine ordering a custom burger 🍔 at a restaurant. You could just say: “Give me a burger,” and get a plain one. But what
2
2
20
i'm definitely going to build with this
0
0
0
0
1
2
419 errors are common in full-stack apps like Laravel. They happen when a CSRF token expires. Each form includes a time-based token, so if the page sits idle too long before submission, the token becomes invalid and it returns a 419 error.
Who has ever seen a 419 before? I’d read about it in the past when I was learning the fundamentals, but I’d never seen it in action until I came across it during a mobile app pentest this year 😅
0
0
3
someone like @ola_otesile don traumatize you people this post for don do million views... Well I wish you the best Desicodes👌🏾
Crazy how it starts with : " let me just learn HTML".....and ends with this. Proof that slow progress is still progress. Alhamdulillah for the journey 🙏
0
0
3
URL shorteners are a great way to learn system design. They take a long URL via POST, store it, and return a short version. Scaling it to TinyURL level requires careful architecture. High-level flow: Client → Load Balancer → App Server → Cache (Redis) → DB 1/🧵
Why URL Shorteners are Great for Beginners A URL Shortener hits the sweet spot because it is simple enough to finish but complex enough to learn real skills. You get to practice: - REST API design (POST to create, GET to redirect) - DB operations - unique ID generation
1
3
6
Gemini 3 Pro
0
0
4
Edge cases & optimizations: Custom aliases with uniqueness checks TTL for temporary links Analytics via Kafka queue → DB Security: sanitize URLs, HTTPS, prevent open redirects Monitoring: Prometheus alerts on cache misses >5% 5/🧵
0
0
2
Short keys are 6–8 characters, giving ~56B combinations for 6 chars. Keys are generated randomly, checked in Redis, then DB for uniqueness. Rare collisions are handled by regenerating the key. Randomness ensures scalability without collisions. 4/🧵
1
0
2
Redis caches popular short→long URL mappings with TTL, speeding redirects and reducing DB load. NoSQL DBs (MongoDB, DynamoDB) store all mappings durably. Read-heavy, horizontally scalable systems benefit from this setup. 3/🧵
1
0
4
At scale (billions of URLs, millions of redirects/sec), redirects are read-heavy and shortenings are write-light. Clients hit API endpoints for shorten/redirect. Load balancers distribute traffic across multiple servers to handle load efficiently. 2/🧵
1
0
4
URL shorteners are a great way to learn system design. They take a long URL via POST, store it, and return a short version. Scaling it to TinyURL level requires careful architecture. High-level flow: Client → Load Balancer → App Server → Cache (Redis) → DB 1/🧵
Why URL Shorteners are Great for Beginners A URL Shortener hits the sweet spot because it is simple enough to finish but complex enough to learn real skills. You get to practice: - REST API design (POST to create, GET to redirect) - DB operations - unique ID generation
1
3
6
New Age parenting 😂🙃
So a child in my class brought food to school today but didn’t touch it. I asked why, and he said their house help hasn’t returned from Christmas break and the food his mummy cooked is not sweet. Now, in my school, if a child doesn’t eat and you don’t report it or inform the
0
0
3
I know we used to write code by hand back then, but do cloud engineers and cybersecurity folks also have to memorize all those Linux commands? 😂🔥
0
0
4
Termius might be the best SSH client I’ve used in a long time. Easy VPS access, modern UI, snippets, and smooth server management, also support multiple servers.
1
0
4
building what solves personal problems, I see 🙈
I mean...not to brag but I'm building something that woulda exposed his ass - @NexrApp
0
1
4