Senior Lead Software Engineer · Tokyo, Japan
Hi, I'm Tagy Aldeen.
I build and run distributed backend systems — 8+ years across FinTech, logistics, and insurance platforms serving millions of users. Tech lead and engineering manager at Monstarlab; lately shipping RAG and multi-agent systems to production. Master's in deep learning (MEXT scholar), trilingual JP · EN · AR.
Stack
What I work with
Projects
Selected work
IDS-UNSW-NB15
IoT intrusion-detection model combining neural networks and random forests on the UNSW-NB15 dataset.
B3ati
Error-based SQL injection scanner built as a teaching tool for students entering information security.
golang-DS
Data structures and algorithms implemented from scratch in Go, with tests.
mail-automation
Native C++ tooling for automating high-volume mail workflows.
Writing
Latest posts
Two outboxes, one pattern
Cloud Tasks for commands, Pub/Sub for events — same transactional outbox, same relay shape, same HTTP delivery. The only real fork is the middle layer, and who owns the routing.
ReadThe lock contention that wasn't in the query plan
Up to a thousand concurrent Go workers, each upserting its own user's rows in MySQL — and InnoDB kept detecting deadlocks between them. The gap-lock mechanics, the fix menu ranked, and the deliberately boring choice.
ReadThe push pipeline that didn't get blocked
Notification campaigns as scheduled batch jobs: eligibility and dedup pushed into the audience query, a send log that doubles as the resume checkpoint, throttling against platform quotas — and the two gates I'd add today.
Read