2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
Paul Cleary c880b07145
Large zone updates (#691)
Adding updates to handle large zones (> 500,000).

1. `APIMetrics` allows configuration driven metrics collection.  Metrics we need here are for large zones, so we have a flag to enable logging of memory usage.  If `log-enabled=true` in the settings, start up a logging reporter that will memory usage to the log file every `log-seconds` seconds.
1. `CommandHandler` - increase the visibility timeout to 1 hour.  In testing with a large zone of 600,000 records, the initial zone sync process took 36 minutes.  Going to 1 hour should give us the ability to handle zones a little larger than 600,000 DNS records
1. `ZoneConnectionValidator` - increasing the timeout to 60 seconds from 6 seconds, as doing a zone transfer of large zones can take 10-20 seconds
1. `DNSZoneViewLoader` - adding logging around how many raw records are loaded so we can marry raw counts to memory usage
1. `core.Instrumented` - I put the `MemoryGaugeSet` into the `core` project as I thought it would be useful for the portal as well as the API.
2019-06-17 17:15:29 -04:00
..
2018-10-09 11:30:16 -04:00
2018-09-20 10:58:04 -04:00
2019-06-17 17:15:29 -04:00
2018-10-10 14:31:43 -04:00
2018-08-16 14:04:22 -04:00