Re:Partitioning GitHub’s relational databases to handle scale
by venthur on Tuesday September 28, 2021 @08:55AM
(#28682179)
Does anyone know which linters exactly they were using?
[ Parent
| on HN ]
Re:Partitioning GitHub’s relational databases to handle scale
by arthurschreiber on Tuesday September 28, 2021 @09:10AM
(#28682325)
We wrote our own linters that hooked into the `sql.active_record` event emitted by ActiveRecord when a query gets executed.
See https://api.rubyonrails.org/classes/ActiveSupport/Notificati... for the API to subscribe to these notifications.