This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-02
Channels
- # announcements (4)
- # aws (18)
- # beginners (227)
- # boot (1)
- # calva (13)
- # cider (22)
- # clara (2)
- # cljs-dev (17)
- # clojure (85)
- # clojure-brasil (2)
- # clojure-dev (55)
- # clojure-europe (2)
- # clojure-italy (18)
- # clojure-japan (4)
- # clojure-losangeles (1)
- # clojure-nl (5)
- # clojure-uk (53)
- # clojurescript (46)
- # clojureverse-ops (8)
- # cursive (17)
- # data-science (3)
- # datascript (3)
- # datomic (25)
- # duct (4)
- # emacs (2)
- # figwheel-main (1)
- # fulcro (9)
- # hoplon (2)
- # hyperfiddle (1)
- # jobs-discuss (5)
- # kaocha (7)
- # leiningen (3)
- # nrepl (50)
- # off-topic (32)
- # portland-or (1)
- # re-frame (19)
- # reitit (2)
- # shadow-cljs (30)
- # spacemacs (2)
- # sql (8)
- # tools-deps (4)
- # vim (26)
- # xtdb (3)
- # yada (8)
Step functions can wait till a certain time or until an amount of time elapses then call a lambda
https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-wait-state.html
@wei AWS Lambda can be triggered by CloudWatch events (could easily add extra logic inside the lambda if needed).
We used Lambda via CloudWatch for any time based triggering at my last work.
@lloydshark thanks, I'm concerned about the 100 rule limit on cloudwatch events though, seems better suited for recurring events. for my use case I'd need to schedule thousands of one-time events
What is the timespan? I mean, how long time there’s between receiving the event and handling it?
In that case probably the simplest solution is to use Step Functions as hiredman mentioned. If the timespan was less than 30 days you could’ve abused SQS as well. DynamoDB TTL feature sounds like an interesting alternative though! Is the idea that you use delete events in the DDB Stream as triggers?
If it really suits you can ask for an increase in the 100 rule limit.
I've applied so we'll see what they say, not sure if I'll be able to get an order of magnitude more though
Yeah I don't know what the hard limit is...
But like @valtteri says - there might be other options depending on what you actually need to do.
step functions have some limits too https://docs.aws.amazon.com/step-functions/latest/dg/limits.html
while googling around, ran into aws simple workflow, which has eerily ~similar limits https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html