[LRUG] Apache OpenWhisk adds support for Ruby
Asfand Qazi
asfand at cloudership.com
Fri Sep 21 03:32:12 PDT 2018
I used JRuby too once - I had to use a 1GB function, instead of the
smallest 128MB one to be able to run it! And I had to ship the entire JRuby
.jar files with my app! So same problems, more painful.
Regards,
Asfand
cloudership.com
On Fri, 21 Sep 2018 at 11:28, Riccardo Tacconi <rtacconi at gmail.com> wrote:
> True, it is slower than a native solution. I forgot to mention that JRuby
> could be used with AWS, although the JVM is has a low startup time. Plus,
> it seems that most of the Rubyists do not like JRuby and prefer CRuby.
>
> On Fri, 21 Sep 2018 at 10:52, Asfand Qazi <asfand at cloudership.com> wrote:
>
>> On Thu, 20 Sep 2018 at 22:30, Riccardo Tacconi <rtacconi at gmail.com>
>> wrote:
>>
>>> Asfand, you can still run Ruby on AWS lambda, if you do not want to
>>> manage Kubernetes and a serverless layer like OpenWhisk. You just need to
>>> use a handler with a language supported by Lambda and then passed the
>>> request to Ruby. The deployment can be done with Terraform, for instance.
>>>
>>>
>> Absolutely, you can do that. I have in fact done that to run code in
>> Ruby, supported by a Python shim that AWS Lambda supports.
>>
>> Not only did having to start up 2 interpreted languages add a huge amount
>> of startup overhead (a couple of hundred milliseconds each), but the
>> deployment artifact had to include not only the Ruby code, but the Python
>> code, and an entire Ruby interpreter. It weighed in at around 50MB!
>>
>> Plus, the amount of work done in Python to pass the context to Ruby, and
>> then receive it back and massage it into a state that can be passed back as
>> a Lambda response, was more than the work done in Ruby itself.
>>
>> We need native support from the cloud providers for Ruby.
>>
>> Regards,
>> Asfand
>> cloudership.com
>>
>>
>>
>>
>>> On Tue, 18 Sep 2018 at 11:17, Asfand Qazi <asfand at cloudership.com>
>>> wrote:
>>>
>>>> This is great news and hopefully other services will follow suit.
>>>>
>>>> The problem, of course, is that infrastructure management overhead does
>>>> not leave the organisation since someone on the company payroll still has
>>>> to look after it.
>>>>
>>>> Still, a step in the right direction.
>>>>
>>>> --
>>>> Asfand
>>>> cloudership.com
>>>>
>>>>
>>>> On Tue, 18 Sep 2018, 10:54 Riccardo Tacconi, <rtacconi at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Just in case you missed this news:
>>>>>
>>>>>
>>>>> https://medium.com/openwhisk/ruby-goes-serverless-apache-openwhisk-adds-native-support-for-ruby-7134faee14e
>>>>>
>>>>> Cheers,
>>>>>
>>>>> --
>>>>> Riccardo Tacconi
>>>>>
>>>>> _______________________________________________
>>>>> Chat mailing list
>>>>> Chat at lists.lrug.org
>>>>> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
>>>>> Manage your subscription:
>>>>> http://lists.lrug.org/options.cgi/chat-lrug.org
>>>>> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>>>>
>>>> _______________________________________________
>>>> Chat mailing list
>>>> Chat at lists.lrug.org
>>>> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
>>>> Manage your subscription:
>>>> http://lists.lrug.org/options.cgi/chat-lrug.org
>>>> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>>>
>>>
>>>
>>> --
>>> Riccardo Tacconi
>>>
>>> _______________________________________________
>>> Chat mailing list
>>> Chat at lists.lrug.org
>>> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
>>> Manage your subscription:
>>> http://lists.lrug.org/options.cgi/chat-lrug.org
>>> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>>
>> _______________________________________________
>> Chat mailing list
>> Chat at lists.lrug.org
>> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
>> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
>> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>>
>
>
> --
> Riccardo Tacconi
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20180921/b0c169c6/attachment-0004.html>
More information about the Chat
mailing list