© Jorge Acetozi 2017

Jorge Acetozi, Pro Java Clustering and Scalability, https://doi.org/10.1007/978-1-4842-2985-9_11

11. Single-Node Chat Architecture

Jorge Acetozi

(1)São Paulo / SP, Brazil

Figure 11-1 shows the simplified architecture diagram for the single-node chat application. It shows exactly what you are running on your local machine right now if you followed the steps in Chapter 2.

A453568_1_En_11_Fig1_HTML.jpg
Figure 11-1. Single-node chat application

When you register a new account, the user is stored in MySQL, and the role ROLE_USER is assigned to the user, which means that this user is not allowed to create new chat rooms.

After you sign in, the list of all available ...

Get Pro Java Clustering and Scalability: Building Real-Time Apps with Spring, Cassandra, Redis, WebSocket and RabbitMQ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.