当前位置:网站首页>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
边栏推荐
猜你喜欢
LED模拟与数字调光
Reflections on the way of enterprise IT architecture transformation (Alibaba's China Taiwan strategic thought and architecture practice)
LeetCode 736. Lisp 语法解析
STM32 serial port register library function configuration method
xray的简单使用
Greenplum 6.x common statements
H3C VXLAN配置
Esp32-ulp coprocessor low power mode RTC GPIO interrupt wake up
Introduction to data fragmentation
【Istio Network CRD VirtualService、Envoyfilter】
随机推荐
Vagrant failed to mount directory mount: unknown filesystem type 'vboxsf'
最长上升子序列模型 AcWing 1017. 怪盗基德的滑翔翼
阿里p8手把手教你,自动化测试应该如何实现多线程?赶紧码住
2022-07-06 Unity核心9——3D动画
模拟卷Leetcode【普通】1567. 乘积为正数的最长子数组长度
串口实验——简单数据收发
为不同类型设备构建应用的三大更新 | 2022 I/O 重点回顾
On December 8th, 2020, the memory of marketing MRC application suddenly increased, resulting in system oom
2022-06-30 Unity核心8——模型导入
Output all composite numbers between 6 and 1000
NVIC中断优先级管理
Expérience de port série - simple réception et réception de données
Introduction to data fragmentation
Troublesome problem of image resizing when using typora to edit markdown to upload CSDN
端口复用和重映像
模拟卷Leetcode【普通】1557. 可以到达所有点的最少点数目
Skills that testers must know: Selenium's three waiting ways are interpreted clearly
Greenplum 6.x monitoring software setup
【ChaosBlade:根据标签删除POD、Pod 域名访问异常场景、Pod 文件系统 I/O 故障场景】
使用Typora编辑markdown上传CSDN时图片大小调整麻烦问题