简体   繁体   English

Redis Elasticache 亚毫秒响应时间?

[英]Redis Elasticache sub milli second response time?

AWS Redis Elasticache is advertised as being sub-millisecond. AWS Redis Elasticache 被宣传为亚毫秒级。 But in any meaningful use case there will be a.network latency calling the elasticache service, so at best in the 10s of milliseconds…is this correct?但在任何有意义的用例中,都会有调用 elasticache 服务的网络延迟,所以最多在 10 毫秒内……这是正确的吗? Redis Elasticache always has to be called over the.network, not running on the same server as the application server correct? Redis Elasticache 总是必须通过.network 调用,不是在与应用程序服务器相同的服务器上运行吗?

Thats correct.没错。 Elasticache provides sub millisecond response times, but you will always have.network delays. Elasticache 提供亚毫秒级的响应时间,但您总会遇到网络延迟。 If your application is hosted on EC2 in the same region then latency will be sub millisecond at the application end.如果您的应用程序托管在同一区域的 EC2 上,则应用程序端的延迟将是亚毫秒级。 However, the further away you place your application from the elasticache cluster the greater latency you will receive, you cannot defy the laws of physics.但是,您将应用程序放置在离 elasticache 集群越远的地方,您收到的延迟就越长,您无法违背物理定律。

Here is a good guide to reducing latencies for Elasticache for Redis:这是减少 Redis 的 Elasticache 延迟的好指南:

https://aws.amazon.com/premiumsupport/knowledge-center/elasticache-redis-correct-high-latency/ https://aws.amazon.com/premiumsupport/knowledge-center/elasticache-redis-correct-high-latency/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 AWS Elasticache (Redis) 中使用布隆过滤器? - How to use Bloom Filter with AWS Elasticache (Redis)? 如何在 AWS Elasticache 中测试 redis 的性能? - How to test performance of redis in AWS Elasticache? 从 Airflow Celery Executor 连接到支持 TLS 的 Elasticache Redis - Connect to TLS-enabled Elasticache Redis from Airflow Celery Executor 我可以使用本机 Redis 命令在 Amazon Elasticache for Redis 中管理/创建用户吗? - Can I manage/create users in Amazon Elasticache for Redis using native Redis commands? 无法在同一帐户中将 redis rdb 备份从 S3 导入到 Elasticache - Not able import redis rdb backup from S3 to Elasticache in the same account AWS ElastiCache Redis - 一个 AZ 中的所有节点以避免数据传输成本 - AWS ElastiCache Redis - All nodes in one AZ to avoid data transfer costs 集群模式下的 Redis `TIME` 命令 - Redis `TIME` Command in Cluster Mode API Gateway + Lambda 极慢的响应时间 - API Gateway + Lambda extremely slower response time 我可以在 Heroku 上使用 Amazon Elasticache 吗? - Can I use Amazon Elasticache on Heroku? 确保在第一个订阅者完成拉入 Google 发布-订阅主题后触发第二个订阅者 - Ensure that second subscriber gets triggered after first subscriber has finished pulling in Google pub-sub topic
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM