StackStorm / StackStorm/st2

Optimize bootstrap operations using bulk inserts and caches

Open
#4,398 0 comments 0 reactions 1 assignee View on GitHub

@lakshmi-kannan is already working on this.

Since Oct 17, 2018.

complexity:hard enhancement performance refactor
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

Right now, content registration can be slow since we pretty much register one unit at a time. We could potentially speed this up by using mongo bulk operations. This might help address https://github.com/StackStorm/st2/issues/3686

Also, in cases like https://github.com/StackStorm/st2/pull/4388#discussion_r225938200, we could potentially cache dependent content upfront so we don't do one read query per write query.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.