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

Multiple Streams using AioQuic #1

Open
Karthikdasari0423 opened this issue Jun 14, 2022 · 8 comments
Open

Multiple Streams using AioQuic #1

Karthikdasari0423 opened this issue Jun 14, 2022 · 8 comments

Comments

@Karthikdasari0423
Copy link

Karthikdasari0423 commented Jun 14, 2022

hai ,

It is not an issue.
one small quick query

@ElNiak
Could you please confirm were you able to create multiple streams in a single connection using the AIOQUIC code .

Sorry for raising an issue as i am unable to find your email to ask this query.

Looking forward for your reply

Thank you.

@ElNiak
Copy link
Owner

ElNiak commented Jun 14, 2022

Hello Karthikdasari0423,

Yes i am able to create multiple streams in a single connection using AIOQUIC, tested multiple aioquic versions.

Do you want a trace or what so ever ? :)

@Karthikdasari0423
Copy link
Author

Karthikdasari0423 commented Jun 14, 2022

Hai,

Thank you for replying back @ElNiak

Myself Karthik.I am trying to use the "AioQuic" to write some python scripts.
I am trying to download a file(s) using the script and able to download the file(s).

But one small problem is only one single stream is being created between client and server to download the whole file.
Now I am trying to find out a way to download file(s) by creating multiple streams.

Could you please help me how to create multiple streams to download a file(s) in a single connection. @ElNiak

I am currently using "Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-113-generic x86_64)","Python 3.8.10" version for running both http3_client.py and http3_server.py.

Hope you are also using Linux where you have created multiple streams in a single connection using AIOQUIC. @ElNiak

Could you please confirm did you made any changes to the AIOQUIC code to create multiple streams in a single connection @ElNiak

I am not able to get what am i missing.

Attached quic log image for your reference

Hope you will reply soon.

Thanks and Regards,
Karthik.
aioquic_file

@Karthikdasari0423
Copy link
Author

Karthikdasari0423 commented Jun 16, 2022

Hello @ElNiak

Thank you for replying back @ElNiak

Could you please answer these queries @ElNiak

1.Could you please confirm did you made any changes to the AIOQUIC code or not to create multiple streams in a single connection @ElNiak

2.Could you please confirm were you also using Linux(Ubuntu,Centos,etc) terminal or Linux GUI(Chrome,Firefox etc) or totally different OS(like Windows,MAC) where you have created multiple streams in a single connection using AIOQUIC. @ElNiak

Looking forward for your answer to these queries.

Thank you.
@Karthikdasari0423

@ElNiak
Copy link
Owner

ElNiak commented Jun 16, 2022

Hello @Karthikdasari0423,

  1. To create multiple streams in a single connection no change were made.

  2. I'm currently using the standard Ubuntu 18 OS

The command i used to launch experiments is:

python3.9 examples/http3_client.py --zero-rtt -s /home/user/Documents/QUIC-RFC9000/tickets/ticket.bin -l /home/user/Documents/QUIC-RFC9000/tls-keys/secret.log -v -q /home/user/Documents/QUIC-RFC9000/qlogs/aioquic/ --ca-certs tests/pycacert.pem -i --insecure --legacy-http https://localhost:4443/index.html https://localhost:4443/index.html https://localhost:4443/index.html https://localhost:4443/index.html https://localhost:4443/index.html https://localhost:4443/index.html https://localhost:4443/index.html https://localhost:4443/index.html https://localhost:4443/index.html

Aioquic will then create a stream per request and send them in a row.

Hope this will help you !

Good luck
@ElNiak

@Karthikdasari0423
Copy link
Author

Hello @ElNiak

Could you please confirm is this is the same way you have got quic log output in your case
aioquic_file

Thanks.
@Karthikdasari0423

@ElNiak
Copy link
Owner

ElNiak commented Jun 16, 2022

Hello,

It looks like:

update

@Karthikdasari0423
Copy link
Author

Karthikdasari0423 commented Jun 16, 2022

Hello @ElNiak

Thanks again for replying back

I believe I cannot see any multiplexing in your figure but i am not sure. The bandwidth was used only for the green request first, then only for light dark , then only for the light yellow, then only for the again green and etc....

i believe If there was any multiplexing you should see a mixed of colours in the "Multiplexed data flow" part like this figure from Robin Marx work.

If possible and comfortable , Could you please share me the Quic log trace files.

My gmail :-kartheekdasari1998@gmail.com

Thanks.
@Karthikdasari0423

@Karthikdasari0423
Copy link
Author

Karthikdasari0423 commented Jun 17, 2022

Hello @ElNiak

My intention is not to prove you wrong .
I am very new to Networking field and Python.
Please feel free to correct me if i am wrong.

Thanks
@Karthikdasari0423

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

2 participants