redux-cluster 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -16
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -31,20 +31,20 @@ Redux Cluster implements a master-slave architecture where one server manages th
|
|
|
31
31
|
│ Redux Cluster Network │
|
|
32
32
|
├─────────────────────────────────────────────────────────────────┤
|
|
33
33
|
│ │
|
|
34
|
-
│ ┌─────────────┐ TCP/Socket ┌─────────────┐
|
|
35
|
-
│ │ Client A
|
|
36
|
-
│ │ (Worker) │
|
|
37
|
-
│ └─────────────┘
|
|
38
|
-
│
|
|
39
|
-
│ ┌─────────────┐ TCP/Socket │ │
|
|
40
|
-
│ │ Client B
|
|
41
|
-
│ │ (Worker) │
|
|
42
|
-
│ └─────────────┘
|
|
43
|
-
│ │
|
|
44
|
-
│ ┌─────────────┐ TCP/Socket
|
|
45
|
-
│ │ Client C │◄─────────────────────────────────────┘
|
|
46
|
-
│ │ (Worker) │
|
|
47
|
-
│ └─────────────┘
|
|
34
|
+
│ ┌─────────────┐ TCP/Socket ┌─────────────┐ │
|
|
35
|
+
│ │ Client A │◄───────────────────────────►│ Server │ │
|
|
36
|
+
│ │ (Worker) │ │ (Master) │ │
|
|
37
|
+
│ └─────────────┘ │ │ │
|
|
38
|
+
│ │ │ │
|
|
39
|
+
│ ┌─────────────┐ TCP/Socket │ │ │
|
|
40
|
+
│ │ Client B │◄───────────────────────────►│ │ │
|
|
41
|
+
│ │ (Worker) │ │ │ │
|
|
42
|
+
│ └─────────────┘ └─────────────┘ │
|
|
43
|
+
│ │ │
|
|
44
|
+
│ ┌─────────────┐ TCP/Socket │ │
|
|
45
|
+
│ │ Client C │◄─────────────────────────────────────┘ │
|
|
46
|
+
│ │ (Worker) │ │
|
|
47
|
+
│ └─────────────┘ │
|
|
48
48
|
│ │
|
|
49
49
|
└─────────────────────────────────────────────────────────────────┘
|
|
50
50
|
```
|
|
@@ -58,8 +58,8 @@ Redux Cluster implements a master-slave architecture where one server manages th
|
|
|
58
58
|
└─────────────┘ └─────────────┘ └─────────────┘
|
|
59
59
|
▲ │ │
|
|
60
60
|
│ ▼ │
|
|
61
|
-
│ 4. State Update
|
|
62
|
-
└──────────────────────────│ Broadcast
|
|
61
|
+
│ 4. State Update ┌─────────────┐ 3. State Changed │
|
|
62
|
+
└──────────────────────────│ Broadcast │◄──────────────────────┘
|
|
63
63
|
│ Engine │
|
|
64
64
|
└─────────────┘
|
|
65
65
|
│
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redux-cluster",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "TypeScript cluster module for Redux that synchronizes Redux stores across cluster processes via IPC and TCP sockets",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"homepage": "https://github.com/siarheidudko/redux-cluster#readme",
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@sergdudko/objectstream": "^3.2.26",
|
|
95
|
-
"protoobject": "^
|
|
95
|
+
"protoobject": "^2.0.0",
|
|
96
96
|
"redux": "^5.0.1"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|