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?
preguntada hace 4 meses263 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace 4 meses
profile picture
EXPERTO
revisado hace 4 meses
profile picture
EXPERTO
revisado hace 4 meses
    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 ?

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas