ma.

Mahmoud Ali Ibrahim · Cairo, Egypt

Build with intent.
Ship with confidence.

I’m a hands-on Technical Team Lead working at the intersection of architecture, product delivery, and production reliability.

Nine years across Rails, PostgreSQL, React, and React Native. From a critical production incident to a carefully staged migration, I stay close to the code and the decisions that matter.

Backend & platformTechnical leadershipMobile architecture
9+years

Software engineering
since 2017

27contracts

Completed on Upwork
4.8 / 5 across 20 ratings

6+years

WEPN Mobile Lead
since July 2020

<1hour

Customer-visible downtime
during a production cutover

01 / SELECTED WORK

Clear decisions.
Real evidence.

Production delivery and infrastructure rehearsals.
Each result carries its context and limits.

Showing all 8 case studies.

02 / CAPACITY & RECOVERYOCT 2026 · LOCAL LAB

Rails / PostgreSQL / PgBouncer / Ansible · infrastructure rehearsal

Find the limit before the cutover.

Local load tests exposed connection-budget and job-capacity limits. Transaction pooling reduced database connection demand; a separate restore drill verified point-in-time recovery by checking the data.

Local infrastructure rehearsal

Lab evidence 70 → 18 peak role connections in two 100-user runs. Recovery verified on a small test database.
Read the case

The problem

More worker processes could improve job throughput while exhausting a database role’s connection budget. Backups also needed a demonstrated recovery path before an infrastructure transition.

The implementation

I implemented local infrastructure and test tooling across Ansible provisioning, k6 scenarios, a mock LLM, infrastructure monitoring, and PgBouncer transaction pooling. The tests examined job concurrency, slow and failing providers, backups under load, and a pooler restart.

What the measurements showed

At 100 simulated users, a direct-connection run peaked at 70 application-role database connections; a pooled run peaked at 18. Both recorded zero HTTP request failures. These were separate lab runs, not a controlled proof of a production latency improvement.

At higher load, connections stayed bounded while CPU load and job queues grew. A pooler restart caused 7 failed HTTP requests out of 5,756 and one reply timeout. At 150 users, zero HTTP failures still accompanied two reply timeouts: successful HTTP responses did not establish successful completion.

Proving recovery

An encrypted pgBackRest backup and WAL replay restored an earlier 1,000-row batch and excluded a later batch on a fresh VM. The original repository stayed separate from the restored timeline. A 22 MB database proves the procedure, not a production recovery-time objective.

The boundaries

Local VMs, synthetic admin users, a mock model, and polling instead of the real streaming client. Cloud rollout, learner paths, production capacity, production-size recovery, and automatic failover are not established by these tests.

Open full case study
03 / MODERNIZATIONJUL 2026

Rails / PostgreSQL / S3 · confidential client

A production migration with a way back.

Primary executor of a database and storage modernization, rehearsed against restored production data with mirrored storage and explicit rollback paths.

Production delivery

Outcome Production cutover with under one hour of customer-visible downtime.
Read the case

The problem

A Rails platform needed coordinated database, storage, and backup changes ahead of a high-risk production release.

My decision & contribution

I executed staging rehearsal, production-data restore, PostgreSQL upgrades, backup verification, and the storage cutover. Mirrored storage allowed a transition before switching to S3; application-level checks verified behavior.

The result

The production upgrade and cutover completed with less than one hour of customer-visible downtime and no known migration failure. This demonstrates a PostgreSQL/storage modernization, rather than a Rails major-version upgrade or measured recovery-time objective.

Open full case study
04 / OBSERVABILITY OPERATIONSSEP—OCT 2026

PostHog / Langfuse / ClickHouse / Docker / Restic · anonymized engagement

Observability needs its own guardrails.

Deployment configuration and runbooks for a shared analytics and LLM-observability stack, with diagnostic-log retention, worker tuning, resource limits, and backup maintenance.

Deployed baseline · later tuning documented

Evidence Reviewed baseline deployed. Later tuning is supported by authored configuration and recorded measurements.
Read the case

The problem

Services shared memory and disk. Unbounded database diagnostic logs could consume shared storage and impair another service’s persistence; worker settings also needed to reflect the actual workload.

