dnsimple / erldns

DNS server, in Erlang.
MIT License
398 stars 98 forks source link

Zone write optimisation #133

Closed DXTimer closed 2 years ago

DXTimer commented 2 years ago

During our recent investigation, we found that zone writes specifically via RRSet updates would take 7+ seconds to perform the operation due to inefficient ETS lookups that result in full table scans. This PR refactors the RRSet update and delete logic to avoid calls to ETS that result in full table scans.