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

Runtime service runtime_call() should perform the CPU-heavy stuff in the frontend #1678

Open
tomaka opened this issue Feb 12, 2024 · 0 comments

Comments

@tomaka
Copy link
Contributor

tomaka commented Feb 12, 2024

The fact that runtime calls happen in the background task of the runtime service makes it very difficult to isolate JSON-RPC services and provide a fair share of CPU to each JSON-RPC client.

Instead, the runtime service should return some data, the frontend uses this data to perform the runtime call, and sends the outcome to the runtime service in case of failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant