当前位置:网站首页>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
边栏推荐
- 什么是数字化存在?数字化转型要先从数字化存在开始
- 【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
- ZABBIX monitors mongodb (template and deployment operations)
- MySQL splits strings for conditional queries
- Redis highly available sentinel mechanism
- Correct opening method of redis distributed lock
- GNN(pytorch-geometric)
- struct MySQL
- Tabbar configuration at the bottom of wechat applet
- Pytoch implements tf Functions of the gather() function
猜你喜欢
MySQL storage engine
ABAP table lookup program
Get data from the database when using JMeter for database assertion
Average lookup length when hash table lookup fails
Migrate data from Mysql to neo4j database
Matlab imoverlay function (burn binary mask into two-dimensional image)
MySQL index (1)
Matlab boundarymask function (find the boundary of the divided area)
Resnet+attention project complete code learning
Constructing expression binary tree with prefix expression
随机推荐
[superhard core] is the core technology of redis
Handwriting blocking queue: condition + lock
GPS data format conversion [easy to understand]
A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
Hexadecimal conversion summary
NPM install reports an error
Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
PXE startup configuration and principle
Intern position selection and simplified career development planning in Internet companies
Detailed structure and code of inception V3
Master-slave mode of redis cluster
Get data from the database when using JMeter for database assertion
MySQL index (1)
Why learn harmonyos and how to get started quickly?
Redis highly available sentinel cluster
Design of music box based on assembly language
GPS數據格式轉換[通俗易懂]
Learn the memory management of JVM 03 - Method area and meta space of JVM
Pytoch through datasets Imagefolder loads datasets directly from files
Is investment and finance suitable for girls? What financial products can girls buy?