Available for select engineering roles & contracts

Moamen Elbarky

Systems architect & full-stack engineer crafting distributed .NET & Angular systems, polyglot persistence, and high-performance primitives.

Specializing in Clean Architecture, CQRS via MediatR, transactional outbox push patterns (PostgreSQL LISTEN/NOTIFY), and upstream open-source contributions across enterprise platforms.

PROBLEM SOLVING
400+ SolvedLeetCode (200+) · Codewars (180+) · Codeforces
CORE PLATFORMS.NET & Angular.NET 10 · Angular 21 (SSR & Signals)
OUTBOX EFFICIENCY1 Query/MsgReplaced 172k daily polling queries
PERSISTENCE SPEED4.4x FasterPolyglot: 35ms → 8ms quiz creation

Selected Systems Architecture Work

Deep-dives into systems engineering, architectural tradeoffs, high-concurrency invariants, and hardware-conscious design.

build

MechanicShop

v1.0 Production Ready

Enterprise Auto Repair Shop Management System (.NET 10 & Angular 21 SSR)

infoCloud Deployment: Azure Container Apps (scale-to-zero, cold start ~10s)

Architected with Clean Architecture and CQRS via MediatR to orchestrate high-concurrency workflows across repair bays, mechanics, and work orders. Features complete RBAC, real-time SignalR notifications, QuestPDF billing generation, and zero-exception control flow.

CONTROL FLOW MONAD

Result Pattern with Domain Errors

Replaced costly exception-based error handling with strongly typed Result<T> monads, yielding deterministic execution pipelines and zero unexpected 500 runtime crashes.

LIFECYCLE STATE MACHINE

Bay Allocation & Conflict Engine

Work order state machine (Scheduled → InProgress → Completed/Cancelled) with spot collision detection, timezone calculations, and automated background cancellations.

HYBRID CACHE ARCHITECTURE

L1 In-Memory + L2 PostgreSQL

Multi-tiered caching strategy preventing stampedes on high-volume repair task lookups while retaining distributed cache consistency across container app replicas.

src/Domain/Common/Result.csC# 13
// Custom Result<T> Monad — Deterministic Control Flow Without Exception Overhead
public readonly struct Result<TValue>
{
    private readonly TValue? _value;
    public bool IsSuccess { get; }
    public Error Error { get; }

    public TValue Value => IsSuccess 
        ? _value! 
        : throw new InvalidOperationException("Cannot access value of a failed result.");

    private Result(TValue value)
    {
        IsSuccess = true;
        _value = value;
        Error = Error.None;
    }

    public static Result<TValue> Success(TValue value) => new(value);
    public static Result<TValue> Failure(Error error) => new(error);
}
rocket_launch

QuizNova

v1.0 Production Ready

Full-Stack Real-Time Assessment Engine & Course Collaboration Platform

infoCloud Deployment: Static Client (GitHub Pages) + Scale-to-Zero API (Azure)

A decoupled quiz management system featuring a polymorphic question assessment engine, real-time course chat channels via SignalR, and a push-based transactional outbox eliminating polling waste.

OUTBOX OPTIMIZATION

PostgreSQL LISTEN/NOTIFY Push

Replaced traditional 500ms database polling with event-driven PostgreSQL LISTEN/NOTIFY push wake-ups, cutting idle queries from 172,800/day to 1 per message.

POLYGLOT PERSISTENCE

PostgreSQL + MongoDB Hybrid

Migrated quiz attempt document storage to MongoDB while preserving ACID student identity in PostgreSQL, dropping quiz creation latency from 35ms to 8ms (4.4x).

POLYMORPHIC GRADING

Liskov Substitution Principle (LSP)

Engineered a two-level decoupled question/answer hierarchy seamlessly grading MCQ, True/False, and instructor manual essay submissions via pure predicate conditions.

