Writing
Notes from building and running a logistics platform for twenty million shipments a year: PostgreSQL internals, splitting reads from writes, queues, framework choices, and what the people using a system teach you about it. Some are in English, some in Arabic.
ليه كويري القراءة في PostgreSQL بقى بطيء؟ shared_buffers والـ dirty pages ببساطة
شرح الكاش في PostgreSQL بمثال مكتبة: shared_buffers، والـ WAL، والـ clock sweep، والـ Background Writer، وليه SELECT ممكن يدفع تمن كتابة حد تاني.
Read replicas وPgBouncer: إزاي فصلنا التقارير عن الكتابة في PostgreSQL
أكبر مشكلة أداء واجهتنا في منصة شحن بتشيل 20 مليون شحنة في السنة: تقارير وإدخال ضخم وكتابة لحظية على نفس السيرفر، وإزاي حلّيناها بالـ read replicas والكيوز وPgBouncer.
What a warehouse floor taught me about gathering requirements
Before building a logistics platform for 20M+ shipments a year, I thought a warehouse was a status column. Walking the floor and asking people to explain their jobs changed the design.
Why I chose NestJS over Express for a system meant to outlive me
Rebuilding a logistics platform from scratch, I picked NestJS on Fastify over Express. Not for performance: for dependency injection that is enforced by default rather than left to discipline.
إمتى تستبدل نظام قديم؟ بُص على الحيل اللي الناس بتعملها حواليه
أوضح إشارة إن النظام القديم لازم يتغير مش الحِمل ولا التكلفة: هي الحيل اللي الموظفين بيعملوها عشان يخلّصوا شغلهم. كل حيلة منهم requirement محدش كتبها.