-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[IMPROVED] Performance and Stability under heavy IO loads. #3922
Commits on Feb 27, 2023
-
Make minimum snapshot time for all assets 10s.
Do not lock on clustered test for JetStream, not needed. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 4391629 - Browse repository at this point
Copy the full SHA 4391629View commit details -
Prevent benign spin between competing leaders with same index but dif…
…feren term. Remove lock from route processing for updating peers progress, altready handled in trackPeer. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 2711460 - Browse repository at this point
Copy the full SHA 2711460View commit details
Commits on Feb 28, 2023
-
Optimize for high IO workloads. When we know optional metadata will a…
…lways be correct on restart do not require inline IO all the time. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 3cebd26 - Browse repository at this point
Copy the full SHA 3cebd26View commit details -
Optimize some locking for when under heavy loads.
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 13167f4 - Browse repository at this point
Copy the full SHA 13167f4View commit details -
Optimize locking for when under heavy loads.
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 2642a8c - Browse repository at this point
Copy the full SHA 2642a8cView commit details -
Do not allow meta snapshot processing during recovery to override.
Make sure to process all stream updates during recovery through the ru structure. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 9721309 - Browse repository at this point
Copy the full SHA 9721309View commit details -
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 6078706 - Browse repository at this point
Copy the full SHA 6078706View commit details -
Sometimes do force meta snapshot
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 576d317 - Browse repository at this point
Copy the full SHA 576d317View commit details -
Only warn on write errors if not closed in case they linger under pre…
…ssure and blocking on dios Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for fa8afba - Browse repository at this point
Copy the full SHA fa8afbaView commit details -
Do not need lock to grab js here
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for aad8aa6 - Browse repository at this point
Copy the full SHA aad8aa6View commit details -
Only need server's rlock here.
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for bee149b - Browse repository at this point
Copy the full SHA bee149bView commit details -
Do not block routes/gws on internal stream and consumer info requests
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for b19fe50 - Browse repository at this point
Copy the full SHA b19fe50View commit details -
Fixed dios capacity to 4 due to testing under heavy load.
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for adbb50f - Browse repository at this point
Copy the full SHA adbb50fView commit details -
Do not block in place on warning, and only warn if consumer not closed
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for d85bec2 - Browse repository at this point
Copy the full SHA d85bec2View commit details -
Always process inbound messages in separate execution context.
Do not duplicate work on leader, sealed and clustered state. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 3807441 - Browse repository at this point
Copy the full SHA 3807441View commit details -
Fix tests that made assumptions about single server processing.
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 6bda358 - Browse repository at this point
Copy the full SHA 6bda358View commit details -
Do not lock on stream name for consumer write state error
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 24cb570 - Browse repository at this point
Copy the full SHA 24cb570View commit details -
Be more conservative on defaultMaxTotalCatchupOutBytes, default to 64M
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 68cd312 - Browse repository at this point
Copy the full SHA 68cd312View commit details -
Revert closeAndKeepIndex behavior
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for bab10c1 - Browse repository at this point
Copy the full SHA bab10c1View commit details -
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 724160e - Browse repository at this point
Copy the full SHA 724160eView commit details -
Signal a metasnapshot for consumer deletes as well
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 1956fa3 - Browse repository at this point
Copy the full SHA 1956fa3View commit details