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

Experiment: Hurl Proxy Launcher #123

Merged
merged 16 commits into from
Jun 9, 2024
Merged

Experiment: Hurl Proxy Launcher #123

merged 16 commits into from
Jun 9, 2024

Conversation

U-C-S
Copy link
Owner

@U-C-S U-C-S commented Jun 9, 2024

A small experiment to have a proxy application handle the startup and args forwarding instead of launching a new Hurl application instance, which I believe is the cause for slow startup.

Proxy application is written in Rust, uses Tokio Named Pipes to forward data to existing Hurl instance

@U-C-S U-C-S marked this pull request as ready for review June 9, 2024 10:01
@U-C-S
Copy link
Owner Author

U-C-S commented Jun 9, 2024

Damn.... This is actually super fast

I just removed old way of single instancing, used the proxy which just passes the cli args it gets to the main app. Will need to do some stuff. then will do a alpha release for this.

@U-C-S
Copy link
Owner Author

U-C-S commented Jun 9, 2024

TODO:

  • Trim the launcher app
  • Point Registry entries in inno setup script to the launcher app
  • Handle case where multiple mains apps be active (might need back SingleInstanceCore just for this or do the way that LLT does it since we dont need to handle args for this case)
  • Launch new Hurl instance if there's no active instance of it from the launcher app

@U-C-S U-C-S merged commit f92a708 into main Jun 9, 2024
@U-C-S U-C-S deleted the experiment/launcher-rs branch July 5, 2024 10:45
@U-C-S U-C-S added this to the v0.9 milestone Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant