Fork me on GitHub

Hi everyone, I'm new to holy-lambda. I was wondering if anyone has some example of using it with Pedestal. Is there an adapter or an example somewhere?

Karol Wójcik05:04:09

There is adapter for ring. As far as I remember pedestal has a function that adapts ring middlewares to pedestal, so it might work, but havent tested it.


actually nevermind i don't have the code handy, but i do have a gif of it working

Karol Wójcik12:04:20

Huh. Is this lacina in NativeImage?


i think with just warm containers

Karol Wójcik12:04:51

Yeah. It can’t be native image. Init and duration is too high. Anyway cool you made it work!


oh wait nevermind this is lacinia


my brain confused the two because we use lacinia-pedestal


on the bright side i got somebody's hopes up today and got to let them down

Karol Wójcik12:04:24

Is there a difference? If pedestal-lacinia works pedestal should too.


pedestal is an entire web server

Karol Wójcik12:04:03

Yeah, but you can omit the server via the HL middleware i suppose?

Karol Wójcik12:04:20

The same I did with ring? At least I think so.


at which point you just use lacinia


there is no "lacinia-ring", but constructing it isn't that hard

🎉 1
Karol Wójcik12:04:44

Actually this is extremely cool. I remember that @U01RXDR9F4M did something similiar but without Lacinia and pure AppSync.


Ah, I see... I'll look into these diff approaches. I'll start with Pedestal and ring middleware

Chris Lowe13:04:09

I used pedestal logs in HL 🙂 But, also using AppSync + HL, SQS + HL, DynamoDB Streams + HL. All on ARM64 now, too. I’m very happy with HL. I use Pedestal from Fargate (using Copilot) rather than Lambda as I needed to support payload transfers > 10MiB. That was pretty straight forward, too - but that doesn’t use HL.

🎉 1