(no title)
stickperson | 9 years ago
- Having many clusters and assigning messages to a specific cluster seems like an interesting solution.
- I'm curious how they managed to lazily index messages.
- Since only message, channel and server ids are stored in ES, have there been any problems reindexing data after an index fails?
jhgg|9 years ago
The worst case to an index failure is that the search query is delayed as the index rebuilds itself. We throttle the rate of historical indexing into ES to a safe level so that we're not degrading performance of other components of the system.
stickperson|9 years ago
daddykotex|9 years ago
I'm wondering how long does it take to execute the ES refresh on a search query when the Shard was marked as dirty?
If the search requests are mostly real time, I suspect this is really short, but if the Shard ingest new messages for a while (let's say 50 minutes) and it's marked as dirty, a search query would ask ES to refresh 50 minutes worth of documents before running the actual query.
As it shown to be a problem? Is the refreshing time growing along with the number of documents inserted since the last refresh?
jhgg|9 years ago