1. It uses a cache on local SSDs ("instance store" in AWS terms) + page cache in memory.
2. This is a write-through cache. The data is written into cache and S3.
3. Writes to S3 are synchronous. The write is confirmed only after the data is accepted by S3, and the metadata is accepted by ClickHouse Keeper.
4. The cache is ephemeral (not durable, not redundant, not essential for work).
5. The consistency requirements are fairly strict. Although it is still possible to have a stale read on a replica due to sequentially consistent replication of the metadata, it is not related to S3 or the cache either.
6. It is expected to have low latency on reads, while latency on writes can be tolerated up to around one second.
7. We also tested S3 Express One Zone: https://aws.amazon.com/blogs/storage/clickhouse-cloud-amazon...