
Karim Serhan
Verified Expert in Engineering
Platform Engineer and Full-stack Developer
Seattle, WA, United States
Toptal member since April 14, 2026
Karim is a software engineer with 9+ years of experience at Microsoft, architecting large-scale distributed systems, including core components of an ad-serving platform processing hundreds of thousands of requests per second. Now working independently, Karim ships full-stack products end-to-end, including AWS cloud back ends (Lambda, DynamoDB, SQS, EKS, S3), React Native mobile apps, and Next.js web clients, specializing in multi-tenant cloud architecture and cross-platform product engineering.
Portfolio
Experience
- Distributed Systems - 10 years
- TypeScript - 6 years
- Infrastructure as Code (IaC) - 5 years
- Next.js - 5 years
- React Native - 5 years
- SST - 3 years
- Amazon Web Services (AWS) - 3 years
- Claude Code - 2 years
Preferred Environment
Amazon Web Services (AWS), Pulumi, SST, React, React Native, Claude Code, Cursor AI, GitHub, Next.js, Node.js
The most amazing...
...project I've led involved taking a product—its back end, mobile, web, and infrastructure—from idea to live on the App Store solo in under 3 months.
Work Experience
Full-stack and Platform Engineer
Safastech
- Built and launched a cross-platform media application (React Native and Next.js) with a serverless back end on AWS, including media processing, search, and real-time interactions.
- Designed and built a search and ranking platform for local businesses with custom ingestion pipelines and hybrid retrieval (keyword and vector), integrating CLIP-based embeddings to improve semantic relevance and query performance.
- Built a multi-tenant infrastructure framework (VPC, CDN, and tenant isolation), enabling rapid, cost-efficient deployment of applications from a shared architecture across dev/test/prod environments, with strong security boundaries between tenants.
- Delivered custom workflow automation and CRM-integrated systems for SMB clients.
- Built a self-hosted deployment management console for managing SST deployments across multiple AWS accounts, with cross-account role assumption (STS), scheduled sync and polling automation, WAF rate limiting, and KMS-encrypted storage.
Senior Software Engineer, Ads Click Prediction
Microsoft
- Owned core serving components—including the online featurizer, post-processing modules for ranking scores (randomization, auto-calibration), and ad variant ranking. The system handled hundreds of thousands of QPS, powering revenue-critical workloads.
- Led the ad variant ranking system migration from C# to C++ on a performance-optimized serving infrastructure. Ensured zero downtime during transition, on a revenue-critical path handling 50,000+ QPS. Reduced P50 latency by 8% and P95 latency by 18%.
- Owned and extended critical components of the experimentation infrastructure for staged ML model deployment. Managed high-stakes rollouts, monitored model performance regressions, and ensured safe deployments for revenue-critical ranking workloads.
- Redesigned ML data processing pipelines, decoupling ingestion from model serving, optimizing throughput bottlenecks, and reducing pipeline runtime by 5x, resulting in shortened ML team iteration cycles and faster model experimentation.
Software Engineer, Windows Application Platforms & Tools
Microsoft
- Designed and built core components of MSIX—Windows' application packaging format—including the packaging runtime used by both the SDK and OS, and a conversion tool for migrating legacy apps to the new format. Shipped across millions of devices.
- Built the Windows App Installer—a system app enabling users to install applications from outside the Microsoft Store—including sideloading and streaming installs directly from HTTP sources. Shipped to hundreds of millions of devices.
- Built and shipped StoreUploader, a developer tool for efficiently submitting apps to the Microsoft Store, including smart delta uploads that reduced time to publish updates. This was a cross-team effort with the Microsoft Store team.
- Served as Git Champion, leading my organization's SourceDepot-to-Git migration. Defined the rollout strategy, coordinated with the broader OS-ES team, and unblocked hundreds of engineers during the transition.
Experience
Gifbey – GIF & Sticker Sharing App
https://gifbey.com/The back end is a fully serverless AWS Lambda and API Gateway. DynamoDB is used for user and content data, SQS for async processing (moderation, encoding, notifications), and S3 and CloudFront for CDN-served media. The GIF/video transcoding pipeline is built on FFmpeg running in Lambda. The mobile client is built with React Native and Expo, with native FFmpeg integration for on-device media processing. The web client uses Next.js, and all infrastructure is defined in SST.
I used event-driven architecture throughout, with attention to consistency and ordering guarantees across the distributed pipeline.
Safastech Shared Cloud Infrastructure and Core Libraries
https://safastech.com/It covers the repeatable components every SaaS product needs—cloud infrastructure primitives (VPCs, CDNs, and multi-tenant databases with schema-level isolation), application utilities (S3/CDN storage, parameter caching, and connection string builders), and cross-cutting helpers. I designed these so that new applications can bootstrap on proven infrastructure patterns with minimal set up—the foundation on which Gifbey, Safastech Console, and other apps in the ecosystem are built.
Local Business Search & Discovery Platform
The back end runs on AWS, with a custom ingestion pipeline that crawls, normalizes, and enriches business listings before indexing them in a self-hosted Typesense cluster for keyword search and in a vector store for semantic retrieval. Semantic relevance uses CLIP-based embeddings, with a PyTorch inference path that generates embeddings for both listings and user queries at query time. The ranking layer blends keyword and vector scores, tuned for local intent—proximity, category match, and listing quality. The stack is built on the same multi-tenant SaaS infrastructure framework behind my other products.
The front end follows a cross-platform pattern: a shared UI package on Gluestack and NativeWind powers three targets—a consumer web client (Next.js), a mobile app (Expo/React Native), and an admin console—all of which share the same component library, API client, and TanStack Query hooks.
Safastech Console – Self-hosted AWS Deployment Manager
https://console.safastech.com/The console provides a unified UI for deploying, rolling back, and monitoring SST applications across multiple AWS accounts and environments. It handles AWS credential management, deployment history, environment variable injection, and real-time status tracking.
I used full-stack TypeScript on an AWS serverless infrastructure, with a Next.js web console as the front end. I built it to be deployed into a team's own AWS account—no external service dependency.
Microsoft Ad-serving Platform – Ranking Infrastructure at Scale
My work spanned system topology and data-flow design for ML-driven ranking workloads; A/B testing and canary-rollout systems enabling safe, staged deployment of ML models across a distributed serving infrastructure; and capacity analysis delivering 10% higher per-node throughput.
I also led cross-team technical design discussions, aligning back-end, ML, and platform teams on system contracts and rollout strategies for production ML systems.
MSIX Packaging Tool
https://apps.microsoft.com/detail/9n5lw3jbcxkfI designed and built core components of the tool, including the conversion engine that captures application install behavior (file system changes, registry operations, services) inside an isolated environment—spawning an isolated Windows VM via native Hyper-V integration—and translates it into a valid MSIX package.
My work spanned isolation primitives, install-behavior capture, package generation, and validation—all operating under strict correctness constraints since incorrectly packaged apps would fail at scale across millions of end-user installs.
Windows App Installer – System App for App Distribution
https://apps.microsoft.com/detail/9nblggh4nns1I owned the Windows App Installer end-to-end as the primary engineer. I designed and shipped the HTTP-based streaming install path (enabling installations to begin before the full package has downloaded), sideloading flows, and the broader install pipeline that handles package validation, dependency resolution, and system integration.
Education
Master's Degree in Computer Engineering
University of Texas at Austin - Austin, TX, USA
Bachelor's Degree in Telecommunications
American University of Beirut - Beirut, Lebanon
Skills
Libraries/APIs
React, Node.js, Drizzle, OpenAI API, REST APIs, API Development, PyTorch, FFmpeg, Windows API, NativeWind
Tools
Claude Code, GitHub, Amazon Simple Queue Service (SQS), Expo, Codex, Amazon Cognito, Amazon Simple Notification Service (SNS), AWS IAM, MSBuild, Git, Xcode, TestFlight, Process Monitor
Languages
C++, GraphQL, C#, TypeScript, JavaScript, SQL, Python, Objective-C, Swift, Java
Frameworks
SST, React Native, Next.js, .NET, Windows Presentation Foundation (WPF), Windows Credential Framework, Tailwind CSS
Paradigms
REST, Mobile Development, Azure DevOps, MapReduce, Event-driven Architecture
Platforms
Amazon Web Services (AWS), AWS Lambda, Azure, iOS, Vercel
Storage
Amazon DynamoDB, PostgreSQL, Data Pipelines, Amazon S3 (AWS S3), SQLite, Microsoft SQL Server
Other
Cursor AI, Distributed Systems, System Architecture, Infrastructure as Code (IaC), Serverless, System Design, A/B Testing, Performance Optimization, Architecture, API Integration, APIs, Back-end, CRM, Full-stack Development, Artificial Intelligence (AI), Generative Artificial Intelligence (GenAI), Supabase, Row-level Security (RLS), Large Language Models (LLMs), WebSockets, RAG Systems, User Management, Full-stack, Technical Leadership, Reliability, AI Agent Orchestration, GitHub Actions, API Backwards Compatibility, Network Security, AI Agents, WiFi, Vector Databases, GDPR, Security, Pulumi, Compilers, Machine Learning, Networking, Digital Systems, Application Security, Protocol Buffers, Big Data, Virtual Machines, Streaming, Typesense, gluestack
How to Work with Toptal
Toptal matches you directly with global industry experts from our network in hours—not weeks or months.
Share your needs
Choose your talent
Start your risk-free talent trial
Top talent is in high demand.
Start hiring