text stringlengths 0 1.82k |
|---|
**Brian Ketelsen:** So in your years of experience in Go, have you ever found a problem with http routers? I'm curious as to why there is such a preponderance of evidence on http router benchmarks in Go? Why do people care how many nanoseconds it takes to compute that path? |
**Cory LaNou:** I've gotta put it down to bragging rights, that's the only thing I can think of. |
**Brian Ketelsen:** I think it's insanity. |
**Erik St. Martin:** That nanosecond talents, man! \[laughter\] |
**Carlisia Thompson:** I think developers are by default an optimistic bunch. We always like to think, "Well, we're going to get so many hits on this endpoint, I just need to prepare for that. I know it's gonna happen." |
**Erik St. Martin:** But I don't think it's just developers, I think it's humans, right? It's that guy in traffic who has to pass you so he's one car length closer to wherever he's going. \[laughter\] It's the same micro-optimization. You look at it and you're like "Oh, it's one car length." Alright, so... Interesting ... |
**Brian Ketelsen:** Let's see, interesting projects this week... I think one of the most interesting that's been surfacing quite a bit for me is the Go Micro Framework, micro.mu on the web. I really like the direction that's going. I like the idea that the whole framework is built with the idea that Micro services aren... |
**Erik St. Martin:** How does that contrast to Go kit? |
**Brian Ketelsen:** The way I see Go kit is Go kit being a lot of packages that are useful on their own, and useful together for the Micro services world. I think Micro is probably less useful as individual packages and more powerful as a group of packages. I could be wrong about that, but that's kind of the way I see ... |
**Erik St. Martin:** Yeah, I have briefly looked at Micro but I haven't had a chance to play with it yet. So kind of along those lines, Micro services in general - Cory, are you guys using Micro services at Influx, or you typically keep more monolithic applications? |
**Cory LaNou:** Yeah, that's a good question. We try to keep monolithic repos, I guess that's one way to say it, and then we do definitely do the Micro services and we have a lot of different services that handle the meta side of the data, the TSM engines. So everything does run pretty much from a Micro service standpo... |
**Erik St. Martin:** What do you use for communication between those services? Are you using RPC, or is this just standard HTTP in JSON, or...? |
**Cory LaNou:** We use a combination of things. Protobuf has actually been kind of our go-to lately, and that's been working really well. It's a little bit extra work from coding standpoints, kind of a little extra dance that you'll have to do every time to add the types to the Protobuf definitions, and then compile it... |
**Erik St. Martin:** Are you using gRPC or are you using Protobuf separately? |
**Cory LaNou:** I actually don't know, I'd have to look. I didn't implement the Protobuf stuff, I just get to use it all day long, so I don't know what they added up on that side of the world. I could look though, and find out. |
**Erik St. Martin:** There tends to be the argument that Micro services has become like a buzzword too, where everybody wants to jump on it, and there's been kind of some debate there, so it's always interesting to hear how many people are taking the Micro services approach and what's the delineation, where do you divi... |
**Cory LaNou:** I think the important part is to understand that you're gonna get it wrong the first time and probably the second time, and maybe even the third time. But eventually you'll get there, right? It's not as simple. People say, "Oh, Micro services" and this is just gonna solve all your problems, but it's sti... |
**Erik St. Martin:** Yeah, there's a lot of cognitive load there, right? Which services get touched, and you get into distributed tracing, because now how do you follow a given request and find errors that happened with it? If it reaches out to 15 services, the responses from each of those services have meaning in the ... |
**Carlisia Thompson:** And going back to the Go kits in the Micro services framework in general, isn't a Go kit and maybe a Micro framework might also have a middleware that has handling across services? Isn't that correct? |
**Brian Ketelsen:** Yeah, Go kit has a Dapper/Zipkin-like layer that allows you to trace your calls, requests across the different layers of your services. |
**Carlisia Thompson:** Oh, that stuff is very important. I hear people saying "Well, if you have a convoluted logic in a monolithic, you breaking that up into services is not going to help your logic be better." But I challenge that, I think it will force you to think about how you would divide things up, and you might... |
**Erik St. Martin:** Well, I think that splitting up into Micro services also is a form of premature optimization, right? There's penalties, there's network latency between things, there's more places where things can fail between the communication of things, and the network is weird. I can't tell you how many times we... |
**Brian Ketelsen:** I think there's a lot of validity to the idea that Micro services are just as much of a social and structural concept as they are a coding concept, and structuring your Micro services around the teams might be more important than structuring them around specific code barriers that might be artificia... |
**Carlisia Thompson:** Definitely. |
**Erik St. Martin:** Alright, I think we chatted about Micro services quite a bit here. Do we have any other interesting projects? I think Carlisia you were talking about a new doc tool that you were excited about, right? |
**Carlisia Thompson:** Yeah, this is reminiscent of my editor hacking that happened a couple weeks ago. I found out about this due to - I think it's new; it only works with Go 1.6, it's called GetDoc. It's a CLI tool, which is not super exciting; I don't wanna be reading tons of documentation, it's just out of context ... |
**Erik St. Martin:** Oh, that is cool. Alright, do we have any other interesting projects we want to talk about before we move on to discussing all things open source in the community with Cory here? |
**Brian Ketelsen:** I could give you 30 more, but I think we covered it all in Go Micro, so why don't we move on? |
**Erik St. Martin:** Alright then. Cory, you get a chance to talk here. I hope you like talking. |
**Cory LaNou:** I've been known to talk. |
**Erik St. Martin:** So I think all of us have happened to see your talk from GopherCon India in February... |
**Carlisia Thompson:** It was an amazing talk. It was so passionate, I loved it. |
**Erik St. Martin:** Yes, and there's a couple of things I want to talk to you about there, but first I have to ask you about the camels. Seriously, I'm jealous, you got to ride camels. |
**Cory LaNou:** It was great. Mark Bates, who one of my coworkers, he happened to be going to GopherCon India and actually he joined the team, we didn't even know we were both going, so that was pretty cool. We were kind of running around the whole time out there, and the camels are literally in the middle of the deser... |
**Erik St. Martin:** So that's kind of like the Central Park tour in the carriage. You pay your 50 bucks and they take you around the block... |
**Cory LaNou:** Yeah... But what's interesting, if you've never ridden a camel, getting up and getting down is pretty crazy. They get up pretty easy and you have to hang on, but when they get down, they basically just drop completely down to their knees. And when they drop, they drop hard, so if you're not hanging on, ... |
**Carlisia Thompson:** I've ridden a dromedary before, but not a camel, and there is a difference - one has two humps, and the other one has one. The dromedaries are more common than camels. I don't think you'll find a lot of camels outside of the Middle East or Saharan Deserts. |
**Brian Ketelsen:** We learn something every day on Go Time. |
**Erik St. Martin:** I'm definitely not an animal expert. So in your talk, one of the things that actually caught my attention was that you had said that you had been developing for 17 years, and it had only been four years that you've really done open source work. |
**Cory LaNou:** That's correct. |
**Erik St. Martin:** I kind of want your take on that, because I think that's a big step for a lot of people. There's always that fear of putting your code in the open. I've been doing open source development for I don't even know how many years now, and I still struggle with putting my code out in the open. |
**Cory LaNou:** Yeah, it's pretty scary at first, and I even wrote a blog post on it that we can link at some point, but basically open source code is really scary when you put it out there, and my first experience was I had a bug that I couldn't figure out what was going on. Of course, I look it up and it's an issue w... |
**Erik St. Martin:** It's interesting you make that analogy, because you think about it like karaoke too, right? Just get out there and sing, it's fun no matter what, right? |
**Cory LaNou:** Exactly, exactly. Have a good time. It's okay, you're gonna screw up, and believe me, you're gonna do some really dumb things, and you're gonna get a bugs log and you're gonna look, and you're like "Wow, that was really stupid, I cannot believe I did that!" Break the cluster and release it, and nobody k... |
\[laughter\] |
**Brian Ketelsen:** Neither have I. |
**Erik St. Martin:** Right, right. I've NEVER committed a stupid bug that brought down any systems because of something dumb. Never. \[cross-talk 00:22:46.00\] |
**Brian Ketelsen:** There's a giant rollback button on my desk. Everybody else has the easy button, I've got the rollback button. |
**Carlisia Thompson:** I think GitHub now has a feature for you to roll back easily, I don't think they had it before. You had to roll back things manually, which is what I would do anyway, but... |
**Erik St. Martin:** With Git there is the Git Revert, which allows you to create a commit that basically inverts whatever commit that you're trying to revert. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.