---
title: "Mohamed Moataz El Zein (@MohamedElZein) | Hashnode"
description: "Backend Engineer. Read the latest articles by Mohamed Moataz El Zein on Hashnode."
url: "https://hashnode.com/@MohamedElZein"
---

@MohamedElZein

# Mohamed Moataz El Zein

@MohamedElZein · Joined May 2024

Backend Engineer

### [How we optimized our sessions ingestion flow, cutting the latency by 97% while also cutting costs by 95% and no longer getting paged](https://mohamedelzein.hashnode.dev/how-we-optimized-our-sessions-ingestion-flow-cutting-the-latency-by-97-while-also-cutting-costs-by-95-and-no-longer-getting-paged?utm_source=hashnode&utm_medium=feed)

Some Context Yup, the numbers above are real. For one of our biggest tenants, our CDNs would cross 70~80 million RPM at peaks. They had extremely spiky traffic, where it would go from a comfortable 20

12 min read · [mohamedelzein.hashnode.dev](https://mohamedelzein.hashnode.dev/how-we-optimized-our-sessions-ingestion-flow-cutting-the-latency-by-97-while-also-cutting-costs-by-95-and-no-longer-getting-paged?utm_source=hashnode&utm_medium=feed)

[Aug 29](https://hashnode.com/posts/how-we-optimized-our-sessions-ingestion-flow-cutting-the-latency-by-97-while-also-cutting-costs-by-95-and-no-longer-getting-paged/6a92b2bf3ed896bd77c0948e)

### [How I managed to build and scale Flink to 300+ million RPM in a stateful exactly-once workflow, and how you could too](https://mohamedelzein.hashnode.dev/how-i-managed-to-build-and-scale-flink-to-300-million-rpm-in-a-stateful-exactly-once-workflow-and-how-you-could-too?utm_source=hashnode&utm_medium=feed)

We’ve recently had some huge changes in our entire ingestion flow, and needed to bring on Flink. Our traffic spikes have crossed hundreds of millions of requests per minute and hundreds of terabytes o

10 min read · [mohamedelzein.hashnode.dev](https://mohamedelzein.hashnode.dev/how-i-managed-to-build-and-scale-flink-to-300-million-rpm-in-a-stateful-exactly-once-workflow-and-how-you-could-too?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/how-i-managed-to-build-and-scale-flink-to-300-million-rpm-in-a-stateful-exactly-once-workflow-and-how-you-could-too/6a783ce8ae24ac711f236e67) [Aug 9](https://hashnode.com/posts/how-i-managed-to-build-and-scale-flink-to-300-million-rpm-in-a-stateful-exactly-once-workflow-and-how-you-could-too/6a783ce8ae24ac711f236e67)

### [Fork, pipes, sockets, and inter-process communication](https://mohamedelzein.hashnode.dev/fork-pipes-sockets-and-inter-process-communication?utm_source=hashnode&utm_medium=feed)

Fork() So, what is fork()? I briefly introduced it in the previous article, but let's get into more details now. So fork() creates an entirely new process by literally copying said process and creating a new one. The child process is essentially an e...

15 min read · [mohamedelzein.hashnode.dev](https://mohamedelzein.hashnode.dev/fork-pipes-sockets-and-inter-process-communication?utm_source=hashnode&utm_medium=feed)

[Apr 15, 2025](https://hashnode.com/posts/fork-pipes-sockets-and-inter-process-communication/67fec5bd8460d6e64154515d)

### [Streams, system calls, file descriptors, and inodes. A small trip through how file access and manipulation work.](https://mohamedelzein.hashnode.dev/streams-system-calls-file-descriptors-and-inodes-a-small-trip-through-how-file-access-and-manipulation-work?utm_source=hashnode&utm_medium=feed)

We all know that system calls are inherently "slow". Regardless of the reasoning behind why system calls are slow, it is common practice to try and "batch" them. A great example of that is how the read() and write() system calls are "batched" or "buf...

17 min read · [mohamedelzein.hashnode.dev](https://mohamedelzein.hashnode.dev/streams-system-calls-file-descriptors-and-inodes-a-small-trip-through-how-file-access-and-manipulation-work?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/streams-system-calls-file-descriptors-and-inodes-a-small-trip-through-how-file-access-and-manipulation-work/66899a01ccd4fac8bc18abcf) [Jul 6, 2024](https://hashnode.com/posts/streams-system-calls-file-descriptors-and-inodes-a-small-trip-through-how-file-access-and-manipulation-work/66899a01ccd4fac8bc18abcf)
