functions icon indicating copy to clipboard operation
functions copied to clipboard

Performance Data

Open sridhard opened this issue 7 years ago • 6 comments

Hi,

Is there any performance reports available for IronFunctions. I want to know the performance of IronFunctions compared to lambda/google-functions. Mainly the response time for different languages, max execution time

sridhard avatar Apr 24 '17 06:04 sridhard

I did some empirical testing and I'm finding the performance around ~600-700ms for a simple "Hello World!" function written in Go. I suspect some low hanging fruit for optimizations here.

prologic avatar Aug 18 '17 07:08 prologic

I also suspect much of the performance gains can be made by keeping a pool of containers for "warm" runs of functions as ~400ms comes from "cold" start of the simplest of container:

$ time dki -t --rm busybox echo 'Hello World'
Hello World

real	0m0.431s

prologic avatar Aug 18 '17 07:08 prologic

Hello,

There is actually support hot functions

https://github.com/iron-io/functions/blob/master/docs/hot-functions.md

This is little bit dated, but should still work. We would really appreciate any input !

c0ze avatar Aug 18 '17 07:08 c0ze

This feature must not be on by default correct?

On Fri, Aug 18, 2017 at 00:56 Arda Karaduman [email protected] wrote:

Hello,

There is actually support hot functions

https://github.com/iron-io/functions/blob/master/docs/hot-functions.md

This is little bit dated, but should still work. We would really appreciate any input !

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iron-io/functions/issues/626#issuecomment-323286476, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOv-rYEbWCKvMNpBuwTiWTK4j5JUjdVks5sZUOjgaJpZM4NFvhn .

--

James Mills / prologic

E: [email protected] W: prologic.shortcircuit.net.au

prologic avatar Aug 18 '17 15:08 prologic

It is on by default. You can set container type by format parameter.

format (mandatory) either "default" or "http". If "http", then it is a hot container

c0ze avatar Aug 23 '17 00:08 c0ze

I see; in that case do we still expect the kind of latency I posted earlier?

James Mills / prologic

E: [email protected] W: prologic.shortcircuit.net.au

On Tue, Aug 22, 2017 at 5:47 PM, Arda Karaduman [email protected] wrote:

It is on by default. You can set container type by format parameter.

format (mandatory) either "default" or "http". If "http", then it is a hot container

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iron-io/functions/issues/626#issuecomment-324189895, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOv-h75C8HHqoQWImiOMq1dZMhYQmb7ks5sa3aqgaJpZM4NFvhn .

prologic avatar Aug 23 '17 02:08 prologic