-
Notifications
You must be signed in to change notification settings - Fork 50
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
RPKI json delta import support #796
Comments
Yes, we currently delete the entire ROA table and RPKI source, which is a bit harsh. From experimenting at the time, it seemed cheaper than finding the differences first. The bulk insertion is guaranteed to have no conflicts, so it uses COPY for extra speed. This endpoint is really interesting though! It would be limited to people who run Routinator or trust an external instance. But since Routinator will track state, it will be cheap from the IRRD side. Not trivial to implement though, the code is currently built entirely for bulk delete/insert. |
irrd causes a large amount of disk churn.
For IRR imports this can be mitigated by using NRTM to insert deltas instead of performing a full re-import every time.
Right now nothing similar exists for the RPKI importer. It looks like by default all >400k rows are re-imported every 3600s.
Routinator3000 supports the
json-delta
endpoint that allows to request a delta of the ROA changes since the last request using the session and serial identifier.Is it possible to implement support for the
json-delta
endpoint in irrd?Appendix:
Example json-delta output
The text was updated successfully, but these errors were encountered: