当前位置:网站首页>Distributed solution - distributed session consistency problem
Distributed solution - distributed session consistency problem
2022-07-05 12:32:00 【vx-Yang_ Gaige】
Distributed Session Consistency issues
What is? Session
Session Is the client and server communication session technology , Such as browser login 、 Record the whole browsing session information
Session Realization principle
After the client sends the request to the server ,Session Create on the server side , return Sessionid Save the client browser locally , When the next request is sent , Pass... In the request header sessionId Get the corresponding from the server Sesison
Session common problem
Session Make sure it's there ?
answer : On the server
Close the browser Session Will it fail
answer : It won't go away
Related codes
@SpringBootApplication
@RestController
public class TestSessionController {
// establish session conversation
@RequestMapping("/createSession")
public String createSession(HttpServletRequest request, String边栏推荐
- Image hyperspectral experiment: srcnn/fsrcnn
- 【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
- Acid transaction theory
- How to clear floating?
- 什么是数字化存在?数字化转型要先从数字化存在开始
- Swift - add navigation bar
- Knowledge representation (KR)
- MySQL data table operation DDL & data type
- Error modulenotfounderror: no module named 'cv2 aruco‘
- PIP command reports an error pip is configured with locations that requires tls/ssl problems
猜你喜欢

ZABBIX customized monitoring disk IO performance
Automated test lifecycle

Matlab imoverlay function (burn binary mask into two-dimensional image)

Knowledge representation (KR)

One article tells the latest and complete learning materials of flutter

Get data from the database when using JMeter for database assertion

NPM install reports an error

Summary of C language learning problems (VS)

强化学习-学习笔记3 | 策略学习

Reinforcement learning - learning notes 3 | strategic learning
随机推荐
Automated test lifecycle
MySQL regular expression
Instance + source code = see through 128 traps
Get all stock data of big a
Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)
POJ-2499 Binary Tree
Deep discussion on the decoding of sent protocol
MySQL transaction
Swift - add navigation bar
Pytoch counts the number of the same elements in the tensor
PXE startup configuration and principle
SENT协议译码的深入探讨
mysql拆分字符串做条件查询
Take you hand in hand to develop a service monitoring component
Intern position selection and simplified career development planning in Internet companies
MySQL index - extended data
Learn the garbage collector of JVM -- a brief introduction to Shenandoah collector
Pytoch uses torchnet Classerrormeter in meter
Semantic segmentation experiment: UNET network /msrc2 dataset
Solve the problem of cache and database double write data consistency