Skip to content

GCORE: Implement diff2 and greatly improve performance for getting record sets#1867

Merged
tlimoncelli merged 3 commits into
DNSControl:masterfrom
xddxdd:master
Dec 31, 2022
Merged

GCORE: Implement diff2 and greatly improve performance for getting record sets#1867
tlimoncelli merged 3 commits into
DNSControl:masterfrom
xddxdd:master

Conversation

@xddxdd
Copy link
Copy Markdown
Contributor

@xddxdd xddxdd commented Dec 29, 2022

  • Implement diff2 method, tested with go test -v -verbose -provider GCORE -diff2
  • Use a hidden API only documented in Gcore's OctoDNS provider (https://api.gcorelabs.com/dns/v2/zones/example.com/rrsets?all=true, documented at https://github.com/octodns/octodns-gcore/blob/main/octodns_gcore/__init__.py#L105), to get all record sets in one HTTP request instead of many requests. This greatly improves performance handling large zones.

@tlimoncelli
Copy link
Copy Markdown
Contributor

Looks great! Thanks for the move to diff2 and the awesome speedup!

@tlimoncelli tlimoncelli merged commit 801aae7 into DNSControl:master Dec 31, 2022
@tlimoncelli tlimoncelli mentioned this pull request Jan 1, 2023
39 tasks
tlimoncelli added a commit that referenced this pull request Jan 11, 2023
…cord sets (#1867)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants