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
John Reilly -
Juwon?🍀 -
Noble Mulaudzi -
drake -
Once suspended, rayandfz will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, rayandfz will be able to comment and publish posts again.
Once unpublished, all posts by rayandfz will become hidden and only accessible to themselves.
If rayandfz is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Rayan Desfossez.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag rayandfz:
Unflagging rayandfz will restore default visibility to their posts.
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::Server
directly:All of your
PROXY
protocol things would happen inside of (or downstream from) theProxy#call
method. Thecontext
passed 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