openssh-jman
Rack
Our great sponsors
openssh-jman | Rack | |
---|---|---|
1 | 23 | |
13 | 4,821 | |
- | 0.5% | |
0.0 | 7.5 | |
over 7 years ago | 8 days ago | |
Groff | Ruby | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
openssh-jman
-
Nq – a simple Unix job queue system
It's offtopic, but man pages should really adopt a new format (e.g. markdown) instead of roff(1).
roff is a terrible way to write a document. Its format is ancient and not well documented. Its behavior is not consistent across different implementations. Worst of all, no proper i18n support.
There's a tool like roff2html, but again it's pretty sketchy in terms of reliability and i18n support. I wrote my own converter when I was translating OpenBSD manpages [1], but I hope more people recognize this issue.
[1] https://github.com/euske/openssh-jman/blob/master/roff2html....
Rack
- Como desenvolvi um backend web em Clojure
-
How to Use Sinatra to Build a Ruby Application
Because of its lightweight and Rack-based architecture, Sinatra is great for building APIs, mountable app engines, command-line tools, and simple apps like the one we'll build in this tutorial.
-
Newb here: have you written your own web server? Seeking advice
The spec for Ruby's Rack is another good reference for how a Ruby webserver is expected to work.
-
The Definitive Guide to Rack for Ruby and Rails Developers
You've been around in the Rails world for a while. You know your way around rails. But you keep hearing this word 'Rack' and don't really understand what it is or what it does for you. You try to read the documentation on the Rack Github repository or the Rails on Rack guides, but the only thing it does is add to the confusion.
-
Crafting mini RubyOnRails
Begin with writing a rack-middleware. Rack is a standard library for writing a web server. The main structure is simple. Here is an example:
-
Request Coalescing in Async Rust
Coming from the Ruby ecosystem, a lot of this played out similarly to how the Rack[1] middleware conventions developed in the early Rails v1 and v2 days. Prior to Rack there was a lot of fragmentation in HTTP server libraries, post-Rack everything more or less played nicely as long as libraries implemented Rack interfaces.
I don't write Rust professionally, but it was a bummer seeing that this seems to be a place that was figured out (painfully) in ecosystems used heavily for web development--Javascript and Elixir have their own Rack equivalents[2][3]. I hope that Tower plays a similar role to unify the library ecosystem in Rust.
1. https://github.com/rack/rack
-
Rails 7.0.2.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2 have been released (security patch)
Body proxy rely on the Rack server (puma or whatever) honoring the spec by calling close on the rack response.
-
The time is right for Hotwire
rack is severely limited for long-running stream handling. Its limitations was the reason why hijacking was proposed as a temporary feature, until something better came along, which never did, because socket hijacking became a de-facto standard, implemented everywhere, and rack is a legacy spec (and gem), which will likely not evolve anymore, reason why proposals to extend it for websockets have died down.
-
Heroku, I stream you!
Rails seems to have streaming functionality to handle this kind of output generation in the ActionController::Live. Also in Rails edge (future v7) there is a #send_stream method that seems to achieve this functionality so I copied it to my Rails 5.2 app into a controller concern and changed the CSV generation logic to implement the Enumerable #each method. It was not working until I also override the Last-Modified header. See this issue discussion.
What are some alternatives?
Puma - A Ruby/Rack web server built for parallelism
Unicorn - Unofficial Unicorn Mirror.
falcon - A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS.
Goliath - Goliath is a non-blocking Ruby web server framework
Thin - A very fast & simple Ruby web server
Phusion Passenger - A fast and robust web server and application server for Ruby, Python and Node.js
TorqueBox - TorqueBox Ruby Platform
Iodine - iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support
Reel
rack-throttle - Rack middleware for rate-limiting incoming HTTP requests.
Apache - Mirror of Apache HTTP Server. Issues: http://issues.apache.org
mongrel - Mongrel on git