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

What is the difference between ntirpc and tirpc? #325

Open
ddwolf opened this issue Nov 25, 2024 · 7 comments
Open

What is the difference between ntirpc and tirpc? #325

ddwolf opened this issue Nov 25, 2024 · 7 comments

Comments

@ddwolf
Copy link

ddwolf commented Nov 25, 2024

No description provided.

@ffilz ffilz added the question label Dec 5, 2024
@ffilz
Copy link
Member

ffilz commented Dec 5, 2024

ntirpc is an improvement of tirpc to fully support a multi-threaded server with an attempt at fairness among clients, support for non-blocking responses, and async/non-blocking request processing.

@ffilz
Copy link
Member

ffilz commented Dec 5, 2024

There is definitely a larger issue of documentation...

See #260 for some issues with the man page

We should maybe properly document ntirpc from a good abstract to some lower level documentation,

This may take awhile...

@ddwolf
Copy link
Author

ddwolf commented Dec 6, 2024

ntirpc is an improvement of tirpc to fully support a multi-threaded server with an attempt at fairness among clients, support for non-blocking responses, and async/non-blocking request processing.

are they compliant with each other

@ffilz
Copy link
Member

ffilz commented Dec 6, 2024

ntirpc is an improvement of tirpc to fully support a multi-threaded server with an attempt at fairness among clients, support for non-blocking responses, and async/non-blocking request processing.

are they compliant with each other

There was no intent to maintain API compatibility, but as far as RPC layer processing (basic request/response, authentication, etc. ntirpc follows the specs). Not sure if that was what you were asking.

@ddwolf
Copy link
Author

ddwolf commented Dec 7, 2024

ntirpc is an improvement of tirpc to fully support a multi-threaded server with an attempt at fairness among clients, support for non-blocking responses, and async/non-blocking request processing.

are they compliant with each other

There was no intent to maintain API compatibility, but as far as RPC layer processing (basic request/response, authentication, etc. ntirpc follows the specs). Not sure if that was what you were asking.

Yes, that’s what I am asking about, thanks.

@ddwolf ddwolf closed this as completed Dec 7, 2024
@ddwolf ddwolf reopened this Dec 7, 2024
@ddwolf
Copy link
Author

ddwolf commented Dec 7, 2024

So, if I have a program was linked against ntirpc, it is not guaranteed the program can be linked against tirpc , right?

@ffilz
Copy link
Member

ffilz commented Dec 7, 2024

So, if I have a program was linked against ntirpc, it is not guaranteed the program can be linked against tirpc , right?

Correct.

Also, please leave this issue open, we will use it to track adding more documentation. Thank you for calling attention to the lack of documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants