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

边栏推荐
- Simulation volume leetcode [general] 1705 The maximum number of apples to eat
- [chaosblade: node disk filling, killing the specified process on the node, suspending the specified process on the node]
- ESP32-ULP协处理器低功耗模式RTC GPIO中断唤醒
- Calculation s=1+12+123+1234+12345 C language
- Simulation volume leetcode [general] 1567 Length of the longest subarray whose product is a positive number
- Simulation volume leetcode [general] 1609 Parity tree
- [istio introduction, architecture, components]
- Personal deduction topic classification record
- Redis fault handling "can't save in background: fork: cannot allocate memory“
- 模拟卷Leetcode【普通】1557. 可以到达所有点的最少点数目
猜你喜欢

硬核分享:硬件工程师常用工具包

【Istio Network CRD VirtualService、Envoyfilter】

平台化,强链补链的一个支点

最长上升子序列模型 AcWing 1017. 怪盗基德的滑翔翼

LED模拟与数字调光

NCS Chengdu Xindian interview experience

C语言指针(下篇)

Unityshader introduction essentials personal summary -- Basic chapter (I)

UnityShader入门精要个人总结--基础篇(一)

Ppt template and material download website (pure dry goods, recommended Collection)
随机推荐
Problems encountered in the use of go micro
[MySQL] detailed explanation of trigger content of database advanced
OpenGL 3D graphics rendering
Common operating commands of Linux
Serial port experiment - simple data sending and receiving
硬件大熊原创合集(2022/06更新)
Simulation volume leetcode [general] 1557 The minimum number of points that can reach all points
9c09730c0eea36d495c3ff6efe3708d8
Synchronized underlying principle, volatile keyword analysis
Systick滴答定时器
模拟卷Leetcode【普通】1567. 乘积为正数的最长子数组长度
寄存器地址名映射
【Istio Network CRD VirtualService、Envoyfilter】
Alibaba P8 teaches you how to realize multithreading in automated testing? Hurry up and stop
Selenium automation integration, eight years of testing experience, soft test engineer, an article to teach you
使用Typora编辑markdown上传CSDN时图片大小调整麻烦问题
STM32 serial port register library function configuration method
NVIC中断优先级管理
Digital triangle model acwing 275 Pass a note
测试人一定要会的技能:selenium的三种等待方式解读,清晰明了