Nuclio: Serverless for Real-Time and Data-Driven Applications
nuclio.io
nuclio.io
* Embedded systems: nanoseconds to milliseconds (depends on the system, but at the very least needs to be predictable within some bounds);
* Application software (including web): tens to hundreds of milliseconds;
* TV broadcasting: seconds to minutes;
I'd love to hear more examples from different industries!
However, I would say real time generally means acceptable latency or acceptable time reach to consistency. Although, I generally think of real time more along the lines of embedded systems.
Moreover, the word server-less really irks me. It's not server-less. You just don't have to manage the server or really interact with the server software that much. It's still a server.
Somehow it morphed into a shorthand for "fast".
Generally precludes GC(yes there are edge cases where you can shoehorn GC in, I don't care about them since malloc is usually out of bounds as well).
WTF? Can somebody explain to me what they are trying to convey here?
for comparison most serverless frameworks do 1-5k events/sec and up to 100x higher latency.
disclosure: i work on nuclio
> open source serverless platform which is faster than bare-metal code
does't make sense. It eventually has to run on top of bare metal (via hypervisor or directly), so claiming that something that eventually runs on top of bare metal is "faster than bare metal" doesn't make sense at all.
Needs more buzzwords, for sure. Developers need to spend more time understanding "real-time" as well.
I might be old by now, but serverless feels like renting a sublet place per hour. I guess it was only going to happen, after we went from 1 server to many instances to unmanageable mess: "aaeaeh let it be someone else's mess! Take my money!"
Is there management for handling things with a slow startup time?
I've got a few things that have startup times in the region of 30s+ but then each thing to process takes very little time.
I found this, which I think is relevant: https://github.com/nuclio/nuclio/blob/master/hack/examples/p...
Are there some pitfalls about this to be wary about / known bad edge cases?
Based on the roadmap in the repo[0] (under "In Design").
Disclosure: I also work on a FaaS project, Project Riff.
nuclio latency is as low as 30 microsec in Py & Go vs 10s of milisec in Lambda
Disclosure: I work on a different FaaS, Project Riff.
Edit: and to answer your question -- no, I have not personally benchmarked it. Can you point me to your suite? I've been thinking it would be useful to work on a benchmark that different implementations can share to catch regressions (and earn bragging rights, of course).
I raised the topic today in a team meeting and I'll probably get to tinker over the next few weeks. I'm interested in exploring a few different axes of stress. RPS is one, but also things like "how does it behave with ten thousand functions installed?", "how does it behave with traffic yo-yoing?" etc.