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

Execute each handler in a separate process (like we do for Rust) #35

Open
Konard opened this issue Mar 24, 2024 · 2 comments
Open

Execute each handler in a separate process (like we do for Rust) #35

Konard opened this issue Mar 24, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Konard
Copy link
Member

Konard commented Mar 24, 2024

This can be optional behavior that can be switched on/off. May be even configurable on per handler basis.

This also will allow to isolate entire logs of handler execution from other handlers.

And it will much easier to use TS translation in a separate process.

May be useful to solve:

If this issue is done, there will be no real need for #4

This also may solve issues with absence of stack trace inside eval.

This will also make handling of handlers truly multithreaded.

Direct remote debugging will also be much easier.

It will also increase the overall stability of handlers, meaning no single handler can kill all others by unhandled exception.

@Konard Konard added the enhancement New feature or request label Mar 24, 2024
@Konard Konard self-assigned this Mar 24, 2024
@Konard Konard moved this to Todo in Deep Architecture Mar 24, 2024
@FreePhoenix888
Copy link
Member

Do you mind if I take this?

@Konard Konard assigned FreePhoenix888 and unassigned Konard Mar 26, 2024
@Konard
Copy link
Member Author

Konard commented Mar 26, 2024

@FreePhoenix888 it is now yours, please make it in a separate pull request, and give it for review to me before merge. And let's do it step by step. As small steps as possible. Stability and backward compatibility is the highest priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants