sente icon indicating copy to clipboard operation
sente copied to clipboard

Works with Datomic Ions?

Open tslocke opened this issue 6 years ago • 4 comments

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).

tslocke avatar Nov 19 '19 10:11 tslocke

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).

usernolan avatar Apr 29 '21 01:04 usernolan

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.

tslocke avatar Apr 29 '21 10:04 tslocke

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

hadils avatar Dec 02 '21 19:12 hadils

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!

usernolan avatar Dec 02 '21 19:12 usernolan

Closing for inactivity as part of issue triage. Please feel free to re-open if this issue is still relevant.

ptaoussanis avatar Feb 24 '23 13:02 ptaoussanis