| I hope this isn't the case here with Rivet. I genuinely believe that Kubernetes does a good job for what's on the tin (i.e. container orchestration at scale), but there's an evolution that needs to happen. If you'll entertain my argument for a second: The job of someone designing systems like this is to decide what are the correct primitives and invest in building a simple + flexible platform around those. The original cloud primitives were VMs, block devices, LBs, and VPCs. Kubernetes became popular because it standardized primitives (pods, PVCs, services, RBAC) that containerized applications needed. Rivet's taking a different approach of investing in different three primitives based on how most organizations deploy their applications today: - Stateless Functions (a la Fluid Compute) - Stateful Workers (a la Cloudflare Durable Objects) - Containers (a la Fly.io) I fully expect to raise a few hackles claiming these are the "new primitives" for modern applications, but our experience shows it's solving real problems for real applications today. Edit: Clarified "original cloud primitives" |
I think your take only reflects buzzword-driven development, and makes no sense beyond that point. A "stateless function" is at best a constrained service which supports a single event handler. What does that buy you over Kubernetes plain old vanilla deployments? Nothing.
To make matters worse, it doesn't seem that your concept was thought all the way through. I mean, two of your concepts (stateless functions and stateful workers) have no relationship with containers. Cloudflare has been for years telling everyone who listens that they based their whole operation on tweaking the V8 engine to let multiple tenants run their code in how many V8 isolates they want and need. Why do you think you need containers to run a handler? Why do you think you need a full blown cluster orchestrating containers just to run a function? Does that make sense to you? It sounds like you're desperate to shoehorn the buzzword "Kubernetes" next to "serverless" in a way it serves absolutely no purpose beyond being able to ride a buzzword.