Read consistency after overwrite of S3 and ElastiCache

0

I have a few questions regarding s3:

  1. After we overwrite an object in S3 is there any issues like for a brief amount of time the read request will show older version of the object and if this is true what will be the time all the servers will be updated to the new version?
  2. Is S3 suitable for real time applications that require immediate access to the latest data after an overwrite?
  3. Is because of these reasons we should go with elasticache?
  4. How ElastiCache ensure this read after overwrite consitency?
posta 5 mesi fa264 visualizzazioni
1 Risposta
0

Hi,

  1. S3 supports strong read-after-write consistency: https://aws.amazon.com/blogs/aws/amazon-s3-update-strong-read-after-write-consistency/
  2. based on 1., yes
  3. No. Elasticache is to be used more when very low-latency is expected: elasticache reads from RAM while S3 from disk
  4. No. Elasticache does not provide read after write consistency "out of the box": see question "How does ElastiCache keep my read replica up-to-date with its primary node ?" of https://aws.amazon.com/elasticache/faqs/ Best,

Didier

profile pictureAWS
ESPERTO
con risposta 5 mesi fa
profile picture
ESPERTO
verificato 5 mesi fa
profile picture
ESPERTO
verificato 5 mesi fa
    1. So in elastiCache we will the face the issue as discussed above of getting the older version. Is there any solution for that in cache? Is reading from primary only will help ?

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande