当前位置:网站首页>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
边栏推荐
- Master-slave mode of redis cluster
- Learn the memory management of JVM 03 - Method area and meta space of JVM
- MySQL log module of InnoDB engine
- The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
- 16 channel water lamp experiment based on Proteus (assembly language)
- Take you hand in hand to develop a service monitoring component
- MySQL stored procedure
- MySQL transaction
- Instance + source code = see through 128 traps
- Introduction to GNN
猜你喜欢
Simple production of wechat applet cloud development authorization login
Detailed steps for upgrading window mysql5.5 to 5.7.36
Redis clean cache
Master-slave mode of redis cluster
ZABBIX customized monitoring disk IO performance
ABAP table lookup program
Anaconda creates a virtual environment and installs pytorch
Learn memory management of JVM 01 - first memory
NPM install reports an error
Understand redis persistence mechanism in one article
随机推荐
Take you hand in hand to develop a service monitoring component
语义分割实验:Unet网络/MSRC2数据集
MySQL index - extended data
Solution to order timeout unpaid
C alarm design
Matlab label2idx function (convert the label matrix into a cell array with linear index)
只是巧合?苹果 iOS16 的神秘技术竟然与中国企业 5 年前产品一致!
SENT协议译码的深入探讨
byte2String、string2Byte
ZABBIX agent2 monitors mongodb nodes, clusters and templates (official blog)
End to end neural network
II. Data type
Clear neo4j database data
MySQL basic operation -dql
How can beginners learn flutter efficiently?
GNN(pytorch-geometric)
Solve the error 1045 of Navicat creating local connection -access denied for user [email protected] (using password
Pytoch uses torchnet Classerrormeter in meter
ZABBIX ODBC database monitoring
NPM install reports an error