Closed tslocke closed 1 year ago
Hey @tslocke, do you remember where this led? I am similarly curious, and was scouring the web to see if I could save myself some time before trying to get WebSockets working with Ions (either Lambda proxies or HTTP-Direct).
I didn’t end up going further with it. On 29 Apr 2021, 02:40 +0100, Nolan Smith @.***>, wrote:
Hey @tslocke, do you remember where this led? I am similarly curious, and was scouring the web to see if I could save myself some time before trying to get WebSockets working with Ions (either Lambda proxies or HTTP-Direct). — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi @usernolan Did you make any progress with this? I have the exact use case and I'm trying to decide whether or on to use sente
Hi @hadils! I played around with it, and it ended up putting up a bigger barrier I was willing to endure. I didn't save any of the experimental code unfortunately. Most of it was messing around with trying to configure the provisioned lambdas in our provisioning tool.
Where I think I landed was that it would probably be easier to publish a regular Datomic Ion and invoke it from a handler that was part of an API Gateway specifically configured to use WebSockets vs. REST, as in the websockets example.
TL;DR I never got it wired up correctly, but I'm sure it's possible. Let me know if you get it working!
Closing for inactivity as part of issue triage. Please feel free to re-open if this issue is still relevant.
With apologies for opening an issue to ask a question, is there any reason sente would/wouldn't work in a Datomic Ions server environment? The complication is that with Ions, browsers can only reach the server via AWS API Gateway.
In my case the app is running a regular ring stack (based off the Luminus template).