SaaSHub helps you find the best software and product alternatives Learn more β
Top 23 Ruby Rack Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Unix sockets can use tcp, udp, or be a raw stream
https://en.wikipedia.org/wiki/Unix_domain_socket#:~:text=The....
Puma creates a `UnixServer` which is a ruby stdlib class, using the defaults, which is extending `UnixSocket` which is also using the defaults
https://github.com/puma/puma/blob/fba741b91780224a1db1c45664...
Those defaults are creating a socket of type `SOCK_STREAM`, which is a tcp socket
> SOCK_STREAM will create a stream socket. A stream socket provides a reliable, bidirectional, and connection-oriented communication channel between two processes. Data are carried using the Transmission Control Protocol (TCP).
https://github.com/ruby/ruby/blob/5124f9ac7513eb590c37717337...
You still have the tcp overhead when using a local unix socket with puma, but you do not have any network overhead.
-
-
Project mention: Show HN: Dumbo β Hono inspired framework for PHP | news.ycombinator.com | 2024-11-17
I've went through a similar journey, with some PHP in the early days, then a lot of Merb/Rack/RoR experience. Though I'd not say PHP is back. I'd avoid it for new projects as there are --IMHO-- much better languages available for free.
What I really liked from webdevt in Ruby was Rack. https://github.com/rack/rack (gosh I prefer the simplicity of the old logo)
And I found a Rack-like architecture in "http4k" https://www.http4k.org
In a way Kotlin can be looked at as a "typed Ruby". Sure Ruby now has optional types, but I believe it's not something easily bolted on later. The whole lang + stdlib should be built in an idiomatic way. Changing the language a lot later usually creates a mess in the stdlib.
The framework http4k delivers is very similar Hono/Dumbo, but it has a Rack built in as well. Also, http4k is make by functional programming enthusiasts. So it clearly separates logic and data.
Small request: Please make Hono clickable in the README!
-
We will be using shrine and I want to start this post by saying a few words about it.
-
-
-
-
-
Agreed re asset pipelines. I definitely have Webpacker related scar tissue.
Have you tried either Inertia (https://github.com/inertiajs/inertia-rails) or vite-ruby (https://vite-ruby.netlify.app/)? Both look very promising.
-
-
Rack::Tracker
Tracking made easy: Donβt fool around with adding tracking and analytics partials to your app and concentrate on the things that matter.
-
-
-
-
-
-
-
-
-
-
-
Ruby Rack discussion
Ruby Rack related posts
-
The Basics of Rack for Ruby
-
Hanami Shrine - file handling in Hanami
-
Sinatra 4.0
-
Would you consider Rails as stable nowadays ?
-
Rails Authentication for Compliance
-
Web Frameworks actively maintained in 2023?
-
[Poll] How do you handle file attachments in your Rails app in 2023?
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Jan 2025
Index
What are some of the best open-source Rack projects in Ruby? This list will help you:
# | Project | Stars |
---|---|---|
1 | Sinatra | 12,216 |
2 | Puma | 7,713 |
3 | Rack::Attack | 5,579 |
4 | Rack | 4,945 |
5 | Shrine | 3,189 |
6 | SecureHeaders | 3,162 |
7 | Split | 2,704 |
8 | Thin | 2,270 |
9 | Cuba | 1,440 |
10 | vite_ruby | 1,375 |
11 | rack-throttle | 947 |
12 | Rack::Tracker | 649 |
13 | lamby | 605 |
14 | client_ruby | 526 |
15 | rack-app | 410 |
16 | Bugsnag | 250 |
17 | Plezi | 245 |
18 | tipi | 244 |
19 | controller | 244 |
20 | capybara_discoball | 129 |
21 | rack-freeze | 123 |
22 | adsf | 91 |
23 | web_pipe | 63 |