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

integrate rama as http service into shuttle #246

Open
GlenDC opened this issue Jun 21, 2024 · 0 comments
Open

integrate rama as http service into shuttle #246

GlenDC opened this issue Jun 21, 2024 · 0 comments
Assignees
Milestone

Comments

@GlenDC
Copy link
Member

GlenDC commented Jun 21, 2024

For this initial work the goal is to integrate Rama as a http service framework.
Similar to how services like Tower and Axum are already supported.

In a later phase, once shuttle supports this, we can also provide support for raw
Socket integration which would enable transparent-like proxy services.

Instructions by the shuttle team:

Hey Glen! You just need to implement shuttle_runtime::Service trait for a type that the user can use to configure their application, and then in your trait implementation you bind to the socket address we expect you to bind to, and serve the user application/router there. You can see how it's done for other frameworks here: https://github.com/shuttle-hq/shuttle/tree/main/services.

So that's the first step, the next step would be to submit a PR creating a crate like above, so users don't need to implement the Service trait themselves. We'd welcome that, it's an exciting project, but it would be great if you had time to help us maintain it as well, if the framework is still in rapid development. Let me know what you think!

@GlenDC GlenDC added this to the v0.2 milestone Jun 21, 2024
@GlenDC GlenDC self-assigned this Jun 21, 2024
@GlenDC GlenDC modified the milestones: v0.2, v0.3 Sep 10, 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

No branches or pull requests

1 participant