text stringlengths 0 2.29k |
|---|
**Jerod Santo:** Nice. |
**Gerhard Lazu:** So literally, you're running a preview in CI/CD. |
**Jerod Santo:** I'm going to need a new diagram... |
**Gerhard Lazu:** Infrastructure.md is the place to go to our repo to see how everything wires together, and that's the one that I intend to update as we will have this new stuff. So infrastructure.md is fairly accurate right now. I think the only thing missing is GHCR, and the reason why it's missing is because I'm mi... |
**Jerod Santo:** Very cool. Very cool. |
**Gerhard Lazu:** So what about you, Jerod? I know that you've had some improvements in mind. Some of them I think you've already done since Kaizen 8... |
**Jerod Santo:** Yes... |
**Gerhard Lazu:** Which ones do you want to talk about? There's many, I can tell you that. |
**Jerod Santo:** So a lot of my time, Gerhard, as you know, has been spent on rotating all of our secrets, first of all. |
**Gerhard Lazu:** Oh, my goodness me. There were so many. \[laughter\] |
**Jerod Santo:** So LastPass, thanks for nothing... Well, thanks for a few good years; and then we've lost confidence. So we are 1Password users as a team now, which we talked about for a few Kaizens, and finally made that migration. And then we decided, because of the LastPass leak, and the fact that we're all on 1Pas... |
So I updated our Campaign Monitor API key inside of our app, and in Campaign Monitor, but I didn't rotate it over on the other server. And so it failed to send. It was still generating the emails, just not sending them, which is key; it's a key part of it. So there was like a few nights where Nightly didn't go out unti... |
**Gerhard Lazu:** Oh, yeah. |
**Jerod Santo:** ...which is always fun. |
**Gerhard Lazu:** Issue 442 for anyone that wants to see all the things we have to go through. We had 79 tasks to complete. And some of the work quick, but just like untangling all that... We cleaned up a lot of stuff, and again, it was like almost like a spring clean; even though it was January, it was definitely like... |
**Jerod Santo:** \[42:13\] Yeah. You don't realize just how many service integrations you have until you go to rotate all your secrets. And then it's like "Holy cow. Slack. Campaign Monitor. GitHub. Fastly AWS. GitHub." |
**Gerhard Lazu:** Notion. |
**Jerod Santo:** Mastodon. |
**Gerhard Lazu:** Yeah. GitHub twice, by the way. You said GitHub twice, because GitHub is used twice you have NPI token \[unintelligible 00:42:30.06\] |
**Jerod Santo:** Same thing with Slack. There's like two different Slack APIs that we use. One's for the invites, which is like this old legacy thing that was never an official API, how you actually generate an invite. And then everything else is like for logbot, which is our Slack bot that does a few things. Yeah, the... |
**Gerhard Lazu:** We have to rotate it again. You won't be able to SSH into things. Good thing is you don't need to SSH anymore. Isn't that a relief? |
**Jerod Santo:** That is nice. We're getting better on that front. |
**Gerhard Lazu:** Flyctl ssh console... |
**Jerod Santo:** I do enjoy that, yes. So that was one big piece of work... The other thing - Adam, you mentioned it; it's in flight right now - we're swapping out Algolia for Typesense, which is a very cool C++ based search index, search engine, open source, that we had on the Changelog... Jason Bosco, we had him on t... |
And then the third thing is trying to rejigger the way that our feeds are generated and cached and stored in order to get to this clustered world of multiple nodes running the apps, without having to change the way we use Erlang's built-in caching system, because I've just had some issues with that... And I just starte... |
So I started thinking about different ways of pre-computing and storing files on S3, and fronting that... And there's just lots of concerns with publishing immediately; we like to publish fast. And we even had a problem - thanks to a listener who pointed it out - with our Overcast ping, because Overcast as a specific a... |
\[46:14\] So I just turned that thing off and thought, "Well, people can just wait for Overcast to crawl us again, for now, but I would love to solve that problem..." And so then I started thinking, you know, we already have a place where we store data, that's a single instance, but is a service, so to speak, and it's ... |
I did some initial testing on that locally, and it's like consistently 50-millisecond responses with like Apache Bench, it was not a problem. It's never super-fast, like what you get with Erlang, where it's like microseconds... Which I always like to see those stats. But that's not what we need, right? Consistently 50 ... |
**Gerhard Lazu:** Yeah. |
**Jerod Santo:** Without any caching layer. I mean, you're basically just pulling it out of Postgres and serving it. Very few code changes... It just felt "Okay, this is kind of a silly idea, using Postgres as a cache effectively, but what if it just works, and it's simple, and we don't have to add any infrastructure?" |
So I want to test that sort of in production, I kind of want to roll it out and run it, and then easily roll it back if it's not going to actually work in production... But I don't really have the metrics, I don't have the observability. I have Fastly observability through Honeycomb, but I'm lacking the app responses \... |
**Gerhard Lazu:** No, no, I mean, that's exactly it. I mean, we knew we wanted to do that. It's like another experiment which I wanted to continue with... And I'm so keen to get back to it, to see how that integration could work. That was on my list for as long as I can remember, and I'm so excited to be finally doing ... |
**Adam Stacoviak:** Ha-ha! He said it. |
**Jerod Santo:** \[laughs\] On the next Kaizen... |
**Gerhard Lazu:** There you go. In the next Kaizen. |
**Jerod Santo:** Okay, so we have it on record; there will be another Kaizen. |
**Gerhard Lazu:** Oh, yes. |
**Jerod Santo:** Not just a hope and a dream. |
**Gerhard Lazu:** We just need to figure out where. |
**Gerhard Lazu:** Right. |
**Adam Stacoviak:** So if I understand this correctly, Jerod, you've done this work, but you haven't done it in production. So you need a way to test it in production, essentially, to see how it responds. |
**Jerod Santo:** I spiked it out on a branch, and then it was just like "Okay, this is certainly feasible" And then I did some rudimentary benchmarking of that branch, just to make sure it's not crazy dumb... And then I'm like "Okay, this is feasible, and I know how to bring this into official code." I can definitely t... |
**Gerhard Lazu:** \[50:10\] That's the real spirit of Ship It. We literally have to get it out to see if it works. Like, what happens. |
**Jerod Santo:** And then I was like "Well, what I lack is metrics." So I can observe it for a few hours, get some confidence, leave it in, or be like "Holy cow. It worked great in dev, but it's not going to work with a real load." |
**Gerhard Lazu:** I have a question for Adam... So Adam, I think this may be the moment to tell us again about the benefits of feature flags. |
**Adam Stacoviak:** I almost mentioned it there. I was like "I don't want to have egg on my face by mentioning feature flags..." Because I know Jerod has sort of been resistant to some degree against it... But there may be a simpler way to do this, but I think that that's essentially what you want to do. You want to te... |
**Jerod Santo:** No, because I want to load-test it. I want the full load, is my issue. |
**Gerhard Lazu:** But it could be like maybe 50% of the requests, and you can compare them. So 50% of the requests, 50/50... |
**Adam Stacoviak:** A threshold. |
**Gerhard Lazu:** ...going to the old one, 50 to the new implementation, and see how do they compare over the course of maybe a few days... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.