Ring SQA
Discovers NLNOG Ring nodes by monitoring /etc/hosts with inotify. UDP pings each node periodically recording latency as microseconds in SQL database
Currently 5 threads
- main thread, launches everything and finally gives control to Analyze class
- sender thread, sends queries and populates DB with new negative response row
- receiver thread, receives replies and updates DB with positive response
- responder thread, receives queries and sends replies
- inotify monitor thread
Use
- ring-sqad --help
- ring-sqad --daemonize
Todo
- Get rid of Sequel+SQLite share Hash or Array instead?