cortex icon indicating copy to clipboard operation
cortex copied to clipboard

If Index write fails or is throttled, chunk write is performed again; increasing costs on cloud providers.

Open khaines opened this issue 6 years ago • 1 comments

The current flow in the flushing of a time series writes the chunk data first to storage, then the index data. This is probably a somewhat non-issue when the index & chunks are stored in the same storage service (DynamoDB, BigTable, etc), since the chunk write cost is close to free or is throttled along side the index write. However when the chunks are written to a blob storage service (S3, GCS or Azure) there is a per write transaction cost, which is multiplied by the number of times the index write action fails ( or is purposely throttled by the service provider)

khaines avatar Jan 20 '20 23:01 khaines

mitigated by https://github.com/cortexproject/cortex/pull/2054, as other Data services already had retry mechanisms.

khaines avatar Mar 19 '20 15:03 khaines