当前位置:网站首页>Common short chain design methods
Common short chain design methods
2022-07-07 09:00:00 【bboyzqh】
Short chain design is divided into short chain generation and query , There are two ways to generate short chains : Hash 、 Self increasing ID The way , Short chain queries mainly deal with high concurrency scenarios , May adopt cdn、 cache 、 Current limiting, etc . The details are as follows: :
The actual business scenario will be more complex than the above process , The framework cannot escape the above two ways . in addition , There are two more points to consider :
The first point : The server needs to verify the validity of the short chain first , It mainly includes :
1. Whether letters and numbers
2. Whether to splice according to the specified business rules ( Used to filter illegal requests )
Second point : Is there a failure scenario for the short chain ? Depending on the specific business scenario
Reference resources :
1. High performance short chain design :https://mp.weixin.qq.com/s/U_by46CYkM2UzwzyBfxIxA
2. Hands on the court slider
Welcome to WeChat official account. : Fang Chen's blog

边栏推荐
- 模拟卷Leetcode【普通】1557. 可以到达所有点的最少点数目
- Markdown editor Use of MD plug-in
- Ppt template and material download website (pure dry goods, recommended Collection)
- Newly found yii2 excel processing plug-in
- [chaosblade: node disk filling, killing the specified process on the node, suspending the specified process on the node]
- Greenplum 6.x build_ Environment configuration
- JS operation
- Digital triangle model acwing 1027 Grid access
- 徽商期货公司评级是多少?开户安全吗?我想开户,可以吗?
- Count the number of words C language
猜你喜欢
随机推荐
UnityShader入门精要个人总结--基础篇(一)
MAC OSX php dyld: Library not loaded: /usr/local/xxxx. dylib
LeetCode 715. Range module
Test pits - what test points should be paid attention to when adding fields to existing interfaces (or database tables)?
Gson converts the entity class to JSON times declare multiple JSON fields named
xray的简单使用
Reflections on the way of enterprise IT architecture transformation (Alibaba's China Taiwan strategic thought and architecture practice)
硬件大熊原创合集(2022/06更新)
Goldbach conjecture C language
Simulation volume leetcode [general] 1567 Length of the longest subarray whose product is a positive number
Unity shader beginner's Essentials (I) -- basic lighting notes
Problems encountered in the use of go micro
Panel display technology: LCD and OLED
MySQL主从延迟的解决方案
OpenGL帧缓冲
C language for calculating the product of two matrices
JS operation
Skills that testers must know: Selenium's three waiting ways are interpreted clearly
Un salaire annuel de 50 W Ali P8 vous montrera comment passer du test
如何统计项目代码行数









