Ask Your Question
1

Why doesn't the heroku webhook support function calls every minute?

asked 2021-06-17 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-08-03 15:00:00 +0000

devzero gravatar image

There could be several reasons why the Heroku webhook does not support function calls every minute, including:

  1. Performance issues: If the webhook is triggered every minute, it could lead to performance issues on the server-side, especially if a lot of requests are made simultaneously.

  2. Cost: Calling a function every minute could also lead to increased server cost, especially if the function is resource-intensive.

  3. Security: Frequent calls to a function may also pose a security risk, especially if the function is vulnerable to malicious attacks such as distributed denial-of-service (DDoS) attacks.

  4. Best practices: It is generally considered best practice to avoid making frequent calls to a function unless absolutely necessary. Instead, it is recommended to use event-driven architecture to trigger functions only when specific events occur.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-17 11:00:00 +0000

Seen: 1 times

Last updated: Aug 03 '21