Earlier quoted context omitted.
Is that like, weird? How many companies are realistically hosting their compute/data across multiple providers for the sake of diversifying that risk? Certainly some, but a tiny minority right?
It's not only about hosting across multiple providers for the sake of diversifying that risk. It's an unhealthy situation to be fully dependent on 1 single provider. It creates monopolies (instead of diversity and choice) which means less freedom, and/or more corruption and unhealthy conditions for all involved.
Ruby on Jets: Like Rails but serverless
51–60 of 92 posts
Re: Ruby on Jets: Like Rails but serverless
#52Re: Ruby on Jets: Like Rails but serverless
#53Does 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 a lot of lambda functions otherwise.
Nothing prevents you from routing everything to a single function, no need to even split by controller. The disadvantage of having a huge number of Lambdas is the ratio of cold starts. The advantage is that you can granularly tweak resource utilization on a per-operation basis.
Re: Ruby on Jets: Like Rails but serverless
#54Earlier quoted context omitted.
Given how trivial it is to set up serverless Rails using something like ECS Fargate, the benefit of running specifically on Lambda is lower than migrating off a tried and tested technology.
With lambda you pay for what you use. It scales endlessly and is quite cheap. Depending on your typical usage and load it can be a huge cost saver (also mentally) as lambda will scale. With ECS Fargate it costs money even without any traffic and you are responsible for correctly implementing auto scaling. I'm coming from 10y rails dev background and now full stack typescript. Thinking in pure lambda functions is a br…
Re: Ruby on Jets: Like Rails but serverless
#55Ruby syntax with a focus on fine grained transforming functions. Isn’t that essentially exactly what Elixir/Phoenix tries to provide, but without the Amazon lock-in or price tag?
I haven't used Elixir, I couldn't say how similar it is to ruby, but my understanding is that it is a pretty different language despite some syntax similarities. Perl and C have some syntax similarities, but...
Re: Ruby on Jets: Like Rails but serverless
#56It looks like Ruby on Jets makes you 100% dependent on 1 company: AWS/Amazon; not an evolution I'd welcome.
Is that like, weird? How many companies are realistically hosting their compute/data across multiple providers for the sake of diversifying that risk? Certainly some, but a tiny minority right?
0. https://www.protocol.com/enterprise/target-cio-mike-mcnamara... (Disclaimer: I work for Target but not currently on cloud stuff, though did previously)
Re: Ruby on Jets: Like Rails but serverless
#57Re: Ruby on Jets: Like Rails but serverless
#58Earlier quoted context omitted.
Nothing prevents you from routing everything to a single function, no need to even split by controller. The disadvantage of having a huge number of Lambdas is the ratio of cold starts. The advantage is that you can granularly tweak resource utilization on a per-operation basis.
provisioned concurrency pretty much nukes the concern.
Re: Ruby on Jets: Like Rails but serverless
#59I used Ruby on Jets for a small project a while ago. It worked really well, however I got the impression that the project was somewhat stalled and maybe losing support. Has that changed? edit 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.
Because people don't think it's Sinatra like, but omasake like Rails.
Re: Ruby on Jets: Like Rails but serverless
#60Earlier quoted context omitted.
With lambda you pay for what you use. It scales endlessly and is quite cheap. Depending on your typical usage and load it can be a huge cost saver (also mentally) as lambda will scale. With ECS Fargate it costs money even without any traffic and you are responsible for correctly implementing auto scaling. I'm coming from 10y rails dev background and now full stack typescript. Thinking in pure lambda functions is a br…
if this is powering your primary API and you have 24/7 traffic, fargate can actually be cheaper in some circumstances. there's nuance in lambda config, including concurrency, temp space, and memory. pay for usage is nice until it's not.
Like everything, no? This is akin to saying "All tautologies are tautological."
Your sentence preceding this one laid out some issues; you probably could have left it at that .