My implementation

I contributed Compose deployment configuration, ingestion routing, ClickHouse diagnostic-log caps, Celery worker tuning, and operational documentation. Later authored changes sized resource limits from recorded memory peaks and swap, with the concurrency trade-offs documented.

Backup operations

Transactional PostgreSQL dumps precede file snapshots. Repository-lock retries, retention, and less frequent prune/check operations separate routine backups from expensive maintenance. A daily read of a data subset checks more than the existence of a snapshot.

The trade-offs

Lower worker concurrency saves memory but can delay scheduled tasks. Live analytics-file snapshots remain crash-consistent; partial-read handling requires care. Shared hosting and same-provider backups retain common failure risks.

What is established

The previously reviewed PostHog/Langfuse baseline was confirmed deployed. Later tuning is supported by authored configuration and source-recorded operational observations; its deployment and broader impact are not independently verified. No measured cost savings, uptime improvement, or tested recovery-time claim is made.

Open full case study
05 / MOBILE ARCHITECTURE2020—PRESENT

WEPN · Mobile Lead · direct contract

Router compatibility, proven end to end.

I designed WEPN’s mobile architecture and a network test that establishes actual internet reachability across heterogeneous home routers.

Production delivery

Outcome Compatibility test used in the public pod-qualification workflow.
Read the case

The problem

A successful router response did not prove that a home network could receive an inbound connection. A false positive could lead to hardware that could not work in that network.

My decision & contribution

Discover the router, create a temporary port mapping, open a phone-side TCP listener, request an external probe, then clean up. I evolved service detection to handle inconsistent device/XML structures safely.

Ongoing ownership

Primary owner of the React Native mobile architecture, native dependencies, iOS/Android compatibility, testing, and Fastlane/Azure DevOps release workflows. Backend and pod software are outside this ownership claim. No adoption or pass-rate metric is claimed.

Open full case study
06 / AI WORKFLOWSAPR—AUG 2026

Rails / Liquid / RubyLLM · anonymized learning platform

Untangling a critical prompt-composition path.

Principal investigation and implementation of prompt-rendering and chat-load improvements, separating reusable agent behavior from organization-specific instructions.

Production delivery

Outcome Released functionality; production performance impact was not quantified.
Read the case

The problem

Prompt composition mixed rendering, context loading, and snippet resolution. Chat loading could rebuild prompts and repeat database lookups; shared agent prompts embedded organization-specific instructions.

My contribution

Shipped native Liquid partial rendering, avoided unnecessary rebuilding during chat loading, reduced repeated lookups, and composed organization context around reusable agent behavior.

The boundary

Further decomposition and cache-freshness work was staged or proposed. Separate local benchmarks do not establish shipped production latency or cost improvements.

Open full case study
07 / ENGINEERING DELIVERY1TROLLEY

1Trolley Cloud · technical & delivery leadership

Making dependable delivery a team habit.

I led automated tests, CI gates, deployment automation, mobile release pipelines, environment standards, release coordination, and post-release monitoring.

Production delivery

Outcome Backend/web releases moved from weeks apart to weekly or multiple times per week.
Read the case

The change

Required a passing test suite and approximately 70% coverage for new or changed code. Monthly manual DORA-informed reviews of releases and incidents guided smaller batches and pipeline improvements.

The result

The confirmed improvement is deployment frequency, not measured lead time or 70% whole-repository coverage. The reviews were manual, rather than an audited automated DORA dashboard.

A second engagement

On an anonymized SaaS engagement, smaller batches, stronger tests, and automated gates were followed by approximately one-third as many release-caused incidents over roughly three months. The estimated 67% reduction is based on recalled operational experience, not audited metrics.

Open full case study
08 / FINANCIAL CORRECTNESSJUL 2026

Rails · confidential client

Reconciling the numbers before release.

I found divergent invoice calculations, implemented a canonical correction, added regression coverage, and confirmed ambiguous accounting policy with stakeholders.

Production delivery

Outcome Released correction with no known related recurrence or complaint.
Read the case

The problem

Generated invoices and account-balance behavior needed reconciliation against real data. Duplicate calculation paths produced inconsistent totals.

