John Watson
17.4K posts

John Watson
@wizputer
SRE at @planetscaledata | he/him @[email protected]
Silicon Valley, CA Sumali Ağustos 2007
504 Sinusundan730 Mga Tagasunod
John Watson nag-retweet
John Watson nag-retweet

@PlanetScale @brianmmdev Glad to hear you still use Vitess Operator! Want to play a game? If you find anything that says "TODO(enisoc)" in the codebase, you owe me a database hat. 🤠
@AVaidyanatha you want to get in on this?
English

📌 Have you ever wondered if databases run well on Kubernetes?
If you’ve ever worked with Kubernetes, you know that it is an orchestration tool that can automatically scale out or maintain your containerized applications. You provide a spec file, and Kubernetes will do its best to make sure the actual state matches the desired state. This works quite well with stateless applications that can spin up and down as needed.
With the right configuration, it can also work well for your MySQL databases.
📌 Deployments vs StatefulSets
Traditional applications deployed to Kubernetes are known as Deployments.
When creating a Deployment, you define the container you want to run, how many you want to run, and what the settings of them should be, and Kubernetes will take care of the rest. If a pod (the smallest unit in Kubernetes which contains one or more containers) dies for whatever reason, Kubernetes will spin up a new one to take its place. Deployments do not consider, however, the data within those containers.
StatefulSets, on the other hand, do consider state.
When pods are defined in a StatefulSet, Kubernetes will do several things to maintain the state. Persistent storage will be attached to the pods so that when they are spun down, the data will not be lost. Additionally, when pods are scaled up and down, Kubernetes will ensure they do so in the same order and with the same name
A best practice is to deploy your database containers as part of a StatefulSet and NOT a Deployment. However, PlanetScale does not do this!
English

@fatih Made the mistake of saving about $400 USD on new set of normal tires. If these tires actually last 40k miles, they'll end up being more expensive due to efficiency loss.
English

John Watson nag-retweet

Matt is my team mate & he is brilliant, don't miss his talk. There will be a Q&A section ✨
Related blog post: planetscale.com/blog/faster-my…
PlanetScale@PlanetScale
💻 Join us tomorrow at 1:30PM EST for a Tech Talk from @mattrobenolt, PlanetScale Lead Infrastructure Engineer on Edge connectivity, where he'll cover some of our experimentation around HTTP/3 and the MySQL protocol. Register here: planetscale.com/events/faster-…
English
John Watson nag-retweet
John Watson nag-retweet

I love reading the Planetscale posts like these
planetscale.com/blog/faster-my…
English
John Watson nag-retweet

@samlambert the DoD were unable to account for 61% of their assets in its latest audit, which they failed for the fifth time - thehill.com/policy/defense…
English
John Watson nag-retweet

Is anyone using @EnvoyProxy in containers and worried about vulnerability management?
We have an experimental build of Envoy running in a Wolfi image and are looking for folks interested in testing it out!
English
John Watson nag-retweet
John Watson nag-retweet

@ywxwy pretty much what he's said the goal has been, but not sure how he thought it would deter the parody stuff 🤷
English

@ScannerFremont Welcome! Here's dashcam footage as well 😬
photos.app.goo.gl/JLddKxmctkTonY…
I talked with bicyclists afterwards while waiting for the cops. They had no idea he came up behind them like that.
English

@ScannerFremont he lost control swerving around a car, very narrowly missing a pair of bicyclists, and then crashed into the Bank of America
English









