Closed matiasgarciaisaia closed 2 years ago
I'm really interested in your opinions on the matter :)
I'm really interested in your opinions on the matter :)
Well, I doubt that stacking modules is the intended way to do proper routing. I don't think it scales. We are stretching the capabilities of httpd
though. For this use case it's fine because we have 3 content-providing modules, but long term I'd change httpd
for something better (is cowboy
still a thing?). Anyway, nothing actionable right now I don't think.
I know cowboy
is somewhere there in Surveda's stack, but I don't even know if Surveda is up-to-date with dependencies to be honest.
Thanks for raising this concern!
@matiasgarciaisaia Surveda is using Cowboy 2 and should be up to date, but the Elixir version and Phoenix versions are still lagging.
Anyway, this is Verboice here :)
@ysbaddaden Yeah, I know they're different projects 😂 It was just my answer to Gus' "is cowboy still a thing?"
Oh! In that case, yeah, Cowboy is still the http server for Erlang/Elixir!
Whenever the broker gets a 'GET /' request, respond an HTTP 200 OK instead of an error.
This helps healthchecks to succeed.