# Mohammad Zbib > Mohammad Zbib is a software engineer and architect in Beirut, Lebanon, specializing in backend systems, platform engineering, and applied AI. He also cuts infrastructure and cloud costs (FinOps), runs DevOps and CI/CD, and designs reliable, scalable systems. He leads and mentors engineers. Contact: mohammad@zbib.dev. Canonical site: https://www.zbib.dev. Alternate spellings: Mohamad Zbib, Mohammed Zbib, Muhammad Zbib, Mohammad Zbeeb, Mohamad Zbeeb, Zbib, Zbeeb, mhmd-zbib, mhmdzbib. ## Who is Mohammad Zbib Mohammad Zbib is a Lebanese software engineer based in Beirut, Lebanon. He builds backend systems, lowers infrastructure costs, and is strongest in AI systems: agents, RAG, and analytics people can query in plain English. He started coding in 2021, taking freelance projects, and has worked as a professional software engineer since 2024. Since May 2025 he has been a Software Engineer at LYXA, a delivery platform, where he built an AI analytics platform on BigQuery and a Cube semantic layer, with an MCP server the team uses to ask business questions in plain English, and saved around $90K in cloud costs by consolidating 18 services into 11. Since November 2025 he has also been an Associate Instructor at SE², mentoring engineers 1:1 and running sessions on backend engineering and system design. He has spoken at GDG DevFest Beirut and led an AI Agents workshop at Al Maaref University. He speaks English and Arabic. Full bio and FAQ: https://www.zbib.dev/about ## Background - Nationality: Lebanese - Based in: Beirut, Lebanon - Languages: English, Arabic - Coding since: 2021, starting with freelance projects - Professional software engineer since: 2024 - Currently: Software Engineer at LYXA (https://lyxa.ai, since May 2025) and Associate Instructor at SE² (since Nov 2025) - Focus: backend systems, infrastructure cost reduction, AI systems ## FAQ Source: https://www.zbib.dev/about ### Who is Mohammad Zbib? Mohammad Zbib is a Lebanese software engineer based in Beirut, Lebanon. He builds backend systems, lowers infrastructure costs, and is strongest in AI systems. He has been coding since 2021 and working as a professional software engineer since 2024. ### What does Mohammad Zbib do? He is a Software Engineer at LYXA, a delivery platform, where he works on backend, infrastructure and AI analytics. He is also an Associate Instructor at SE², where he mentors engineers and runs sessions on backend engineering and system design. ### Where is Mohammad Zbib based? He is based in Beirut, Lebanon. ### Where does Mohammad Zbib work? He has been a Software Engineer at LYXA since May 2025 and an Associate Instructor at SE² since November 2025. He has also worked as a Senior Backend Engineer at FlyESim, a Software Architect at MyCloset, and a Backend Engineer at Zitlac. [Full experience](https://www.zbib.dev/experience) ### What languages does Mohammad Zbib speak? He speaks English and Arabic. ### How long has Mohammad Zbib been coding? He started coding in 2021, taking freelance projects, and has worked as a professional software engineer since 2024. ### What has Mohammad Zbib built? At LYXA he built an AI analytics platform with a BigQuery warehouse, a Cube semantic layer and an MCP server the team queries in plain English, and saved around $90K in cloud costs by consolidating 18 services into 11. His own projects include an AI agent platform in Python and API gateways in Go and Rust. [All projects](https://www.zbib.dev/projects) ### How can I contact Mohammad Zbib? Email him at mohammad@zbib.dev, or reach him through the contact links on this site. [Contact links](https://www.zbib.dev/#contact) ## Results - Cut an infrastructure bill by 73% - Took a 20-second operation down to 0.5 seconds (97.5% faster, 40x) ## About Source: https://www.zbib.dev I'm Mohammad Zbib, a software engineer and architect in Beirut, Lebanon, working across backend systems, platform engineering, and applied AI. I also cut cloud costs, run DevOps and CI/CD, design architecture, and lead and mentor engineers. Recent results: a 73% lower infrastructure bill, and a 20-second operation brought down to 0.5 seconds (97.5% faster). Different problems, same approach: find where load or spend really comes from, then fix it end to end. - Based: Beirut, Lebanon - Focus: Backend · Platform · Applied AI - Stack: Java · TypeScript · Python · Rust - Teaches: Talks · Workshops · Articles ## How I can help Source: https://www.zbib.dev/#help Full-time role or focused engagement, this is the work I do best. ### Cloud cost & performance I find the waste in your cloud bill and the seconds hiding in your APIs, then engineer both out. ### Architecture & system design I design systems that stay reliable and scale with the business, from first diagram to production. ### Backend & platform I build the APIs, services and data layers products run on, fast and dependable under real load. ### DevOps & CI/CD I replace manual deploys with pipelines, so teams ship daily without breaking production. ### Applied AI & LLM systems I take AI features from demo to production: agents, RAG and pipelines grounded in real data. ### Leadership & mentoring I lead and coach engineers, set technical direction, and turn business goals into shipped work. Have a system that's slow, expensive or about to scale? Email mohammad@zbib.dev. ## Experience Source: https://www.zbib.dev/experience Backend systems, distributed infrastructure, and real-time features. Each role pushed me into a harder problem than the one before. ### Software Engineer at LYXA (May 2025 – Now) Source: https://www.zbib.dev/experience#lyxa Backend engineer owning infrastructure and architecture on a multi-service platform: around $90K saved in cloud costs, a key endpoint taken from 33s to 0.58s, and an AI analytics system with an MCP server. Backend engineer owning infrastructure and architecture on a multi-service platform, focused on applied AI analytics, performance, and cost. - Built an AI analytics platform: a nightly MongoDB-to-BigQuery warehouse, a Cube semantic layer powering the admin and shop dashboards, and a secure MCP server that lets the team ask business questions in plain English from Claude or ChatGPT. - Made the platform fast under load by rewriting heavy queries, adding targeted indexes and Redis caching, taking a key endpoint from 33s to 0.58s, and moving live tracking to RabbitMQ so real-time updates never wait on database writes. - Owned infrastructure and architecture: saved LYXA around $90K in cloud costs by consolidating 18 services into 11, led the move to NestJS, and built the shared real-time and logging libraries used across services. Stack: Node.js, TypeScript, MongoDB, RabbitMQ, BullMQ, Redis, Socket.io, GCP, Kubernetes, CI/CD, BigQuery, Cube, MCP ### Associate Instructor at SE² (Nov 2025 – Now) Source: https://www.zbib.dev/experience#se2 Associate Instructor mentoring engineers and running hands-on sessions on backend engineering, system design, and building production-grade software. Associate Instructor mentoring engineers and giving technical sessions on backend engineering, system design, and building production-grade software. - Help engineers grow through 1:1 mentoring, working through their technical questions, career decisions, and the problems they face in real projects. - Run hands-on sessions for engineers on backend engineering and system design, grounded in problems from production systems. - Review engineers' code and designs with concrete, actionable feedback, so they build habits that hold up in production. Stack: Backend Engineering, System Design, Software Architecture, Code Review ### Senior Backend Engineer at FlyESim (Feb 2026 – Aug 2026) Source: https://www.zbib.dev/experience#flyesim Senior backend engineer protecting revenue and release speed on a global commerce platform: strongly consistent purchasing with no double charges, CI/CD that removed manual deploys, and a zero-data-loss production database migration. Senior backend engineer owning the backend of a global digital commerce platform from day one. - Shipped faster with fewer broken releases by building CI/CD from scratch, automating tests, build, and deployment on every push and removing manual deploys entirely. - Protected revenue on bulk orders by designing a strongly consistent purchasing system with idempotent retries, so failures never leave a charge without an order or an order without a charge. - Let the business adjust pricing and commission rules quickly by building a configurable engine inside the purchase flow, decoupled from storage so rule changes stay low-risk. - Kept the platform running with zero data loss and no extended downtime by leading a production database migration under time pressure, with a rollback plan and live transactions in flight. - Made bulk account operations safe to re-run by building an idempotent batch worker with full audit logging, removing manual cleanup after failures and giving every run a traceable record. - Prevented double charges and out-of-sync accounts by standardizing transaction boundaries, retries, and failure recovery across all financial operations, so interrupted or repeated requests settle exactly once. - Gave the business a dependable backend from day one by owning it with no handoff, scoping, proposing, and shipping every feature independently while keeping production stable for customers worldwide. Stack: Java, Spring Boot, PostgreSQL, GitHub Actions, AWS ### Software Architect at MyCloset (Feb 2026 – Apr 2026) Source: https://www.zbib.dev/experience#mycloset Software architect who took an early-stage fashion startup from idea to working AI outfit recommendations, designing the system from scratch and building pipelines that suggest only real, available products. Software architect for an early-stage fashion startup, designing its AI outfit recommendation system end to end from scratch. - Let the startup launch AI recommendations with no existing infrastructure by designing the full system from scratch as independent collection, indexing, and serving layers that scale and evolve separately. - Grew catalog coverage quickly and kept product data fresh by building a scraping pipeline with per-source adapters, shared rate limiting, and retries, making new sources quick to add. - Kept infrastructure lean by storing product vectors in pgvector alongside relational data, giving the product similarity search from a single database instead of a separate vector store. - Delivered recommendations users can actually buy by building an engine that retrieves similar products and uses an LLM to assemble outfits only from real, available catalog items. - Kept the roadmap open by defining clear data contracts between every stage, so features like user feedback loops can ship later without redesigning the system. - Gave the team a clear blueprint to build and extend the product on by specifying the data model, pipeline orchestration, and recommendation API end to end. Stack: Python, Scrapy, Playwright, PostgreSQL, pgvector, OpenAI ### Backend Engineer at Zitlac (Aug 2024 – Apr 2025) Source: https://www.zbib.dev/experience#zitlac Backend engineer making a document management platform faster and more dependable: ~35% less database load through caching, graceful handling of third-party slowdowns, and 85% test coverage catching regressions before release. Backend engineer on a document management platform, building the reliability foundations for production. - Kept the product responsive when third-party services slowed or failed by redesigning external integrations as an async pipeline with circuit breakers and retries, degrading gracefully instead of going down. - Cut database read load ~35% and lowered latency for users by introducing a read-through caching layer with TTLs tuned to how often each kind of data changes. - Shortened incident investigation by rolling out structured, correlated logging across services, making any single request traceable end to end instead of reconstructed by hand from scattered logs. - Caught regressions before they reached staging by building the service-layer test suite with TDD to 85% coverage, which paid off during a major refactor. - Made new integrations cheaper to ship by designing processing as a chain of pluggable handlers, so each new step is added independently without touching existing code. Stack: Java, Spring Boot, PostgreSQL, Redis, OpenAI ### Mentorship Program at Independent (2024) Source: https://www.zbib.dev/experience#independent Mentorship program on backend fundamentals, building resilient messaging and batch systems from scratch with retries, circuit breakers, and extensible provider design, all tested to 85% coverage. A structured mentorship program on backend fundamentals, with every project built from scratch to production quality. - Gave applications one simple way to send both instant and scheduled messages by building a queue-backed messaging system behind a single producer interface. - Made adding a new provider a one-class change by designing an extensible abstraction with the abstract factory pattern, avoiding edits to existing, tested code. - Kept batch jobs finishing despite bad records by adding per-item retries with exponential backoff, so one failure never blocks a run and runs resume safely. - Protected degraded downstream services from retry storms by adding a circuit breaker at the service boundary that fails fast until they recover, avoiding cascading failures. - Made every refactor low-risk by writing unit and integration tests with JUnit5 and Mockito, reaching 85% coverage across all modules and catching breakage before it ships. Stack: Java, Spring Boot, RabbitMQ, JUnit5, Mockito ## Talks Source: https://www.zbib.dev/talks ### AI Agents: Six Building Blocks of Autonomous Systems Source: https://www.zbib.dev/talks/maaref-ai-agents-2026 Event: AI Agents Workshop · Al Maaref University, Al Maaref University, Beirut, Lebanon, 2026-10-15 A 90-minute, no-code workshop at Al Maaref University for biomedical, computer, and mechanical engineering students on moving from asking AI questions to giving it jobs. We designed an AI team live around Project Pulse, a low-cost wearable that tracks an elderly patient's heart rate at home and alerts their family. Sections: - Chatbots answer, agents do - Six building blocks - A team of agents - What agents can't sign ### Microservices: The Power of Breaking Down to Build Up Source: https://www.zbib.dev/talks/devfest-lau-2025 Event: Google Developer Group - DevFest Beirut, Lebanese American University, Beirut, Lebanon, 2025 At GDG DevFest Beirut 2025 I walked through the road from a monolith to microservices: when the move is worth it, how split services talk and scale, and what the switch really costs. The goal was to help people make that call, not to sell them on it. Sections: - Start with a monolith - When to break something out - How services talk and scale - What microservices cost you ## Articles Source: https://www.zbib.dev/articles - [MongoDB at Scale: Common Anti Patterns That Silently Kill Performance](https://dev.to/mhmd_zbib/mongodb-at-scale-common-anti-patterns-that-silently-kill-performance-jci): published 2026-02-18 on dev.to - [Building Real Time Systems That Actually Scale](https://dev.to/mhmd_zbib/building-real-time-systems-that-actually-scale-om6): published 2025-08-30 on dev.to ## Projects Source: https://www.zbib.dev/projects - [ai-agent](https://www.zbib.dev/projects/ai-agent): Production-grade AI agent platform in Python. Multi-agent pipeline with RAG, tool execution, two-tier session memory, and async document ingestion. Stack: Python, FastAPI, PostgreSQL, Redis, RabbitMQ. - [go-gateway](https://www.zbib.dev/projects/go-gateway): Lightweight API gateway in pure Go. Load balancing, health checking, and rate limiting with zero external dependencies. Stack: Go, net/http, goroutines. - [rust-gateway](https://www.zbib.dev/projects/rust-gateway): High-performance API gateway in Rust. Circuit breaking, JWT authentication, and round-robin load balancing built on Axum and Tokio. Stack: Rust, Axum, Tokio, JWT. - [oqab](https://www.zbib.dev/projects/oqab): High-performance CLI search utility in Rust. Multi-threaded file and content search across deep directory trees with regex, size, and date filters. Stack: Rust, Rayon, Clap, Regex. - [gridlock](https://www.zbib.dev/projects/gridlock): 2D top-down tactical shooter built from scratch in Rust. Custom ECS, wgpu rendering, and deterministic client-server networking. Stack: Rust, wgpu, Tokio, ECS. - [chess-engine](https://www.zbib.dev/projects/chess-engine): Legal chess move generator in C++. Bitboard board representation, sliding piece ray casting, pin detection, and full special-move support. Stack: C++, CMake, Bitboards. - [video-streaming](https://www.zbib.dev/projects/video-streaming): Adaptive video streaming platform in Java. Multipart upload to MinIO, FFmpeg HLS transcoding to four quality tiers, and hot/cold storage tiering. Stack: Java, Spring Boot, FFmpeg, MinIO. - [tcp-chat](https://www.zbib.dev/projects/tcp-chat): Multi-room TCP chat server in C. Per-client pthreads, custom three-way handshake, room manager, and AES-256-GCM encryption with hardware entropy. Stack: C, pthreads, POSIX Sockets, AES-256-GCM. - [sms-messaging](https://www.zbib.dev/projects/sms-messaging): Spring Boot microservices for SMS dispatch. Provider abstraction via interface, factory-based load balancing, and CRUD message persistence. Stack: Java, Spring Boot, WebClient, PostgreSQL. ## Contact - Email: mohammad@zbib.dev - LinkedIn: https://linkedin.com/in/mhmd-zbib ## Profiles - Website: https://www.zbib.dev - GitHub: https://github.com/mhmd-zbib - LinkedIn: https://linkedin.com/in/mhmd-zbib - X: https://x.com/zbibmhmd - Instagram: https://instagram.com/mhmdzbib.dev - Dev.to: https://dev.to/mhmd_zbib