So I am writing another microservice that could grow into a full service. Why does the Crystal stdlib not provide a full featured web server that I can build a service on? Is it not true that the Rack model has taken the mind share in the web server community.
2 Likes
Other than path-based routing (which I’d love to see in the stdlib, tbh), what do you feel HTTP::Server
is missing?
1 Like
Like Rack in Ruby?
Isn’t it a bit inferior to Crystal’s HTTP::Server?
I remember Rack adding streaming only quite recently and with some quirks, while HTTP::Server I think supports streaming out of the box from the beginning?
Checkout RoutingHandler - Athena. It’s basically stdlib HTTP::Server
+ routing.
2 Likes