Back to Projects

Kayak Travel Platform

Team Project

3-tier distributed system simulating travel metasearch with microservices and event-driven architecture.

Node.jsMySQLMongoDBRedisKafkaDocker
View Code

Microservices

Flights
Hotels
Cars
Users
Booking
AI Recs

3-Tier Architecture

Tier 1: Frontend
React Web App
Tier 2: Middleware
API Gateway + Services
Tier 3: Database
MySQL + MongoDB + Redis
API Gateway

JWT authentication, rate limiting, request routing to downstream services

Service Layer

Independent microservices for search, booking, and user management

Data Layer

MySQL for OLTP, MongoDB for analytics, Redis for caching

Kafka Event Flow

User Action
Kafka Event
Service Process
DB Update
Response

Real-time event streaming for booking confirmations, inventory updates, and user actions

Key Features

Transactional Bookings
ACID-compliant booking flow with inventory control and rollback support
Redis Search Cache
Sub-100ms search responses with intelligent cache invalidation
AI Recommendations
LangChain-powered agent suggesting flights, hotels based on preferences
Event Sourcing
Kafka topics for audit trail and cross-service synchronization
6
Microservices
3
Databases
<100ms
Cached Search
Kafka
Event Bus