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

MongoRepository performance problem #489

bartoszwalacik opened this Issue Jan 13, 2017 · 1 comment


None yet
1 participant

bartoszwalacik commented Jan 13, 2017

MongoRepository isn't very fast.
These two methods consume significant CPU time:

  • MongoRepository.readFromDBObject()
  • MongoRepository.writeToDBObject()

They convert Documents to CdoSnapshots, but via intermediate JSON String.
Direct conversion (from Documents to JsonElements) should be implemented.


This comment has been minimized.


bartoszwalacik commented Jan 17, 2017

new converter is implemented
guava cache added for getLatestSnapshot() function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment