【问题标题】:SQS sendMessage latency variation?SQS sendMessage 延迟变化?
【发布时间】:2020-04-19 07:38:36
【问题描述】:

我有一个简单的 Java Lambda 请求处理程序,它除了写入 SQS 之外什么都不做(不要问)。这是一个单一的方法,其唯一目的是调用sendMessage

大部分时间sendMessage 在不到 30 毫秒内返回,一切都很好。每隔一段时间,sendMessage 就会超过 300 毫秒。

SQS 监控控制台中没有任何显示,有什么建议可以解决这个问题吗?

【问题讨论】:

    标签: aws-lambda amazon-sqs


    【解决方案1】:

    来自FAQ的 AWS 支持

    Q: What is the typical latency for Amazon SQS?
    
    Typical latencies for SendMessage, ReceiveMessage, and DeleteMessage API requests are in the tens or low hundreds of milliseconds.
    

    他们还推荐SDK Latency Logging.

    【讨论】:

      猜你喜欢
      • 2019-07-21
      • 1970-01-01
      • 1970-01-01
      • 2019-06-12
      • 1970-01-01
      • 1970-01-01
      • 2021-10-11
      • 2021-11-25
      • 2018-08-16
      相关资源
      最近更新 更多