Take me to Val Town
Val Town is a shiny, new social programming environment to write, run, deploy and share code. Steve Krouse āVal Town creatorā joins Jerod & Amal to tell us all about it.
Val Town is a shiny, new social programming environment to write, run, deploy and share code. Steve Krouse āVal Town creatorā joins Jerod & Amal to tell us all about it.
Listener Joe Davidson recently tweeted: āIād really be interested in an episode debating Kubernetes vs serverless functions for distributed systems. As someone working a lot with serverless to create large scale systems, for me the complexity in Kubernetes doesnāt seem worth it, especially when onboarding new people. But Iād like to see it from the other perspectives. I could be missing something.ā
So we invited Joe on the show alongside Abdel Sghiouar and Srdjan Petrovic to discuss!
Dax Raad joins KBall and Nick to chat about SST, a framework that makes it easier to build full-stack applications on AWS. We chat about how the project got started and its goals. Then we discuss OpenNext, an open source, framework-agnostic server less adapter for Next.js.
Corey Quinn:
Countless volumes have been written about the various benefits of serverless, a task made even easier by it being such a squishy, nebulous term thatās come to mean basically whatever the author wants it to mean. This has been a boon for AWSās product teams, whoāve gone from creating services that are clearly serverless such as DynamoDB, Route 53, IAM, and others to instead slapping the āserverlessā moniker on things that are clearly not very serverless at all, like OpenSearch and Aurora.
Last September, at the šØš Swiss Cloud Native Day, Florian Forster, co-founder & CEO of ZITADEL, talked about why they switched to serverless containers. ZITADEL has a really interesting workload that is both CPU intensive and latency sensitive. On top of this, their users are global, and traffic is bursty. Florian talks about how they evaluated AWS, GCP & Azure before they settled on the platform that met their requirements.
Yup, that Neon. Congrats to Nikita and team for this big win.
Databases and web apps go together like peanut butter and jelly. In a word, theyāre inseparable. And despite all the amazing innovations in NoSQL data stores, often a good old relational database is the most reliable tool for the job.
We want to make it completely seamless to develop applications that need databases on Replit. Starting today, you can create and instantly begin to use PostgreSQL databases from within the Replit workspace.
The fine print.
Under the hood, this product is powered by our friends at Neon who have created a lightning-fast serverless database. The database will go to sleep after 5 minutes of inactivity. Most clients should handle the reconnection seamlessly.
Ruby on Jets allows you to create and deploy serverless services with ease, and to seamlessly glue AWS services together with the most beautiful dynamic language: Ruby. It includes everything you need to build an API and deploy it to AWS Lambda. Jets leverages the power of Ruby to make serverless joyful for everyone.
Iām not (yet) big on serverless things, but if I were, Iād love to run some Ruby code there.
This week weāre talking about by Postgres with Craig Kerstiens, Chief Product Officer at Crunchy Data, and a well known ambassador for Postgres. Just Postgres. Thatās what this weekās show is about.
Eight months ago, in š§ episode 49, Alex Sims (Solutions Architect & Senior Software Engineer at James & James) shared with us his ambition to help migrate a monolithic PHP app running on AWS EC2 to a more modern architecture. The idea was some serverless, some EKS, and many incremental improvements.
So how did all of this work out in practice? How did the improved system cope with the Black Friday peak, as well as all the following Christmas orders? Thank you Alex for sharing with us your Ship It! inspired Kaizen story. Itās a wonderful Christmas present! šš
This week weāre talking about serverless Postgres! Weāre joined by Nikita Shamgunov, co-founder and CEO of Neon. With Neon, truly serverless PostgreSQL is finally here. Neon isnāt Postgres compatibleā¦it actually is Postgres! Neon is also open source under the Apache License 2.0.
We talk about what a cloud native serverless Postgres looks like, why developers want Postgres and why of the top 5 databases only Postgres is growing (according to DB-Engines Ranking), we talk about how they separated storage and compute to offer autoscaling, branching, and bottomless storage, we also talk about their focus on DX ā where theyāre getting it right and where they need to improve. Neon is invite only as of the recording and release of this episode, but near the end of the show Nikita shares a few ways to get an invite and early access.
I wonāt call SQLiteās current moment a comeback, because the most used database engine in the world doesnāt have anything to come back from. Iām going with ārenaissanceā, because despite its already mass adoption, there has been something of a rebirth of interest from one software sector that had previously relegated it to dev & test environments: web apps
When we had Paul Copplestone from Supabase on The Changelog I asked him what a cloud native Postgres would look like. He replied,
Decoupled compute and storage. So the idea is that you should be able to attach the compute part of it to a storage, hopefully like an infinite storage; you know, anything that is infinitely scalable. If you can do this, and in particular, if the compute can start up very fast, maybe in, say, a hundred milliseconds via some sort of HTTP response, then thatās cloud native, yeah.
Enter Neon, which sells itself as:
The multi-cloud fully managed Postgres with a generous free tier. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
Behind this new business from MemSQL co-founder Nikita Shamgunov is the linked (Apache-licensed) server written in Rust.
This is the post-KubeCon CloudNativeCon EU 2022 week. Gerhard is talking to Matt Moore, founder & CTO of Chainguard about all things Knative and Sigstore.
The most important topic is swag, because none has better stickers than Chainguard.
The other topic is the equivalent of Letās Encrypt for securing software.
Alex Sims, a Senior Software Engineer at James & James, an eCommerce fulfilment company, reached out to us about the Kaizen story of the third-party logistics (3PL) platform that he has been involved with for several years now.
The system delivered 16 millions of orders in 10 years, and 4.5 million in the last year alone. All the numbers are going up, and there is only so much that a single PHP monolith deployed as VM images can handle. So how do you even start thinking about the architectural improvements, and inspire everyone involved to move towards better?
We encourage you to look at the architectural diagrams in the show notes, especially the 10 year roadmap, and ask Alex for a blog post follow-up. While todayās episode was a good conversation starter, there is a lot that we did not have time to cover.
I came across an interesting use case for edge compute the other day: cookie management at the edge. It probably wonāt be super relevant to a ton of people, but itās an interesting use case I wanted to share, nonetheless.
Cloudflare has a lot more to offer than merely DDoS protection and CDN services. On this episode, Jon Kuperman joins Amal & Jerod to talk through many of their cool new things like Workers, KV, Durable Objects, and R2 Storage. Thanks to listener Matt Mannucci for requesting this episode!
This week Adam is joined by Sam Lambert, CEO of PlanetScale. Now that PlanetScale is in general availability, Adam had to get Sam on the show to talk about the behind the scenes of building this database platform, how this is the last database youāll ever need and what that means for developers, why serverless, its open source underpinnings with Vitess, and a preview of whatās to come.
Blueboat aims to be a developer-friendly, multi-tenant platform for serverless web applications. A monolithic approach is followed: we try to implement features of commonly used libraries (in the web application context) natively in Rust to replace native Node addons, improve performance and reduce duplicated code. Blueboatās architecture ensures the security of the platform, prevents code duplication and keeps the overhead low.
This is a great post byu Andy Kimball on what they mean when they say CockroachDB is now serverless:
Serverless means you donāt have to think about servers. Of course there are servers hard at work handling your applicationās requests, but thatās our problem, not yours. We do all the hard work behind the scenes of allocating, configuring, and maintaining the servers. Instead of paying for servers, you pay for the requests that your application makes to the database and the storage that your data consumes.
How they got here:
Before now, a single physical CockroachDB cluster was intended for dedicated use by a single user or organization. That is called single-tenancy. Over the past several CockroachDB releases, weāve quietly been adding multi-tenancy supportā¦
How they scale it:
Within every Serverless cluster, there is an autoscaler component that is responsible for determining the ideal number of SQL pods that should be assigned to each tenant, whether that be one, many, or zero.
And what it all means for Cockroachās users.
KBall catches up with Chris Ferdinandi about the trends in modern web development towards smaller libraries, pre-compilation, and applications at the edge.
Local development of remote/cloud functions has been various levels of painful ever since the computing trend started its rise, so it makes a lot of sense why Cloudflare would invest in easing that pain. Now they get to say developing with Cloudflare Workers is:
- š Fun: develop workers easily with detailed logging, file watching and pretty error pages supporting source maps.
- š Full-featured: supports most Workers features, including KV, Durable Objects, WebSockets, modules and more.
- ā” Fully-local: test and develop Workers without an internet connection. Reload code on change quickly.
Big news from Deno today.
Today we are releasing Deploy Beta 2. This is the second in a series of beta releases that will be made over the coming months. Each release will add features and refine the programming model. The releases will culminate in a General Availability announcement that we estimate will happen in Q4 2021.
Over the past eight months, we have been quietly designing this hosted service to supplement workflows with the open source Deno CLI. Deploy does not run on AWS Lambda nor does it use Cloudflare Workers; this is a new system with a unique design. We encourage people to look past the rough initial UI and explore this new JavaScript runtime.
Whatās next: A general availability (GA) release is expected Q4 2021.
In this episode, Gerhard talks to his Skyhook Adventure friends: Alan Cooney, Saul Cullen & Wycliffe Maina. They are the ones that introduced Gerhard to the world of serverless in the context of Amazon Web Services. Gerhard shared his experience with remote work, how to ship software with confidence and consistency, and what to look for in infrastructure as code.
At the heart of Skyhook Adventure are adventure trips, and 2020 was not a good one for this business. As you can already tell, code and infrastructure was not the biggest challenge for this team. Having said that, serverless, microservices, a monorepo and the event-based architecture played a big part in successfully navigating the challenges.
This is a story about what happens when a good team allows itself to be guided by solid experience and keeps doing the right thing, long-term. Itās fun, real, and it applies to many.
Yes, this joke has been made before, but Iām serious. In the same way that serverless lets backend developers āforgetā about servers, what if ācodelessā did the same, but for your application code.
In other words, what if API requests to your service included the code that the caller wants to be executed on the server?
Alex Ellis:
I wanted to write to you all and share that Iāve launched my first eBook called āServerless For Everyone Elseā - within the first three hours of launch, nobody bought a single copy and I thought that Iād got it all wrong.
Alex digs into the gritty details of why he wrote the book and what happened after his initial failure. And since Alex is super nerdy like you and me, the post is filled with fun moments like this one:
How did I fulfil the upgrade / discount? I did it by writing a function and deploying it to my Raspberry Pi, so that Gumroad would send a webhook, my code would query the dollar amount, and then send out an email to the customer over AWS SES.