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

Tighter Tardy Integration #11

Merged
merged 17 commits into from
Nov 11, 2024
Merged

Tighter Tardy Integration #11

merged 17 commits into from
Nov 11, 2024

Conversation

mookums
Copy link
Owner

@mookums mookums commented Nov 10, 2024

This changes zzz in a pretty significant way, increasing the reliance on the Tardy runtime. This will allow for multiple clients and or servers to run on a single runtime in the future! (Work is currently being done on this in the client branch to bring a Tardy compliant HTTP Client to zzz).

This PR also allows for HTTP handlers to run within an asynchronous context, allowing for any requests that happen within your handler to be non-blocking. This should provide massive performance gains when making DB or HTTP calls within your handler as clients for these are developed.

This also provides a pretty crude SSE implementation that will likely be updated and refactored in a future update. It serves as a proof of concept of how Tardy Channels can be used in an application.

@mookums mookums merged commit b5b8b83 into main Nov 11, 2024
2 checks passed
@mookums mookums deleted the http-only branch November 11, 2024 07:36
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