This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-22
Channels
- # announcements (9)
- # asami (52)
- # aws (1)
- # babashka (7)
- # babashka-sci-dev (12)
- # beginners (72)
- # calva (24)
- # cider (9)
- # clj-kondo (76)
- # cljs-dev (15)
- # clojure (19)
- # clojure-australia (4)
- # clojure-europe (33)
- # clojure-france (9)
- # clojure-gamedev (17)
- # clojure-nl (6)
- # clojure-portugal (5)
- # clojure-uk (5)
- # clojurescript (61)
- # clojureverse-ops (4)
- # code-reviews (23)
- # conjure (1)
- # data-science (2)
- # datalevin (6)
- # datomic (49)
- # gratitude (1)
- # helix (24)
- # holy-lambda (14)
- # jobs (3)
- # lsp (92)
- # malli (7)
- # missionary (8)
- # pathom (12)
- # proletarian (3)
- # re-frame (4)
- # remote-jobs (1)
- # shadow-cljs (4)
- # spacemacs (3)
- # sql (9)
- # tools-build (90)
- # vim (1)
- # xtdb (11)
How would you got about it if the lambda should transact stuff with datomic (dynamo) ? Atm I'm targeting graalvm
Don't get your use case. Could you elaborate?
basically I have a lambda that get's triggered when our app has a release on android/ios store. And I'd like to keep some memory so I can do some process only if both ios + android are released
> And I'd like to keep some memory so I can do some process only if both ios + android are released Don't get this part. Lambda is triggered per release for ios or android. You would like to do some action only if there is a new release for both platforms?
I need some clear explanation, what you have and what would you like to achieve 😄
Do you have some experience with AWS Lambda on Node.js or Python? The approach is the same here as in all AWS Lambda runtimes. Basically the idea is that you have to initialize the connection only once per lambda initialization before handling the request. Therefore one of the options is init db before h/entrypoint macro or specify :init-hook for h/entrypoint.
(h/entrypoint [fns] {:init-hook (fn [] (init-database!))})
One initialization for one lambda instance creation
Lambda can live up to 15min. If you're using dynamodb the integration is extremely straightforward.
You can use faraday for this 😄
and if you would like to trigger a lambda upon a change in db you can also use HL for this