Tagged articles
26 articles
Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Jun 23, 2025 · Backend Development

How to Build a Million‑QPS Short‑URL Service: Architecture & Code

This article walks through the challenges of handling millions of requests per second for a short‑URL service and presents a complete backend solution—including ID generation, Base62 encoding, cache‑layer design, Nginx redirect optimization, disaster‑recovery strategies, sharding, and performance test results—while providing Java code snippets and design principles for high‑throughput, resilient systems.

JavaSystem Architecturehigh concurrency
0 likes · 11 min read
How to Build a Million‑QPS Short‑URL Service: Architecture & Code
Selected Java Interview Questions
Selected Java Interview Questions
Oct 30, 2024 · Backend Development

Implementing Short URL Redirection with SpringBoot

This article explains the concept of short‑URL redirection, its benefits, and provides a complete SpringBoot implementation—including database schema, entity, DAO, service, controller, and testing code—to convert long links into short, trackable links and handle redirects.

BackendJavaMyBatis
0 likes · 11 min read
Implementing Short URL Redirection with SpringBoot
MaGe Linux Operations
MaGe Linux Operations
Aug 24, 2023 · Backend Development

Designing a Scalable Short URL Service with Spring Boot

This article explains the principles, system design, key generation, encoding strategies, HTTP redirection techniques, and step‑by‑step Spring Boot project setup needed to build a reliable short‑link service for marketing and internal applications.

Backend DevelopmentHTTP redirectSpring Boot
0 likes · 8 min read
Designing a Scalable Short URL Service with Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Mar 16, 2023 · Backend Development

Designing a 100W QPS Short URL System: Architecture, ID Generation, and High‑Concurrency Strategies

This article explains how to design a high‑performance short‑URL service capable of handling 1 million queries per second, covering system background, URL shortening principles, base‑62 encoding, distributed ID generation options, storage sharding, ambiguity checking with Bloom filters, multi‑level caching, and redirect handling.

Backend Architecturebloom-filterdistributed-id
0 likes · 20 min read
Designing a 100W QPS Short URL System: Architecture, ID Generation, and High‑Concurrency Strategies
Architecture Digest
Architecture Digest
Nov 18, 2022 · Backend Development

Design and Implementation of a Short URL Service

This article explains the value of short URLs, the HTTP redirection principle behind them, and provides detailed design and implementation strategies—including hash‑based and distributed‑ID approaches, base‑62 encoding, database storage, caching, indexing, and security measures—to build a scalable short‑link service.

HTTP redirectcachingdatabase indexing
0 likes · 12 min read
Design and Implementation of a Short URL Service
Laravel Tech Community
Laravel Tech Community
Nov 13, 2022 · Backend Development

Design and Implementation of a Short URL Service

This article explains the value, underlying HTTP redirect mechanism, and detailed design approaches—including hash‑based and distributed‑ID generation, base‑62 encoding, database storage, caching, indexing, sharding, and rate‑limiting—to build a scalable short‑link service.

HTTP redirectPerformance Optimizationhash algorithm
0 likes · 12 min read
Design and Implementation of a Short URL Service
Top Architect
Top Architect
Nov 11, 2022 · Backend Development

Distributed ID Generation Service: Features, Scenarios, and Implementation

This article explains the need for globally unique identifiers in modern applications, outlines the essential characteristics of a distributed ID generation service, examines common implementation techniques, and discusses concrete business scenarios such as order numbers, coupons, short URLs, and tracing with practical code examples.

BackendPHPcoupon code
0 likes · 18 min read
Distributed ID Generation Service: Features, Scenarios, and Implementation
Top Architect
Top Architect
Nov 3, 2022 · Backend Development

Distributed ID Generation Service: Principles, Features, and Common Implementations

The article explains the need for globally unique IDs in various business scenarios, outlines essential service characteristics such as uniqueness, ordering, high availability, and security, and details common technical implementations including Snowflake, Redis auto‑increment, short‑URL encoding, and custom coupon code schemes.

ID generationcoupon codeshort URL
0 likes · 18 min read
Distributed ID Generation Service: Principles, Features, and Common Implementations
Baidu Geek Talk
Baidu Geek Talk
Oct 20, 2022 · Backend Development

Choosing the Right Distributed ID Generation Strategy for Different Business Scenarios

This article analyzes the diverse business requirements for unique identifiers—such as order numbers, QR‑code payments, coupons, trace IDs, and short URLs—and compares technical implementations like Redis auto‑increment, Snowflake, and custom base‑62 encoding to help engineers select the most suitable distributed ID generation solution.

Backend ArchitectureID generationTrace ID
0 likes · 19 min read
Choosing the Right Distributed ID Generation Strategy for Different Business Scenarios
JavaEdge
JavaEdge
Feb 10, 2022 · Backend Development

Designing Scalable Short‑URL Services: From Hashes to Base‑62 ID Encoding

This article examines short‑URL system design, comparing hash‑based, MySQL, and Redis storage strategies, and proposes an optimized solution using auto‑increment IDs with high‑base (62) encoding and lightweight encryption to reduce storage and improve lookup performance.

