Skip to content

Sri15-Inj/Dockerized-URL-Shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

URL Shortener Service πŸš€

A high-performance, scalable URL shortener built with FastAPI, deployed using Docker and Kubernetes. This service is designed to handle thousands of requests per second with lightning-fast lookups, thanks to efficient routing algorithms and Redis caching.


🎯 Features

  • Scalable Architecture: Deployed with Docker and Kubernetes for easy scaling and management.
  • High-Speed Lookups: Integrated Redis caching for rapid URL resolution.
  • Efficient Routing: Advanced routing algorithms to optimize request handling.
  • Short URL Generation: Generate compact, easily shareable short URLs.
  • Analytics Tracking: Track usage statistics (e.g., click counts, user location, device type).

βš™οΈ Tech Stack


πŸ“¦ Architecture Overview

The service follows a microservices architecture, ensuring high availability and scalability.

  • FastAPI Service: Handles URL shortening, redirection, and analytics tracking.
  • Redis Cache: Accelerates lookups by caching frequently accessed short URLs.
  • PostgreSQL Database: Persists URL mappings and analytics data.
  • Docker Containers: Each component is containerized for portability and consistency.
  • Kubernetes: Manages deployment, scaling, and monitoring.

πŸš€ Getting Started

Prerequisites

  • Docker & Docker Compose
  • Kubernetes & kubectl
  • Redis & PostgreSQL

Clone the Repository

git clone https://github.com/your-username/url-shortener.git
cd url-shortener

About

Designed and developed a scalable URL shortener service using FastAPI, deployed with Docker and Kubernetes. Implemented efficient routing algorithms and integrated Redis caching for high-speed lookups, supporting thousands of requests per second.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors