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

Benchmark a complex scenario [WIP] #8

Draft
wants to merge 3 commits into
base: report-3.1.1
Choose a base branch
from

Conversation

nachocodoner
Copy link
Member

@nachocodoner nachocodoner commented Dec 26, 2024

Solves: #5

After resolving the performance limitation in 3.1.1, as reported here, we now aim to set up a more complex reactive stress scenario. This involves adding more observers, running multiple unblocked subscriptions across additional collections, and querying with dynamic parameters.

This level of stress testing will better reflect real-world conditions. It will help us verify whether the optimizations introduced in 3.1.1 (async queue and compression defaults) perform as expected under more complex scenarios, or if new regressions surface, requiring further adjustments.

New behaviors introduced in this PR will include:

  • Register users using accounts instead of relying on sessions

  • Task status and completion (to distribute updates on subscriptions)

  • Subtask addition and completion scoped by taskId (to trigger more subscriptions and observers)

  • Comments and subcomments scoped by taskId and commentId (to add another collection, use publish-composite, and increase observers)

  • Notifications per user action performed (to add another collection and core composed publish)

  • Summary of tasks/subtasks and comments/subcomments (to add more reactivity impact, use robfallows/tunguska-reactive-aggregate)

This is an opportunity to develop a dynamic performance suite designed to test community package libraries as well. It allows configurable parameters for reactive approaches used in benchmark tests, along with additional adjustments in the future.

Usage of redis-oplog, could also be interesting. But I left for additional efforts after initial complex setup.

@nachocodoner nachocodoner changed the base branch from main to report-3.1.1 December 26, 2024 17:05
@nachocodoner nachocodoner changed the title Benchmark a complex scenario Benchmark a complex scenario [WIP] Dec 26, 2024
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.

1 participant