-
Notifications
You must be signed in to change notification settings - Fork 18
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
Adding NDN-DPDK Forwarder Support #48
Comments
Hello. I think the only problem is PIT token. python-ndn does not memorize incoming Interests so it does not apply PIT token when a data is sent. This is hard to fix. |
For PIT token, it isn't necessary for the library to memorize incoming Interests in a PIT. @app.route('/P')
def process_interest(interest: Interest, reply: Callable[[Data|Nack|None], None]):
# to reply with Data
reply(data)
# to reply with Nack
reply(nack)
# to not reply i.e. cause a timeout
reply(None)
NDNph library has a similar design, but does not have all the features listed above. |
Thank you for your idea. Will implement this when I have time. |
Proper NDN-DPDK support has 3 ingredients:
For memif transport, build a Python extension based on libmemif C library. For management protocol, NDN-DPDK natively accepts GraphQL commands, but some deployments use Multiverse that uses a different protocol. |
This involves multiple changes in |
Add support for PIT Token. Add SignedInterest support for NFD mgmt command Interests. Ref: named-data#48
Hey! So I have a use case to support the NDN-DPDK forwarder.
As you may know, ndn-hydra is an distributed repository built using this library. It is soon going to be deployed (and actively used) on a high-performance environment. However, our forwarder is a major bottleneck in initial testing.
I did look into how tightly coupled NFD is with this library and it looks to be extensive. However, if NDN-DPDK becomes supported, I am able to advertise NDN to a broad audience. This also would allow NDN (Hydra) to be actively used to solve problems which would popularize NDN.
Simply said, NDN-DPDK forwarder support would greatly help our application in solving the problem it is trying to solve and as a major user of this library, I would greatly appreciate it if this was included.
The text was updated successfully, but these errors were encountered: