Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance on removing messages #16

Open
muuki88 opened this issue Aug 22, 2012 · 0 comments
Open

Performance on removing messages #16

muuki88 opened this issue Aug 22, 2012 · 0 comments
Assignees
Labels

Comments

@muuki88
Copy link
Member

muuki88 commented Aug 22, 2012

The remove performance is too slow.

Current implementation

  1. Finding user
  2. Searching for messages really available
  3. Removing message
  4. Loading all messages (This takes acutally really long)

Solutions

  1. Implementing a cache
  2. Use only one EntityManager and don't find the user all the time, instead update the user.
@ghost ghost assigned muuki88 Aug 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant