Mobile App · Social Networking · Cloud Native
Live
2024 — 2026

MeroNEP Mobile Application

Cross-platform social ecosystem with AWS Amplify Gen 2 and GraphQL.

MeroNEP Mobile Application

Production Case Study

Cross-platform social ecosystem with AWS Amplify Gen 2 and GraphQL.

Role

Lead Mobile & Backend Architect

Team Structure

Full-Stack Core Team

Timeline

8 Months (MVP to Production)

Platform & Distribution

iOS & Android (Cross-Platform)

Core Technology Ecosystem

Client Architecture

React NativeTypeScriptExpo EASRedux ToolkitFramer Motion

Cloud & Backend

AWS Amplify Gen 2AppSync (GraphQL)AWS LambdaAmazon DynamoDBAmazon S3

Security & DevOps

Amazon CognitoAWS IAMCloudWatchGitHub Actions CI/CD

01 · Context & Problem Statement

Addressing Real Needs in Community Connectivity

The Background Context

Modern diaspora and localized regional communities frequently lack unified, mobile-first networking hubs that combine high-speed messaging, multimedia feeds, and verified local discovery in low-connectivity conditions.

Core Problem

Existing legacy platforms suffered from sluggish feed pagination, memory leaks caused by unbounded media caches, and unreliable WebSocket reconnects during mobile network transitions (4G to 3G).

Engineering Challenge

Architect a zero-stutter mobile experience capable of 60 FPS scrolling, sub-100ms real-time chat sync, and serverless auto-scaling on AWS with zero idle server overhead.

02 · Engineering Objectives & Benchmarks

Clear Metrics for Production Success

GOAL 01
< 95ms

Sub-Second Message Dispatch

Deliver instant peer-to-peer and group messages via AWS AppSync WebSocket subscriptions.

GOAL 02
60 FPS

Fluid 60 FPS Infinite Scroll

Zero frame-drops on low-end Android and iOS devices using virtualized FlashList and optimized asset caching.

GOAL 03
65% less

Payload & Bandwidth Reduction

On-the-fly WebP transcoding and adaptive image resolution delivery via Amazon CloudFront.

GOAL 04
99.9% Uptime

Serverless Reliability

Zero-maintenance serverless scaling across Lambda and DynamoDB on-demand compute.

03 · Technical Architecture & System Design

End-to-End Serverless Cloud Infrastructure

The system employs a decoupled, event-driven serverless architecture. Mobile clients communicate through a unified GraphQL endpoint on AWS AppSync, backed by AWS Lambda microservices, Cognito authentication, and DynamoDB for sub-10ms data retrieval.

STAGE 01

React Native Client

TypeScript & FlashList

Virtual list rendering, optimistic UI updates, and local SQLite offline caching.

STAGE 02

API Gateway & Real-Time

AWS AppSync GraphQL

Real-time subscriptions, schema-enforced mutations, and JWT-authenticated queries.

STAGE 03

Compute & Microservices

AWS Lambda & Node.js

Event-driven background workers for push notifications, media compression, and analytics.

STAGE 04

Data & Edge Storage

DynamoDB & Amazon S3

Single-table DynamoDB design with global secondary indexes (GSIs) and CloudFront CDN caching.

Auth & Security

JWT token rotation via Amazon Cognito with fine-grained role-based access control per GraphQL resolver.

Zero-Idle Compute

All backend microservices execute via AWS Lambda on demand with automatic horizontal concurrency scaling.

Edge Delivery

Amazon CloudFront global edge caches reduce round-trip latency for static assets and user media globally.

05 · Engineering Challenges & Resolutions

Tackling Real-World Mobile Concurrency & Network Friction

A transparent view of key engineering bottlenecks encountered during production and the exact technical solutions implemented.

Bottleneck 01

Infinite feed stuttering when rendering high-resolution image attachments and video previews on budget Android devices.

Technical Solution

Migrated from standard FlatList to Shopify's FlashList, implemented aggressive cell recycling, and introduced memory-capped FastImage bitmap caching.

Verified Outcome

Eliminated UI frame drops, maintaining steady 60 FPS scrolling and reducing heap memory consumption by 48%.

Bottleneck 02

Message delivery delays and race conditions caused by intermittent mobile connectivity in low-bandwidth regions.

Technical Solution

Built an optimistic Redux mutation queue backed by SQLite storage with deterministic UUID deduplication and exponential retry backoff.

Verified Outcome

Zero lost messages with instant local message display (< 10ms) and automatic cloud sync upon network reconnection.

Bottleneck 03

High AWS Lambda cold start latencies during sudden traffic spikes in group chat channels.

Technical Solution

Switched compute handlers to ESBuild bundled Node 20 runtime, minimized dependency footprint, and provisioned Lambda warmers.

Verified Outcome

Cold start duration dropped from 1.4s to under 120ms, ensuring consistent real-time responsiveness.

06 · Quantifiable Impact & Benchmark Results

60 FPS

Scroll Performance

Sustained rendering frame-rate across both mid-range Android and iOS devices.

65%

Payload Reduction

Decrease in mobile network data usage via automated WebP and CloudFront compression.

< 95ms

Chat Delivery Latency

End-to-end WebSocket round-trip delivery time for real-time messaging.

99.9%

Serverless Availability

Zero downtime achieved through multi-AZ serverless AWS managed services.

07 · Key Engineering Takeaways

01

Optimistic UI state is critical for perceived speed on mobile apps operating in developing markets.

02

Single-table DynamoDB design requires upfront access-pattern planning but yields unbeatable sub-10ms query times at scale.

03

Automated asset transcoding on upload dramatically lowers cloud egress costs and bandwidth consumption for end users.

04

Deep integration of AWS Amplify Gen 2 provides clean, type-safe full-stack synchronization between backend schemas and client TypeScript models.

08 · Production Roadmap & Future Features

Realtime Chat & Feed MVP

Completed

Core social interaction loops, multimedia posts, and direct messaging.

Short-Form Video (Reels)

In Progress

Vertical video player with fast prefetching and swipe gestures.

End-to-End Encrypted Secret Chats

Planned

Signal protocol integration for ephemeral encrypted peer-to-peer conversations.

Collaborate & Build

Interested in building high-performance mobile or web applications?

I lead and develop robust cross-platform mobile apps and cloud architectures. Let's discuss your product vision.