HashID encodingSystem Design
0 likes · 8 min read
Designing Scalable Short‑URL Services: From Hashes to Base‑62 ID Encoding
Architect
Architect
Jul 15, 2021 · Backend Development

Designing a High‑Performance Short URL System

This article explains the benefits of short URLs and presents a comprehensive, interview‑friendly design for a high‑performance short‑link service, covering redirect mechanics, hash‑based and auto‑increment generation methods, database schema, collision handling, and an OpenResty‑based architecture for massive concurrency.

HashingOpenRestySystem Design
0 likes · 14 min read
Designing a High‑Performance Short URL System
Top Architect
Top Architect
Dec 22, 2020 · Backend Development

Design and Implementation of a High‑Concurrency Short URL Service

This article explains the benefits of short URLs, outlines their basic workflow, and details a backend design that uses an incremental issuer, base conversion, persistent storage, caching, batch ID allocation, and distributed issuers to achieve efficient, high‑concurrency short‑URL generation.

Javahigh concurrencyredis
0 likes · 10 min read
Design and Implementation of a High‑Concurrency Short URL Service
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 22, 2020 · Backend Development

How Short URLs Work: From Generation to High‑Performance Service Design

This article explains why short URLs are used in SMS and other platforms, outlines their benefits, describes the basic workflow of mapping long URLs to short ones, and dives into backend design choices such as incremental ID generation, storage strategies, caching, batch allocation, and distributed generation using Redis and Java.

BackendJavahigh concurrency
0 likes · 11 min read
How Short URLs Work: From Generation to High‑Performance Service Design
Code Ape Tech Column
Code Ape Tech Column
Dec 12, 2020 · Backend Development

Building a Scalable Short‑URL Service with Redis and Java

Short URLs are popular in SMS and social media because they save characters, look tidy, enable analytics, and hide parameters; this article explains their benefits, the basic redirect workflow, and provides a detailed backend design—including storage choices, high‑concurrency strategies, distributed ID generation, and a Java‑Redis implementation.

BackendJavadistributed system
0 likes · 11 min read
Building a Scalable Short‑URL Service with Redis and Java
Architecture Digest
Architecture Digest
Nov 25, 2020 · Backend Development

Design and Implementation of a Short URL Service Using Redis and MySQL

The article explains why short URLs are popular, outlines their basic workflow, and details a backend service design that uses an incremental ID generator, Redis caching, MySQL storage, batch allocation, and distributed strategies to efficiently create and manage short links.

high concurrencymysqlshort URL
0 likes · 10 min read
Design and Implementation of a Short URL Service Using Redis and MySQL
Programmer DD
Programmer DD
Aug 23, 2020 · Backend Development

How Short URLs Work: Theory, Design, and a Java Implementation

This article explains why short URLs are used in spam SMS, outlines their benefits, describes the basic principle of mapping long URLs to short ones, and details service design choices such as storage, one‑to‑one mapping, high‑concurrency handling, distributed ID generation, and provides a Java implementation using Redis.

Backend DevelopmentDistributed Systemsredis
0 likes · 11 min read
How Short URLs Work: Theory, Design, and a Java Implementation
Architecture Digest
Architecture Digest
Jul 1, 2020 · Backend Development

Design and Implementation of a Short URL Service

This article explains the concept of short URLs, compares three generation algorithms (auto‑increment ID, hash‑based, and random), analyzes their trade‑offs, and presents a complete backend design including database schema, caching strategy, redirection flow, and Java code examples for hash and base‑62 conversion.

Javabase62hash algorithm
0 likes · 15 min read
Design and Implementation of a Short URL Service
Architect's Tech Stack
Architect's Tech Stack
Sep 12, 2019 · Backend Development

Design and Implementation of a Short URL Service in Java

This article explains the benefits of short URLs, outlines the basic workflow of generating and resolving them, and presents a complete Java implementation that uses Redis for fast storage, MySQL for persistence, and various techniques for high concurrency and distributed deployment.

Backendhigh concurrencyredis
0 likes · 8 min read
Design and Implementation of a Short URL Service in Java
21CTO
21CTO
Nov 8, 2015 · Backend Development

Designing a Scalable Short URL Service: Key Decisions and Best Practices

This article explores the essential design considerations for building a short URL service, covering data structures, encoding algorithms, key length choices, capacity planning, sharding strategies, concurrency handling, network architecture, security measures, and a real‑world example.

backend designconcurrencysharding
0 likes · 7 min read
Designing a Scalable Short URL Service: Key Decisions and Best Practices
Architect
Architect
Nov 8, 2015 · Backend Development

Design Considerations for a Short URL Service

Designing a short URL service involves choosing appropriate key‑value storage, simple incremental or base‑36 encoding for keys, estimating data capacity and sharding strategies, handling concurrent reads/writes with thread‑safe structures or Redis, selecting network event loops, and addressing security concerns such as abuse prevention.

BackendSecuritySystem Design
0 likes · 6 min read
Design Considerations for a Short URL Service