TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruby on Jets: Like Rails but serverless

155 pointsby aa_memonover 2 years ago

16 comments

jacobnover 2 years ago
Does it really make sense to map each controller method to a lambda? Wouldn’t it make more sense to have gateway route to a single function per controller and then do the method routing inside that function? You’re going to get <i>a lot</i> of lambda functions otherwise.
评论 #34474776 未加载
评论 #34475918 未加载
评论 #34474448 未加载
评论 #34474773 未加载
rco8786over 2 years ago
I used Ruby on Jets for a small project a while ago. It worked <i>really</i> well, however I got the impression that the project was somewhat stalled and maybe losing support. Has that changed?<p><i>edit</i> Yea the github activity is still pretty concerning. But Rails seems to be having a little bit of a renaissance so maybe it will pick up here also.
评论 #34476741 未加载
aa_memonover 2 years ago
Wondering why this framework isn&#x27;t more talked about, especially amongst rails devs to take advantage of AWS Lambda.
评论 #34475928 未加载
评论 #34474692 未加载
评论 #34476073 未加载
pgibover 2 years ago
I&#x27;ve been using Jets for a small project, and it&#x27;s mostly been great. Coming from a Rails background, it was a very quick way to get a bunch of stuff running without any ongoing costs or babysitting. The documentation is pretty good, though there has been a few times where I&#x27;ve gotten a little stuck and have had to dig through the source to figure it out. Overall, I&#x27;m grateful for its existence.<p>Ultimately though I don&#x27;t think I&#x27;d use it beyond a proof of concept or without some sort of clear idea for how it will sustain itself.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;boltops-tools&#x2F;serverlessgems&#x2F;issues&#x2F;6">https:&#x2F;&#x2F;github.com&#x2F;boltops-tools&#x2F;serverlessgems&#x2F;issues&#x2F;6</a>
rgbrgbover 2 years ago
Has anyone investigated what latency is like? Looks amazing for a low cost deployment, but I’d guess there could be significant startup latency for each controller.
评论 #34474949 未加载
评论 #34476662 未加载
sam0x17over 2 years ago
former CTO @ Arist (YC S20). We were able to get all the way through series A using Ruby on Jets and it continues to be a major driver behind Arist&#x27;s growth. Tung, the guy behind it, is simply fantastic.
评论 #34482894 未加载
benevolover 2 years ago
It looks like Ruby on Jets makes you 100% dependent on 1 company: AWS&#x2F;Amazon; not an evolution I&#x27;d welcome.
评论 #34476585 未加载
评论 #34476598 未加载
cultofmetatronover 2 years ago
maybe its just me but serverless seems ill suited for these heavy garbage collected languages. Since you&#x27;re just spinning up a process shutting it down once it does its job, you&#x27;re really wasting a lot of cpu cycles on building up the garbage collector. A lot of the overhead is fine when you&#x27;re using a persistent instance where you can &quot;warm the cache&quot; so to speak. nodejs would be the edge of what I consider good for serverless. go is probably ok if you turned off the GC and rust would be ideal.<p>Then again, I&#x27;ve managed to completely avoid serverless as I find it to be a pita when you want to do anything more complex than a trivial crud app.
评论 #34479931 未加载
评论 #34479673 未加载
评论 #34479447 未加载
dangover 2 years ago
Related:<p><i>Jets: Ruby Serverless Framework</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19893796" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19893796</a> - May 2019 (39 comments)
hit8runover 2 years ago
I use Dokku on a powerful Hetzner server for my rails apps. Am I missing out on something? My stuff has not too many users &lt; 1000 and those are mainly from EU and US. How would you host this?
ehayesover 2 years ago
Another Rails on Lambda framework is Lamby: <a href="https:&#x2F;&#x2F;lamby.custominktech.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lamby.custominktech.com&#x2F;</a>
mdanielover 2 years ago
I wonder if this would help Mastodon (the project, not the generic term) since I thought the recent Twitter flight caused them scaling woes, but I don&#x27;t know enough of the details to readily know if one lambda per route would help them or not
评论 #34479430 未加载
nixpulvisover 2 years ago
Am I the only one who is kinda irritated with how AWS has effectively created a piecemeal proprietary operating system and slowly started displacing good server ops? All while &quot;supporting&quot; open-source development.<p>I really don&#x27;t want to be an AWS engineer. I like being able to host my own tools when I want.<p>Sorry for the rant, serverless stuff in general is cool.<p>As a followup... I&#x27;m curious if anyone can recommend solid opensource serverless runtime projects with decent management interfaces (CLIs are nice)? It would be neat if projects like Ruby on Jets could become &quot;lambda-agnostic&quot; for lack of a better tagline, if they&#x27;re not already.
评论 #34475092 未加载
评论 #34474824 未加载
评论 #34480594 未加载
评论 #34474806 未加载
评论 #34476375 未加载
评论 #34475888 未加载
评论 #34475791 未加载
travisgriggsover 2 years ago
Ruby syntax with a focus on fine grained transforming functions. Isn’t that essentially exactly what Elixir&#x2F;Phoenix tries to provide, but without the Amazon lock-in or price tag?
评论 #34475966 未加载
评论 #34477790 未加载
评论 #34475795 未加载
renoxover 2 years ago
&quot;Like Rails but <i>serverless</i>&quot;, I wonder what&#x27;s their definition of servers?<p>As far as I understand it relies on .. AWS servers!
评论 #34476677 未加载
评论 #34476077 未加载
评论 #34475965 未加载
edemover 2 years ago
We should have buried Ruby along with Flash a while ago. It is not part of the future anymore (thankfully).
评论 #34477180 未加载
评论 #34480238 未加载