src/Infrastructure/Outbox/PostgresOutboxListener.csC# / PostgreSQL
// Push-based Outbox Wakeup: PostgreSQL LISTEN/NOTIFY Replaces 500ms Polling
public async Task ListenToOutboxAsync(CancellationToken ct)
{
    await using var connection = new NpgsqlConnection(_connectionString);
    await connection.OpenAsync(ct);
    
    connection.Notification += async (o, e) => {
        // Immediate event-driven dispatch without polling overhead
        await _channelWriter.WriteAsync(e.Payload, ct);
    };

    await using var cmd = new NpgsqlCommand("LISTEN outbox_events_channel;", connection);
    await cmd.ExecuteNonQueryAsync(ct);
}

Open Source Work Organized by Organization

Comprehensive log of merged PRs, active upstream architectural features, and assigned issues across enterprise open-source repositories.

domain

DSpace

The world’s premier institutional digital asset repository platform (Java Spring Boot & Angular).

github.com/DSpacenorth_east
DSpace/DSpacecall_merge #13091 OPEN
open_in_new

Allow administrators to edit email templates via the REST API

Part 1 of coordinated 3-repo feature: Spring Boot REST API for email templates with ETag optimistic concurrency, OWASP HTML sanitization, NIO path-traversal & symlink guards, and Zero-Trust admin audit logging.

DSpace/dspace-angularassignment #5828 ASSIGNED
open_in_new

Ability to edit Email Template content via admin interface

Part 3 of coordinated 3-repo feature: Angular UI providing institutional repository administrators with an intuitive in-browser editor for customizing system transactional email templates.

domain

elsa-workflows

High-performance open-source workflow execution engine for .NET Core applications.

github.com/elsa-workflowsnorth_east
domain

valtuutus

Relationship-Based Access Control (ReBAC) authorization engine for .NET inspired by Google Zanzibar.

github.com/valtuutusnorth_east
domain

kolkov

Community-driven Angular ecosystem tools and developer components.

github.com/kolkovnorth_east

Technologies & Systems Architecture Stack

Core tools and frameworks applied across production workloads, categorized by architectural responsibility.

codeBACKEND & RUNTIMES
C# 13.NET 10 CoreASP.NET Core Web APIEF Core 10MediatR (CQRS)Result<T> MonadSignalR Real-TimeFluentValidationQuestPDFxUnit / IntegrationC++
desktop_windowsFRONTEND & CLIENT
Angular 21Angular SSRTypeScriptAngular SignalsNgRx Signal StoreRxJS StreamsAngular MaterialModern CSSHTML5 SemanticPlaywright & Vitest
storageDATABASES & STORAGE
PostgreSQL 18MongoDBPolyglot PersistenceLISTEN/NOTIFY OutboxRedis CacheHybrid Cache (L1/L2)SQLiteAdvanced SQL
cloudINFRA & OBSERVABILITY
Azure Container AppsDocker / ComposeTerraform IaCGitHub Actions CI/CDOpenTelemetrySerilogGrafana LokiPrometheus Metrics

Bookshelf & Computing Fundamentals

Continuous study of timeless computing literature, distributed algorithms, and systems internals.

Martin Kleppmann82% Complete

Designing Data-Intensive Applications

“Reliability isn’t preventing faults—it is designing deterministic recovery around inevitable hardware entropy.”

Remzi & Andrea Arpaci-Dusseau100% Complete

Operating Systems: Three Easy Pieces

Virtualization, concurrency primitives, and durable persistent storage abstractions from first principles.

Beyer, Jones, Petoff, Murphy (Google)100% Complete

Site Reliability Engineering

Rigorous operational hygiene: treating production operations as an engineering problem governed by error budgets.

Robert Nystrom100% Complete

Crafting Interpreters

A visceral hands-on guide building AST parsers, lexical scopes, and bytecode virtual machines from pure scratch.

Initiate Contact & Connect

Open for senior engineering roles, technical advisory, and distributed system collaborations.

Let’s build resilient systems together.

Direct response guaranteed within 24 hours. Located in Egypt (UTC+2 / UTC+3).

mailSend Email
PHONE / WHATSAPP+20 106 8164134
LOCATIONMenofia, Egypt
ACADEMIC BACKGROUNDB.Sc. in AI, Menofia Univ. (2024–2028)
PGP FINGERPRINT:7F9B 24E1 018C D09A 59BA 9104 31BC 64FF
check_circle