Skip to content

example: Example for 0rtt that can also serve as a benchmark #3323

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

Merged
merged 17 commits into from
May 27, 2025
Merged

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented May 23, 2025

Description

A simple 0rtt ping protocol client and server.

Breaking Changes

None

Notes & open questions

Note: we need a way to wait for a TLS session ticket. A fixed delay is quite crude.
Note: it would be nice to be able to configure how many NewSessionTicket messages get emitted

@rklaehn rklaehn marked this pull request as ready for review May 23, 2025 15:53
@rklaehn rklaehn changed the title Example for 0rtt that can also serve as a benchmark example: Example for 0rtt that can also serve as a benchmark May 23, 2025
Copy link

github-actions bot commented May 23, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3323/docs/iroh/

Last updated: 2025-05-27T11:41:44Z

Copy link

github-actions bot commented May 23, 2025

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 2dd78d5

@n0bot n0bot bot added this to iroh May 23, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh May 23, 2025
to get ticket feature of iroh-base
@rklaehn rklaehn requested a review from flub May 27, 2025 07:32
rklaehn added 2 commits May 27, 2025 13:58
so I can leave this running somewhere under a stable node id.
so you can just run the example without having to set RUST_LOG, similar to what ping does.
@rklaehn rklaehn added this pull request to the merge queue May 27, 2025
Merged via the queue into main with commit b0b11f0 May 27, 2025
29 checks passed
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants