Buffer Writes to ElasticSearch and use the Bulk API
At present we are writing to ElasticSearch for every change to every model. These very frequent writes to ElasticSearch cause performance issues at scale.
It seems very plausible that before we reach all of GitLab.com scale we're likely to need to buffer/batch these updates and use the bulk API.
It's also plausible that our current implementation is not adequate for our largest self-hosted customers.