The remove performance is too slow.
Current implementation
- Finding user
- Searching for messages really available
- Removing message
- Loading all messages (This takes acutally really long)
Solutions
- Implementing a cache
- Use only one EntityManager and don't find the user all the time, instead update the user.