tntech-ngin-lab / nr-archway

nr-archway: A small NDN network which acts as a proxy between a client and a file server. This allows the client to utilize the caching feature of NDN when requesting the same file.
Apache License 2.0
2 stars 0 forks source link

Terrible "First pull vs Consecutive Pulls" Performance Comparison #4

Open justincpresley opened 2 years ago

justincpresley commented 2 years ago

Due to the encoding performance of python-ndn, the first-pull vs consecutive pulls comparison drastically shows that the application nr-archway gains no real advantage till after 8+ pulls of the same data. As such, efforts are currently being made to reduce encoding time effectively decreasing the number of pulls needed to see an advantage when using nr-archway.

Ideally, nr-archway would only need 2 pulls of the same data to meet or be better than traditionally pulling the data from the original location.

This is the leading problem with nr-archway as it stands now. FTP is also the only interface it works with, but we are confident that we can quickly add more interfaces once we solve this performance issue.

This issue will be updated as more information is found out or solved relating to the performance of nr-archway.

justincpresley commented 2 years ago

Issue on python-ndn's part: https://github.com/named-data/python-ndn/issues/33#issue Encoding Performance Comparison: https://github.com/zjkmxy/ndn-encoding-test/blob/main/performance_results.md