Caddy + Mercure as a lambda function #999
Houssem-Esprit
started this conversation in
General
Replies: 1 comment 6 replies
-
As far as I know, Mercure needs a persistent connection (ie. the client establishes a connection and keeps it open as long as it needs to) so that would most likely be incompatible with how API gateway and lambda works because of timeouts. Also mercure is implemented in go so Bref won't really help here. I think your best bet is probably to run the hub on ec2 or ECS/EKS. Or use the managed version provided by mercure.rocks |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, so I was playing with bref for a little time now and it was great so far, while doing so I had faced a use case where I needed to use caddy web server to deal with Mercure. Which is the best approach to implement this use case using bref?
Beta Was this translation helpful? Give feedback.
All reactions