当前位置:网站首页>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
边栏推荐
- Learn the memory management of JVM 03 - Method area and meta space of JVM
- 图像超分实验:SRCNN/FSRCNN
- One article tells the latest and complete learning materials of flutter
- MySQL log module of InnoDB engine
- Matlab imoverlay function (burn binary mask into two-dimensional image)
- POJ-2499 Binary Tree
- 【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
- MySQL splits strings for conditional queries
- Swift - add navigation bar
- How does MySQL execute an SQL statement?
猜你喜欢
Take you two minutes to quickly master the route and navigation of flutter
Seven ways to achieve vertical centering
Redis highly available sentinel mechanism
[email protected] (using password"/>
Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
Why do you always fail in automated tests?
Pytoch uses torchnet Classerrormeter in meter
Take you hand in hand to develop a service monitoring component
16 channel water lamp experiment based on Proteus (assembly language)
Automated test lifecycle
Making and using the cutting tool of TTF font library
随机推荐
Learn garbage collection 01 of JVM -- garbage collection for the first time and life and death judgment
Third party payment interface design
Intern position selection and simplified career development planning in Internet companies
Detailed steps for upgrading window mysql5.5 to 5.7.36
ZABBIX agent2 installation
PXE启动配置及原理
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
byte2String、string2Byte
Knowledge representation (KR)
Basic operations of MySQL data table, addition, deletion and modification & DML
PIP command reports an error pip is configured with locations that requires tls/ssl problems
Ecplise development environment configuration and simple web project construction
MySQL view
Redis highly available slice cluster
MySQL storage engine
Read and understand the rendering mechanism and principle of flutter's three trees
PXE startup configuration and principle
Interviewer: is acid fully guaranteed for redis transactions?
ZABBIX agent2 monitors mongodb nodes, clusters and templates (official blog)
Pytoch loads the initialization V3 pre training model and reports an error