PEER
Net.
A distributed event-driven communication ecosystem engineered to scale real-time social interactions through a robust Kafka-backed messaging backbone.
Social at Infrastructure Scale.
Modern social platforms require more than just UI; they require a distributed nervous system. PeerNet was built to handle high-frequency social interactions—likes, messages, and state updates—using an event-driven architecture that ensures data consistency and real-time propagation across global nodes.
Real-time Messaging
Sub-100ms latency for global message propagation.
Event Mesh
Decoupled services communicating via a Kafka-powered event stream.
Scalable Social Graph
Optimized Redis caching for instant social connection retrieval.
The WebSocket Backbone.
Scaling WebSockets in a distributed environment is a non-trivial engineering challenge. PeerNet utilizes a Redis-backed Socket.io adapter to synchronize connection states across multiple server instances, ensuring that no user is isolated.


Distributed Event Mesh.
Real-time Propagation Architecture
Kafka Event Sourcing
Every social interaction is treated as an immutable event. Kafka handles the durability and replayability of these events, allowing us to build a fault-tolerant system where no data is lost during spikes.
Redis Socket Orchestration
Using Redis Pub/Sub, we scaled Socket.io horizontally. This allows thousands of concurrent users to communicate across different server instances as if they were on the same node.
Async Feed Generation
Instead of heavy join queries, feeds are generated asynchronously. Kafka consumers process activity events and pre-compute social feeds into Redis, providing O(1) retrieval for users.
Product Craftsmanship.
Immersive Social UI
Built with Framer Motion to ensure every interaction—from a message notification to a like animation—feels fluid and tactile.
Fault-Tolerant Updates
Even if the database is lagging, the event-driven backbone ensures that message delivery is eventual and guaranteed.
Real-time Social Awareness
Presence indicators and activity feeds are synchronized globally with sub-200ms delay, maintaining a sense of community.
PeerNet is more than a social app;
it is an exercise in high-frequency social infrastructure.
This project demonstrates my capability to build consumer-facing platforms that are backed by enterprise-grade distributed systems and real-time data pipelines.