Crystal is a language that caught my eye recently
Overall, now that it is in 1.0, do you think we can adopt it with Amber to write web applications and use it as a new language for our proxies?
Crystal is a language that caught my eye recently
Overall, now that it is in 1.0, do you think we can adopt it with Amber to write web applications and use it as a new language for our proxies?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (4)
By "proxies", do you mean HTTP proxies?
Yes
In that case, frameworks like Amber or Lucky are probably overkill. I would probably stick with using
HTTP::Serverdirectly:All of your
PROXYprotocol things would happen inside of (or downstream from) theProxy#callmethod. Thecontextpassed to that method contains references to the request and response objects. You'd be able to stream things from the destination back to the requestor to keep your TTFB and memory footprint low, whereas I believe Amber builds the entire response in memory before sending it over the network.I played with Amber a bit and I think it’s a great framework. Very much like Rails. I would love to see this framework develop further and with a bit faster pace! Thanks