Performance Bottlnecks #1414
Answered
by
fogodev
gorentbarak
asked this question in
Community Support
-
What are the main performance bottlenecks here? I'm interesting in contributing and would like to see where I could help. |
Beta Was this translation helpful? Give feedback.
Answered by
fogodev
Oct 2, 2023
Replies: 1 comment 2 replies
-
Which kind of performance bootlenecks you're looking for? Front-end or Back-end to begin with? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have to think a bit then lol, I'm usually the one doing performance improvs in our Rust core directly (not counting improvements on our libs used by core). Our most intensive loads are on some jobs, like the indexer job which needs to walk through possibly massive directories and subdirectories. Also, the media processor job have a bunch of CPU-bound work to extract media data and generate thumbnails. The later one possibly has some low-hanging fruits to be taken, like some missing
tokio::spawn_blocking
to process blocking CPU stuff outside from tokio's futures executor.The indexer is a bit harder to improve, I had to introduce a bunch of strategies to achieve an OK scalability with it. …