Does Amazon EventBridge Pipes integration with SQS use long polling?

0

Does Amazon EventBridge Pipes integration with SQS use long polling?

Wondering what the pricing is like for this integration?

1개 답변
0
수락된 답변

Yes. It uses long polling.

The pricing, based on the pricing page, is $0.40 for every 1,000,000 messages processed by the pipe (price varies by region).

On top of that you need to add the SQS API calls, any enrichment that you may do on the messages and the cost of the target.

profile pictureAWS
전문가
Uri
답변함 일 년 전
profile picture
전문가
검토됨 한 달 전
  • Thanks, @Uri! Would you say it is advisable to use the Pipe pattern then: SQS -> Express SFN -> Lambda, to avoid having Lambda running hot due to long polling for low message volume?

  • It is not your Lambda function that does the long polling. It is the Lambda service, and you do not pay for that. Your Lambda function is invoked only where there are messages in the queue.

    If all you need to do is invoke a Lambda function, I would use the native SQS -> Lambda integration. No need for Pipes in that use case.

  • @Uri, Does Pipes use less SQS requests than lambda (as I understand it it uses 5 instances to poll)?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인