ref(workflows): Cache assignee lookup in-memory#115863
Conversation
|
Yeah, this is a known perf issue in our condition evaluation that we've got special-cased for Snuba-dependent conditions but mean to eventually generalize; ideally, we could bulk gather required data, then run an evaluation phase. |
No issues per se. I was looking at the top span emitters by count (and duration) and I spotted the trace I linked above. Figured I'd fix it rather that leave it. As for structure, sure I can do that. The goal was to be minimally intrusive so I wouldn't exhaust potential collaborators. We can do whatever here. If you have a preference let me know. Adding stronger typing is certainly an easy value add. |
|
@kcons Any thoughts? |
Its the same lookup on repeat. We can reuse the results from the previous iteration.