Re: Services without Servers | Equivalent of AWS Lambda


Dieu Cao <dcao@...>
 

I'm not sure of your precise use cases, but I'd suggest looking into the
implementation of Tasks [1] based on the v3 cloud controller api [2].
With tasks you can spin up containers on the fly fairly quickly, I wouldn't
promise within milliseconds, but I've observed within a couple of seconds,
and that task can be run in the context of your application code base.

[1]
https://docs.google.com/document/d/1CCHDUa2UWRjXkxEdksX4M9BGQ8hBqiMys46wxeF5XE4/edit?usp=sharing
[2] http://v3-apidocs.cloudfoundry.org/

On Mon, Apr 25, 2016 at 10:22 AM, Mohamed, Owais <Owais.Mohamed(a)covisint.com
wrote:
Hello,

Has anyone implemented or know of an implementation similar to that of
"AWS Lambda" using Cloud Foundry?

The idea is to have the ability to run small scripts on the fly without
having a particular container reserved for that script. At the same time
the script should start execution in milliseconds, so there is no time to
initialize a container.

Regards,
Owais

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.