quinn icon indicating copy to clipboard operation
quinn copied to clipboard

quicperf + quinn

Open victorstewart opened this issue 3 years ago • 2 comments

i was going to add Quinn to quicperf but alas there's no ffi :(

if you're open to providing one I'll write the quicperf implementation of quinn?

right now it's a simple byte transfer throughput test from server to client, but will be adding some more interesting tests like memory usage per n connections and others.

victorstewart avatar Mar 28 '21 21:03 victorstewart

What sort of API do you need? A complete C binding would be a large project.

Ralith avatar Mar 28 '21 21:03 Ralith

off the top of my head...

  1. a way to create a client engine and a server engine
  2. initiate a connection to a server from a client
  3. feed either engine packets that arrive
  4. harvest packets ready to push over the network
  5. read and write on a stream (write can double as a stream open)
  6. get the next timeout at which the engine has work to do

oh and the ability to use ED25519 certificates and keys (but i see it in rusttls / ring / webpki so good on that front).

victorstewart avatar Mar 28 '21 21:03 victorstewart