Tagged articles
url-shortening
19 articles · Page 1 of 1

XikeOct 8, 2026 · Backend Development
This article details the architecture of short link systems, covering short domain selection, unique ID generation strategies (auto-increment, Redis, Snowflake), Base62 and custom encoding, mapping storage with Redis and databases, 302 redirection flow, cache optimization, anti-enumeration, idempotency, expiration handling, multi-data-center deployment, and click tracking.
Redis cachingbase62http-redirection
0 likes · 15 min read

This article explains the core functions of a short‑URL system, compares permanent (301) and temporary (302) redirects, details four generation methods—including hash, auto‑increment, random strings, and pre‑generation—and outlines a high‑concurrency architecture with sharding, caching, and Snowflake IDs.
Snowflakehigh-concurrencyshorturl
0 likes · 9 min read

This article explains the benefits of using short‑link services for marketing, sharing, and SMS optimization, and provides step‑by‑step Flask and Django tutorials—including installation commands, MySQL integration, URL generation, routing, and database models—to create a functional short URL platform.
DjangoFlaskPython
0 likes · 7 min read

This article details the architecture, core algorithms, security measures, and performance optimizations of a high‑throughput short‑link service, covering hash‑based ID generation, Base62 encoding, distributed ID schemes, caching, database indexing, sharding, and monitoring to ensure efficient and secure URL shortening.
Backend ArchitectureSecuritybase62
0 likes · 13 min read

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.
HTTP redirectKey generationSpring Boot
0 likes · 8 min read

This article details the architecture, core algorithms, security measures, and performance optimizations of a URL shortener platform, covering hash functions, distributed ID generation, Base62 encoding, caching, database indexing, sharding, and monitoring to achieve efficient and secure link redirection.
Performance Optimizationbase62caching
0 likes · 11 min read

This article presents a series of Python automation examples—including HTTP requests, URL shortening, fake data creation, YouTube video downloading, NATO‑style message encryption, and Selenium‑driven social‑media login—showcasing concise code snippets and explanations that highlight Python's simplicity and versatility for repetitive tasks.
Data Generationencryptionselenium
0 likes · 7 min read

This article explains how to use Sina's short URL API to convert long links into short t.cn links, detailing request formats, required parameters, example PHP code for generating and expanding URLs, and shows sample JSON and XML responses.
PHPSinabackend development
0 likes · 6 min read

This article explains why short URLs are useful, describes the principle of mapping short codes to original URLs, and provides two complete PHP implementations—one using MySQL for storage and another using an INI file—along with the necessary rewrite rules for Apache and Nginx.
BackendPHPmysql
0 likes · 6 min read

This article details the architecture, compression‑code generation strategies, database schema, high‑concurrency handling, and Java implementation of a short‑URL service capable of supporting hundreds of millions of short links, including code snippets and deployment considerations.
JavaSpringBoothigh-concurrency
0 likes · 19 min read

This article explains how to use Python to convert hundreds of long URLs into short ones and later restore them, covering the rationale for short links, free and paid service options, and providing complete code examples for both shortening and expanding URLs.
APIBackendPython
0 likes · 5 min read

This article explains why short URLs are used in spam messages, outlines their benefits, describes the basic generation process, and dives into service design choices such as storage, one‑to‑one mapping, caching, batch issuance, and distributed handling, accompanied by a Java‑Redis implementation example.
BackendJavahigh-concurrency
0 likes · 11 min read

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

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

The article explains why short URLs are widely used in spam messages, outlines the basic workflow of a URL shortening service, and discusses practical backend design choices such as ID generation, database storage, caching, batch allocation, and distributed architectures to achieve high concurrency and reliable one‑to‑one mapping.
backend designcachingurl-shortening
0 likes · 7 min read

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.
Distributed Systemsbackend developmentredis
0 likes · 11 min read

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

This article explores the design of a high‑performance short‑link system, covering its benefits, redirection mechanics, hash‑based and auto‑increment generation methods, database schema, Bloom filter optimization, and a scalable OpenResty‑based architecture for handling massive traffic.
Backend ArchitectureBloom filterOpenResty
0 likes · 15 min read

This article explores the concept of short URLs, their practical applications such as social media and QR codes, discusses various generation methods, presents algorithmic designs like incremental ID encoding and caching strategies, and provides a reference implementation for building a reliable URL shortening service.
AlgorithmBackendredis
0 likes · 12 min read
