Skip to content

Cleanup ops#7

Closed
destitutus wants to merge 2 commits into
share:masterfrom
codio:cleanup_ops
Closed

Cleanup ops#7
destitutus wants to merge 2 commits into
share:masterfrom
codio:cleanup_ops

Conversation

@destitutus
Copy link
Copy Markdown

Improvement:

  1. Allow cleanup ops collection by mongo ttl (options value)
  2. Cache collections

Related #5

@josephg
Copy link
Copy Markdown
Member

josephg commented Apr 28, 2014

If we're going to do this, we also need livedb tests so we know how livedb will respond when old operations are requested and they aren't available.

@destitutus
Copy link
Copy Markdown
Author

blob-1
blob-2

Some statistics - we have 12kk records

@destitutus
Copy link
Copy Markdown
Author

If we're going to do this, we also need livedb tests so we know how livedb will respond when old operations are requested and they aren't available.

I try implement test if I will have time for it

@josephg
Copy link
Copy Markdown
Member

josephg commented Apr 30, 2014

👍

@destitutus
Copy link
Copy Markdown
Author

so, cleanup ops only in mongo can raise issues with oplogs
we start use separate program for cleanup - https://github.com/destitutus/sharejs-cleaner

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants