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

When can we expect Tus 2.0 implementation for .NET? #208

Open
goradata opened this issue Oct 2, 2023 · 5 comments
Open

When can we expect Tus 2.0 implementation for .NET? #208

goradata opened this issue Oct 2, 2023 · 5 comments

Comments

@goradata
Copy link

goradata commented Oct 2, 2023

No description provided.

@smatsson
Copy link
Collaborator

smatsson commented Oct 4, 2023

Hi!

Resumable Uploads For Http (working name was "tus2") is new proposed standard by the IETF. The code related to this spec is located in POC/tus2 and has been verified to work with the latest draft spec (v 01 as of this writing).

The nuget package won't contain this code until the draft becomes an RFC and the timeline for that is unclear. You can follow the work over at the IETF's github page.

The code in the POC/tus2 branch has been verified to work with the clients that are currently available so it should be ready to use by compiling it and including it in your projects. See clients and compatibility list here.

@goradata
Copy link
Author

goradata commented Oct 4, 2023

According to Marius's post there is a seperate Tus 2.0 release (in go) where IETF status kept as draft which has lots of new features. From the dates on POC/tus2 looks like it is eariler than this announcement. Does this include all the improvements that post is talking about?

@smatsson
Copy link
Collaborator

smatsson commented Oct 4, 2023

I can see why this is confusing. :) The linked blog post announces the new tusd 2.0 release (notice the last d). tusd is the official server implementation for go. Both tusd and tusdotnet implements the same version of Resumable Uploads For HTTP (the latest one, which is currently v01).

Hope this clears it up.

@goradata
Copy link
Author

goradata commented Oct 5, 2023

Yes it does, thanks for clarification. From the blog post I understand tusd 2.0 has reliability and performance improvements (regardless of the tus protocol version). I am assuming that there might be some areas of improvements for tusdotnet based on the updated go implementation. Are you planning on carrying over any improvements?

@smatsson
Copy link
Collaborator

smatsson commented Oct 6, 2023

Great! Most of the improvements doesn't really apply to the dotnet version as these are specific to the go implementation. tusd and tusdotnet live their own lives and are not really a 1:1 comparison. There are ongoing work in tusdotnet to improve performance and resilience (see e.g. #205 ). I think the idea of backporting the locking behavior from Resumable Uploads For Http is interesting and something worth investigating more as it's already implemented in the POC/tus2 branch. I know that this would break some use cases in tusdotnet so it would probably need to be considered an off switch for it or introduce a breaking change version, which I'm not keen on.

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