当前位置:网站首页>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边栏推荐
- July Huaqing learning-1
- Just a coincidence? The mysterious technology of apple ios16 is actually the same as that of Chinese enterprises five years ago!
- Acid transaction theory
- How to clear floating?
- 一款新型的智能家居WiFi选择方案——SimpleWiFi在无线智能家居中的应用
- The solution of outputting 64 bits from printf format%lld of cross platform (32bit and 64bit)
- POJ-2499 Binary Tree
- II. Data type
- Understand redis persistence mechanism in one article
- Flutter2 heavy release supports web and desktop applications
猜你喜欢

Pytoch loads the initialization V3 pre training model and reports an error

Master-slave mode of redis cluster

Select drop-down box realizes three-level linkage of provinces and cities in China

16 channel water lamp experiment based on Proteus (assembly language)

MySQL splits strings for conditional queries

Intern position selection and simplified career development planning in Internet companies

Anaconda creates a virtual environment and installs pytorch

Resnet+attention project complete code learning

Migrate data from Mysql to neo4j database

强化学习-学习笔记3 | 策略学习
随机推荐
图像超分实验:SRCNN/FSRCNN
Keras implements verification code identification
Is investment and finance suitable for girls? What financial products can girls buy?
Pytoch implements tf Functions of the gather() function
Leetcode-1. Sum of two numbers (Application of hash table)
Interviewer: is acid fully guaranteed for redis transactions?
Matlab struct function (structure array)
ZABBIX agent2 installation
信息服务器怎么恢复,服务器数据恢复怎么弄[通俗易懂]
MySQL log module of InnoDB engine
7月华清学习-1
How does MySQL execute an SQL statement?
MySQL view
Learn the memory management of JVM 03 - Method area and meta space of JVM
Correct opening method of redis distributed lock
JS for loop number exception
Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)
一款新型的智能家居WiFi选择方案——SimpleWiFi在无线智能家居中的应用
C alarm design
Redis's memory elimination mechanism, read this article is enough.