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

Improve performance of the app by using parallelism #7906

Open
4 tasks
yabirgb opened this issue May 8, 2024 · 0 comments
Open
4 tasks

Improve performance of the app by using parallelism #7906

yabirgb opened this issue May 8, 2024 · 0 comments
Labels
epic Issues that will require considerable effort and considerable architectural changes
Milestone

Comments

@yabirgb
Copy link
Member

yabirgb commented May 8, 2024

Abstract

Currently we use gevent. It creates greenlets for the different jobs that we perform in the app. This is not a multithread or a multi process logic and performance gets hit. We need to make things happen in parallel. But using the threading library will probably not help due to GIL. So we need to use multiprocessing. This will allow us to move various stuff in different processes and have them run in parallel. Such as:

  • Do decoding on multiple chains at the same time
  • Have a process only for the api
  • Query balances faster
  • Have a thread only for the periodic background tasks

Specification

@yabirgb yabirgb changed the title Improve performance of the app by using threads Improve performance of the app by using parallelism May 8, 2024
@yabirgb yabirgb added this to the 1.34.0 milestone May 8, 2024
@yabirgb yabirgb added the epic Issues that will require considerable effort and considerable architectural changes label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Issues that will require considerable effort and considerable architectural changes
Projects
None yet
Development

No branches or pull requests

1 participant