1) For every request the chat UI makes back to the portal, it will poll the database to check to see if there are any messages waiting for the user.
(2) When a user creates a new chat message, the message will be persisted to the database.
The chat portlet can use up all the database connections if there are enough users polling the database.
For example, if the polling is every 5 seconds and there are 10,000 users, that can equate to about 2000 request per second to the database.
Address this behavior.