当前位置:网站首页>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

边栏推荐
- Screen automatically generates database documents
- 阿里p8推荐,测试覆盖率工具—Jacoco,实用性极佳
- Test pits - what test points should be paid attention to when adding fields to existing interfaces (or database tables)?
- Troublesome problem of image resizing when using typora to edit markdown to upload CSDN
- Speaking of a software entrepreneurship project, is there anyone willing to invest?
- On December 8th, 2020, the memory of marketing MRC application suddenly increased, resulting in system oom
- Digital triangle model acwing 275 Pass a note
- Redis fault handling "can't save in background: fork: cannot allocate memory“
- 最长上升子序列模型 AcWing 1017. 怪盗基德的滑翔翼
- Simulation volume leetcode [general] 1557 The minimum number of points that can reach all points
猜你喜欢

数字三角形模型 AcWing 1027. 方格取数

Category of IP address

Lenovo hybrid cloud Lenovo xcloud: 4 major product lines +it service portal
![[istio introduction, architecture, components]](/img/2b/f84e5cdac6ed9b429e053ffc8dbeb0.png)
[istio introduction, architecture, components]

Serial port experiment - simple data sending and receiving

C语言指针(上篇)

Markdown editor Use of MD plug-in

Esp32-ulp coprocessor low power mode RTC GPIO interrupt wake up

The longest ascending subsequence model acwing 1017 Strange thief Kidd's glider

数字三角形模型 AcWing 275. 传纸条
随机推荐
Interpretation of MySQL optimization principle
Vagrant failed to mount directory mount: unknown filesystem type 'vboxsf'
Digital triangle model acwing 275 Pass a note
年薪50w阿里P8亲自下场,教你如何从测试进阶
NVIC中断优先级管理
Port occupation troubleshooting
Simulation volume leetcode [general] 1609 Parity tree
[istio introduction, architecture, components]
GoLand set goproxy
Ppt template and material download website (pure dry goods, recommended Collection)
9c09730c0eea36d495c3ff6efe3708d8
Redis fault handling "can't save in background: fork: cannot allocate memory“
Platformization, a fulcrum of strong chain complementing chain
Three updates to build applications for different types of devices | 2022 i/o key review
Selenium automation integration, eight years of testing experience, soft test engineer, an article to teach you
Routing information protocol rip
Problems encountered in the use of go micro
Greenplum 6.x monitoring software setup
How to add a mask of a target in a picture
Explain Huawei's application market in detail, and gradually reduce 32-bit package applications and strategies in 2022