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

Slow insertion and updating of Ticker.push #1

Closed
ssut opened this issue Sep 19, 2017 · 0 comments
Closed

Slow insertion and updating of Ticker.push #1

ssut opened this issue Sep 19, 2017 · 0 comments

Comments

@ssut
Copy link
Owner

ssut commented Sep 19, 2017

It seems very slow updating existing fields, as long as this is a common case for the condition where we have a large document, which has many fields that needs to be individually reachable.

One solution to this is: Pre-populate a document with the needed fields, since they are in continuous time-series, do it with rounding in steps of seconds. (e.g. 5 or 10)

ssut added a commit that referenced this issue Sep 20, 2017
Previously the behavior and the plan were correct but the performance was lower than might be expected. In particular there was a problem:

* The internal handling of Mixed type in MongoDB ain't good for the case when it is a time-series data, causing more document access.
@ssut ssut closed this as completed Sep 20, 2017
ssut added a commit that referenced this issue Sep 20, 2017
Previously the behavior and the plan were correct but the performance was lower than might be expected. In particular there was a problem:

* The internal handling of Mixed type in MongoDB ain't good for the case when it is a time-series data, causing more document access.
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

No branches or pull requests

1 participant