aws

http://status.aws.amazon.com/ https://www.expeditedssl.com/aws-in-plain-english
kulminaator 2019-10-27T16:04:32.157800Z

well if you build an web application with aws lambdas as a backend ... startup time is actually super important

1šŸ’Æ
cjsauer 2019-10-28T14:08:29.159700Z

Yeah, it also gunks up logs a bit, and requires every lambda to ā€œshort circuitā€ warmer requests so that they donā€™t cause errors.

cjsauer 2019-10-28T14:13:49.164700Z

Agreed tho that startup time totally does matter...these conversations frequently end in ā€œitā€™s not an issueā€. It is an issue that the first request to my app after 10 minutes shows a loading spinner for 25 seconds, sometimes even timeout errors if there are 2+ lambdas involved. For a startup that is fighting for users, that is guaranteed to turn people away.

cjsauer 2019-10-28T14:24:52.170300Z

@mruzekw I think warmers are the best answer at the moment. In my case Iā€™m using Datomic tho, so CLJS isnā€™t really an option.

mruzekw 2019-10-28T15:46:24.170500Z

Thanks, yeah. Iā€™m probably going with another DB, so Iā€™m leaning towards CLJS atm. That and my background is in JS

viesti 2019-10-29T06:33:13.170700Z

yeah, Clojure is a hosted language, there's quite a lot of things to look into on JVM side for fast startup: Graal/native-image, jaotc, AppCDS (for cases where Graal/native-image is too restrictive and you still want to use jvm ecosystem)

viesti 2019-10-29T06:34:03.170900Z

I quite liked the lumo as Lambda layer idea, you can keep the sorce even visible in Cloud9, but didn't look into how well it plays out with npm deps

mj_langford 2019-10-29T12:51:25.171200Z

We did a warmer, I disliked the experiences around that so much I just wrote java, javascript and more while trying to get CJLS expertise high enough to avoid any of the other 3 alternatives I mentioned/used.

mj_langford 2019-10-29T12:52:38.171400Z

lumo, shadow-cljs, and more are my "hopeful alternatives to a warmer, eventually" for the next clojure oriented system I go with on lambda

mruzekw 2019-10-29T14:56:00.171600Z

@mj_langford Are you using ā€˜moreā€™ as a general term or as a specific tool?

mruzekw 2019-10-29T14:59:40.171800Z

@viesti Didnā€™t know about AppCDS. Will keep that in mind while tinkering. Thanks

viesti 2019-10-29T15:00:00.172Z

np :)

viesti 2019-10-29T15:00:39.172200Z

would love hearing on tinkering with AppCDS, if you get to it :)

mruzekw 2019-10-29T15:01:15.172400Z

Sure! I can even post some benchmarks

mj_langford 2019-10-31T17:21:45.172600Z

Generically

mruzekw 2019-10-27T21:25:01.157900Z

Considering that would you do CLJ with a warming heartbeat or CLJS?