Tag

Short URL

0 views collected around this technical thread.

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.

JavaMyBatisRedirect
0 likes · 11 min read
Implementing Short URL Redirection with SpringBoot
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 21, 2024 · Backend Development

Design and Implementation of a High‑Performance Short URL Service

This article explains the motivation, architecture, resource estimation, code generation algorithms, data modeling, database partitioning, caching strategies, and implementation details for building a scalable short URL system that handles billions of links and high QPS workloads.

RedisShort URLbackend architecture
0 likes · 17 min read
Design and Implementation of a High‑Performance Short URL Service
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.

Bloom FilterShort URLbackend architecture
0 likes · 20 min read
Designing a 100W QPS Short URL System: Architecture, ID Generation, and High‑Concurrency Strategies
Laravel Tech Community
Laravel Tech Community
Feb 6, 2023 · Backend Development

Using Sina Short URL API with PHP to Generate and Expand Short Links

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.

APIPHPShort URL
0 likes · 6 min read
Using Sina Short URL API with PHP to Generate and Expand Short Links
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 redirectShort URLcaching
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.

DatabaseHTTP redirectShort URL
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.

PHPShort URLbackend
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 generationShort URLcoupon code
0 likes · 18 min read
Distributed ID Generation Service: Principles, Features, and Common Implementations
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.

HashingOpenRestyShort URL
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.

JavaRedisShort URL
0 likes · 10 min read
Design and Implementation of a High‑Concurrency Short URL Service
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.

MySQLRedisShort URL
0 likes · 10 min read
Design and Implementation of a Short URL Service Using Redis and MySQL
Top Architect
Top Architect
Jul 11, 2020 · Backend Development

Design and Implementation of a Short URL Service: Algorithms, Storage, and Caching

This article explains the principles of short URL generation, compares incremental ID, hash, and random algorithms, analyzes their security and collision characteristics, and presents a complete backend design including database schema, caching strategy, sharding, and Java implementation details.

AlgorithmDatabaseJava
0 likes · 16 min read
Design and Implementation of a Short URL Service: Algorithms, Storage, and Caching
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.

Base62Database DesignJava
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.

JavaRedisShort URL
0 likes · 8 min read
Design and Implementation of a Short URL Service in Java
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.

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