Introduction:
Shared nothing Architecture
(No shared architecture) is a distributed architecture with each node independent. Typical SNA
The system centrally stores status information, such as the memory cache in the database.
Is not saved on the node.
For
Cluster.
The session Status of each node is stored on each node.
Replication will greatly affect performance. If SNA is used
To keep each node stateless and stop using sessions.
To maintain the global state, but to set the session
Directly in the database, add a distributed cache before the database
(Memcached is recommended.
). This will greatly improve the performance when the session is changed.
To the cache.
And database.
Specific implementation ideas and introduction articles:
Several implementation methods of SNA Architecture
SNA implementation based on memcached
Comparison between J2EE and Ruby cluster deployment