Tagged articles

fallback-strategy

3 articles · Page 1 of 1
dbaplus Community
dbaplus Community
Sep 13, 2026 · Backend Development

Solving Sharding Routing Latency by Embedding Route Keys in Order IDs

A large OTA platform eliminated sharding query latency by encoding a 4-bit routeKey into 64-bit Snowflake order IDs, enabling direct shard lookup without index table queries, reducing P99 latency from over 1 second to tens of milliseconds and cutting database load by 80% through a three-layer fallback strategy.

Performance OptimizationSnowflakebit-manipulation
0 likes · 20 min read
Solving Sharding Routing Latency by Embedding Route Keys in Order IDs
Laravel Tech Community
Laravel Tech Community
Mar 23, 2026 · Backend Development

How to Seamlessly Connect Chinese LLMs to Laravel AI SDK

This guide explains how to integrate domestic large language models such as Qwen, Hunyuan, and DeepSeek with Laravel AI SDK by configuring custom base URLs and API keys, providing step‑by‑step installation, model configuration, sample code, and a unified service class for backend applications.

AI IntegrationChinese LLMsCode Examples
0 likes · 15 min read
How to Seamlessly Connect Chinese LLMs to Laravel AI SDK
Bilibili Tech
Bilibili Tech
Dec 13, 2024 · Databases

Design and Implementation of a Multi-Level Storage Architecture for Bilibili Comment Service

The paper proposes a multi‑level storage architecture for Bilibili’s comment service that replaces TiDB with a custom KV store (Taishan) and Redis caching, introduces unstructured indexes, CAS‑based consistency, real‑time and offline reconciliation, and a hedged degradation strategy to boost reliability, read throughput, and scalability during traffic spikes.

Data ConsistencyNoSQLRedis
0 likes · 13 min read
Design and Implementation of a Multi-Level Storage Architecture for Bilibili Comment Service