text
stringlengths
0
1.82k
**Scott Mansfield:** Just slap some regex on it and you're good to go.
**Erik St. Martin:** \[23:57\] Right? Regex solves all the problems. Alright, so anybody have anything else you wanna talk about? Netflix, or the usage of Go there? What else are you working on, Scott? Do you have anything else going on in the open source community that we can steal?
**Scott Mansfield:** Netflix does, certainly, for sure. I actually had this list of Go projects written down, but it's not necessarily perfect for this... I mean, there's a bunch of things - I've linked them all actually to you guys already - that are all open source and are related to Go use here. But myself personall...
**Erik St. Martin:** Such is the life of a developer... Okay, so I have to look for that link, but we'll make sure that's in the show notes too, for anybody that's interested in all the kind of projects that are coming out of Netflix and that are open source, and even outside of Go. Netflix has been releasing a lot of ...
**Brian Ketelsen:** Forever. Netflix in my mind is one of the pioneers of the "Open sourcing our tools so that you can use them" group. We're not at the Free Software Friday yet, but you gotta throw down for Netflix, because they've been helping everybody else build awesome environments for a long time.
**Erik St. Martin:** Yeah. I mean, long before it was as trendy as it is now. And you have to give credit too, because we're Go developers and it's one of the primary things we all love, but we were other language developers too, right? It's almost impossible to solely develop in one language these days, and there's pl...
Speaking of projects and news, do you guys wanna have a random roundtable about things going on in the community, and projects we're interested in and playing with?
**Brian Ketelsen:** I'm ready.
**Erik St. Martin:** You're ready?
**Brian Ketelsen:** I'm ready.
**Erik St. Martin:** Your voice is clearing up there, Brian. Are you feeling better?
**Brian Ketelsen:** I muted my microphone and coughed quite a bit, it helped a lot. So one of the big things that happened this week was GoKit was tagged at 0.1.0, and I think that's a really big milestone for GoKit. It was kind of an arbitrary tag... When I talked to Peter about it, he said there wasn't anything gigan...
**Erik St. Martin:** So is this more of marking as stable API, where the API won't change much?
**Brian Ketelsen:** I don't think there's any significant guarantee of API stability in this release, but it's just kind of a...
**Erik St. Martin:** A confidence tag?
**Brian Ketelsen:** Exactly, it's a milestone.
**Erik St. Martin:** Yeah. GoKit's been doing some great things, and I use their log package, too. I'm quite fond of it, it's one of my favorites.
**Brian Ketelsen:** Yeah, it's a good logging package.
**Carlisia Thompson:** And one FYI, Peter was on the Changelog podcast, and in that episode he goes over the components of the package, and he talks about stability and moving towards a stable release. It's a very good show.
**Erik St. Martin:** Scott, what are you doing for logging? Because you said you don't use any external dependencies. Did you write your own logging package or are you just using the standard library?
**Scott Mansfield:** \[27:57\] Generally you just stay quiet when everything's okay, but we rely a lot on metrics because in AWS you can have instances just up and disappear. We run somewhere between eleven and twelve thousand instances, so we're not gonna worry about the logs from one instance, most of the time. If we...
**Erik St. Martin:** So this is more just kind of to be able to triage errors you're seeing in your metrics of system performance and latencies and things like that, then you kind of go after the fact to triage? So you don't really use this much of the tagged logging and stuff like that that other people use?
**Scott Mansfield:** No, certainly not. We just... Every time that I have an error that's a very specific situation, I just put a metric and if that counter goes anywhere above zero, then we know specifically what went wrong.
**Erik St. Martin:** That's true too, right? Because ultimately that's what a lot of people do anyway, right? They tag their errors of certain types and then they try to query and get counts of them and all that stuff. So you're just kind of skipping the bloat of having all those logs sitting around and just keep the t...
**Brian Ketelsen:** Does that mean that you have watches on those metrics, to trigger events or notifications?
**Scott Mansfield:** Yeah, so if there's anything that we know would be catastrophic, we could work on having alerts and other things on loads. I feel like an AtomicInteger increment and reading it once a minute is far more lightweight than writing out a whole big JSON block.
**Erik St. Martin:** But JSON is so slimmed down in comparison to XML.
**Brian Ketelsen:** And human-readable, too.
**Erik St. Martin:** Right?
**Brian Ketelsen:** So, we've turned our podcast into SREs at Netflix. We're gonna have to change our branding, but I think you're getting a lot of good, valuable information out there, guys.
**Erik St. Martin:** Yeah. I always find it interesting too to talk to different people who work at scale, because anytime you get into distributed systems, and especially the size that Netflix is, you can't be concerned about a single machine anymore; it's impossible to do that. So I always find it interesting to see ...
Alright, so moving on. What else have we got?
**Brian Ketelsen:** I wanna say too about our perennial, favorite projects here at GoTime, our Vim Go and Hugo, they both leveled up this week with some updates. I haven't read the Hugo announcement yet, so I don't know what's new there. Vim Go had some interesting changes for implementing interfaces - is that what you...
**Erik St. Martin:** Yeah... I don't even know how you would pronounce this command... go fmt - I would never expect it could be pronounced, until I heard someone say it. So I don't know how you would pronounce the command, but Go implementer... But it's cool, because it basically stubs out your type with all the funct...
**Brian Ketelsen:** Nice.
**Erik St. Martin:** I haven't used it yet, but it sounds like something I would use.
**Brian Ketelsen:** Yeah, me too. So how about you, Erik, did you come across any interesting projects or news this week that you wanted to share?
**Erik St. Martin:** I saw Francesc's Go Tooling In Action video, which I thought was really cool. Did anybody watch that?
**Brian Ketelsen:** Oh, that is a great video, yes.
**Erik St. Martin:** Scott, did you get a chance to see that?
**Scott Mansfield:** \[32:00\] I have not yet.
**Erik St. Martin:** It was very cool... I always like watching people work too, and he kind of walks through some of the tools that he uses and how to use them. I even saw him to the new fancy Torch graphs that Uber supplied, which I have to say is a much easier way to visually see pprof graphs.
**Brian Ketelsen:** Yeah, they're pretty.
**Erik St. Martin:** Have you played with that one yet, Scott?
**Scott Mansfield:** The Go Torch projects?
**Erik St. Martin:** Yeah, the Go Torch projects.
**Scott Mansfield:** Well, the guy who invented flame graphs actually works here on our SRE team.
**Erik St. Martin:** Oh, nice.
**Scott Mansfield:** ...so it's a pretty well-ingrained use for Java apps here. People use it all the time, and only recently have I actually started using Go Torch. I've been stuck in the stone ages apparently, using the web graph output from the pprof tool.
**Erik St. Martin:** You're not the only one, I do the SVG thing, too.