Hi, I wanted to know about the state of pedestal ions interceptor chain provider. Is there a timeline on the going async caveat and what else is missing.
I think this is a very compelling use case for people like me doing Clojure and Datomic and using Ions as a way to continuously develop and deliver apps. I’m trying to build an API product and there is tremendous value for me in using Pedestal here for streamlining how the API functions.
But going async is an important step since we hit a lot of external resources to gather data.
What would be recommended path to web app building with Datomic Ions if not pedestal then? Vase I believe will not work right?
Actually Vase should be extensible to hook into an API gateway ion handler and take over as a microservice
@souenzzo we sockets with aws Lambda don't make sense. But there is solution, API Gateway manages the WS connection for you and you can push data to the client using POST to a magic url see https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-how-to-call-websocket-api-connections.html @ujjwalt Same as 👆 I suspect async doesn't make sense with Lambda <=> Ions but couldn't WS solve your problem?
I see but I need to provide a REST interface since that is my product.
Also some of the guide and reference topics don’t have attached articles. Is that because the articles haven’t been linked or are yet to be written?
I’m asking because I’m planning to invest heavily in the Pedestal+Datomic stack for my API business
@ujjwalt Consider those as invitations to contribute to the docs. 🙂
@ujjwalt The trouble with going async in Ions has to do with the way AWS handles Lambda invocations. Every Lambda call must have a timeout, after which the connection will be terminated no matter what we try to do inside the Ion.
@mtnygard Sure once I actually understand Pedestal 🙂
In the mean time what would be my best bet at building a full fledged API with Datomic Ions.
So if I’m not doing anything async then pedestal and ions work well together? Also does vase work with ions?
@mtnygard BTW reading the guides right. Very well explained. You took the time to address every little detail even about topics you didn’t have to. Thanks a lot for that.
I think Vase will work with Ions, but I haven’t tried it myself. Maybe @ddeaguiar has experimented?