Earlier quoted context omitted.
You can't decouple validation from the datastore if you want to be certain that all the validation happens and none is ever bypassed or outdated. It bugs me how many systems have opt-in correctness.
If you start with the intention of asynchronous, non-transactional eventual consistency as your assumptive design model, you'll realise: 1. Most applications don't need 100% correctness. Few people are writing nuclear reactor control systems, or bank account management software 2. This model frees you to up to compute at the edge more. Is there a chance that you consider something valid that eventually wasn't? Yes. B…
Serverless Docker Beta
211–220 of 236 posts
Re: Serverless Docker Beta
#212Re: Serverless Docker Beta
#213"Serverless" So where do your functions execute?
…or maybe that's “Cloud”.
Is there a clear explanation of what “serverless” means, and how it's different from “Cloud”, suitable for semi-technical non-developers?
Re: Serverless Docker Beta
#214Earlier quoted context omitted.
I'm not a "serverless hater", but every company I've ever worked with had backend processes that were not tied to HTTP requests. I still keep actual servers around because the HTTP gateway is not the pain point. It's long-running processes, message systems, stream processing, and reporting. That said, I look forward to the company (or side project) where "serverless" can save me from also assuming the "devops" role.
I think all that is still possible in Serverless. I'm not a serverless architect or anything, but that's typically handled by various serverless queues and related event systems.
Re: Serverless Docker Beta
#215Earlier quoted context omitted.
Been going through that process the past few days on Scaleway, as they don't have a hosted K8. It's... tough... but I'm learning a lot and have a much deeper understanding of K8s clusters from an operational perspective now. I have a much deeper understanding of the magic happening behind the scenes to keep everything talking to each other, and even if I wind up on a hosted solution in the end, it's been invaluable.
There is an early access program for they hosted kubernetes service https://www.scaleway.com/kubernetes/
Re: Serverless Docker Beta
#216Re: Serverless Docker Beta
#217How can something be serverless if it habdles http requests? Does it just process requests and never serves responses, or is it just a hip-sounding misnomer?
Re: Serverless Docker Beta
#218Earlier quoted context omitted.
Functions that respond to events, where an event is triggered by some sort of message queue (ie, Lambda + Kinesis streams)
Which usually have very low time restrictions in the order of a few minutes.
Re: Serverless Docker Beta
#219> Serverless > A new slot configuration property which defines the resource allocation in terms of CPU and Memory, defaulting to c.125-m512 (.125 of a vCPU and 512MB of memory) Sure sounds like needing to be concerned about the hardware. That feels like a leaky abstraction that the serverless design pattern claims or appears to take care of, but seems like it doesn't in practice. Is "serverless" the right level of ab…
Whether it's serverless of not choice of hardware is very important. For an simple web app, you might not need special CPU and Memory requirements. But for a video encoding/decoding serverless app may needs different CPU/Memory requirements (and GPU). That's what this `slot` configuration property does. The default is good enough for all the general purpose apps. But if you need more, you can control it.
Re: Serverless Docker Beta
#220Earlier quoted context omitted.
Serverless is fantastic for ETL and data analysis, especially for workloads that vary in scale (eg cronjobs). Feed data in, get data out with scaling as needed.
but how do you feed data in? Usually, it's some other service on one of the big 3 cloud providers. I'm using google for my projects these days so it's a mix of Google PubSub and Dataflow. I think this is the issue/risk with serverless. You either get locked into one of the big 3, or you end up doing all of the ops work to run your own stateful systems. As some of the people above you said, managing and scaling the st…
Can we please call it "stateless" instead of "serverless"?