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

SPIKE: Investigate PublishHandler performance #31

Open
unclecheese opened this issue Apr 9, 2020 · 0 comments
Open

SPIKE: Investigate PublishHandler performance #31

unclecheese opened this issue Apr 9, 2020 · 0 comments

Comments

@unclecheese
Copy link

The PublishHandler is quite inclusive -- fetching everything in the ownership structure and adding it to the snapshot as "WasPublished." This has a significant performance impact. A page with 10 blocks takes ~3000ms on SCP.

Thoughts:

  • Is it necessary to include every single object, or can we get more creative with the query that marks the "Published" event in the UI?
  • Consider using findOwned instead of getting the most recent ChangeSet? (Race condition!)
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