My decision & contribution

I organized fixes by risk, corrected a CHF 1,778 discrepancy, and made affected views consume the same source of truth. Business-policy ambiguity was resolved with the appropriate stakeholder before implementation.

The result

The correction and regression coverage shipped. No related recurrence, reconciliation issue, or stakeholder complaint was known afterward; a quantified support reduction is unavailable.

Open full case study

Client-sensitive cases are anonymized. Infrastructure rehearsals are labelled separately from production delivery. Product links demonstrate the product; they do not establish sole authorship.

HOW I WORK

Stay close to the code.
Keep the bigger picture.

01

Find the actual failure.

Investigate symptoms across application, database, and infrastructure boundaries. Separate evidence from hypotheses.

02

Make change reversible.

Rehearse risky transitions, define verification and rollback paths, and release in manageable increments.

03

Build shared habits.

Use review, mentoring, automated checks, and clear ownership to turn a good fix into repeatable engineering practice.

02 / EXPERIENCE

A career built
across the stack.

From mobile product engineering
to hands-on technical leadership.

FEB 2026 — PRESENTCairo, Egypt

High-Five

Technical Team Lead

Client engagement through Remotecoders.

Hands-on architecture and delivery across Rails, PostgreSQL, Next.js, infrastructure, and LLM-integrated products. Production incident leadership, prompt/chat modernization, testing, and release practices.

MAY 2019 — FEB 2026Dubai, United Arab Emirates

1Trolley Cloud

Senior Software Engineer → Software Team Lead → Technical Team Lead

Backend architecture, mobile delivery, release coordination, production reliability, and engineering standards for SaaS and e-commerce products.

Senior · May 2019–Jul 2021Team Lead · Aug 2021–Aug 2025Technical Lead · Sep 2025–Feb 2026
SEP 2017 — MAR 2019Dubai, United Arab Emirates

KlubKangaroo

Software Engineer

Built and maintained customer-facing e-commerce mobile functionality with React Native, Redux, and Reselect.

JAN 2017 — AUG 2017Giza, Egypt

Tagipedia

Software Engineering Intern → Software Engineer

Contributed to indoor-mapping and customer projects across Rails, Android, JavaScript, React Native, Angular, C#, and ASP.NET.

Internship January–March; full-time engineering April–August.

ALONGSIDE EMPLOYMENT

WEPN Mobile Lead · July 2020–present

Ongoing direct contract with ownership of mobile architecture and iOS/Android release engineering.

Independent consulting Backend & mobile · 2020–2023 and selected 2026 work

27 completed Upwork contracts; 4.8 aggregate rating across 20 ratings and 69 tracked hours. Recent work includes the anonymized Rails modernization and financial-correctness cases above.

03 / ABOUT

Engineer by craft.
Architectural thinker
by practice.

I’m Mahmoud Ali Ibrahim, based in Cairo. I connect hands-on implementation with technical direction: understanding the constraints, choosing a defensible approach, and carrying it through delivery and operation.

My next step is a Software Architect, Staff Backend/Platform, or hands-on Technical Lead role focused on substantial SaaS, reliability, platform, or AI workflow problems.

EDUCATION

Bachelor of Engineering
in Computer Engineering

Shoubra Faculty of Engineering, Benha University
2011–2016

Arabic · native   /   English · professional working proficiency

The tools behind the work.

Backend & data

Ruby · Rails · PostgreSQL · Active Record · REST APIs · background jobs · query optimization

Web & mobile

JavaScript · React · Next.js · React Native · Redux · native iOS/Android integration · Firebase

Infrastructure & delivery

Docker · GitHub Actions · Azure DevOps · Fastlane · Kamal · S3-compatible storage · Ubuntu/systemd · backup & restore

AI workflows

RubyLLM · Liquid · prompt composition · reusable agent/context design · chat loading · dependency resolution

Architecture & leadership

Domain modeling · API boundaries · incident leadership · reversible migrations · code review · mentoring · stakeholder communication

04 / LET’S TALK

Have a system
worth improving?

For technical leadership opportunities or a defined Rails, PostgreSQL, or React Native problem, let’s start with the context and the outcome you need.