Latest / Talk Python To Me / #199: Automate all the things with Python at Zapier
Transcript
- 0:00Do your applications call a lot of APIs?
- 0:01Maybe you have a bunch of microservices driving your app.
- 0:04You probably don't have the crazy combinatorial explosion
- 0:08that Zapier does for connecting APIs.
- 0:10They have millions of users automating things
- 0:13with thousands of APIs.
- 0:15It's pretty crazy.
- 0:16And they're doing it all with Python.
- 0:17Join me and Brian Helmig, the CTO and co-founder of Zapier,
- 0:21as we discuss how they pull this off with Python.
- 0:23This is Talk Python To Me, episode 199,
- 0:26recorded January 21st, 2019.
- 0:28Welcome to Talk Python To Me, a weekly podcast on Python,
- 0:45the language, the libraries, the ecosystem, and the personalities.
- 0:48This is your host, Michael Kennedy.
- 0:50Follow me on Twitter, where I'm @mkennedy.
- 0:52Keep up with the show and listen to past episodes
- 0:54at talkpython.fm.
- 0:55And follow the show on Twitter via at Talk Python.
- 0:59This episode is brought to you by Linode and Ting.
- 1:01Check out what they're offering during their segments.
- 1:03It really helps support the show.
- 1:05Brian, welcome to Talk Python.
- 1:07Thank you, thank you.
- 1:08I'm excited to be here.
- 1:08I'm excited to have you here.
- 1:10It's so cool to have a look inside a company like Zapier
- 1:13and all the interesting ways you're using Python,
- 1:16and especially some of the scalability
- 1:18and sort of interoperability stuff you got going on
- 1:19is like next level stuff you got there.
- 1:22Yeah, yeah.
- 1:22It's some really cool stuff.
- 1:24It's really fun.
- 1:24Yeah, awesome.
- 1:25Now, before we get into all that, though,
- 1:27let's start with your story.
- 1:28How did you get into programming in Python?
- 1:29I got into programming mostly, I want to say,
- 1:32early university years, right?
- 1:34So kind of getting into that,
- 1:36hmm, I want to start some startups.
- 1:37I want to kind of create some businesses online.
- 1:39And I was big into music,
- 1:41so I actually did like online guitar lessons for a while
- 1:44and needed to build a site around that.
- 1:46And it just kind of all expanded from that.
- 1:49But I never trained it like formally.
- 1:51I just literally like got addicted to doing it
- 1:54like day in and day out.
- 1:55And then all throughout college,
- 1:57like that's basically like all you could find me doing
- 1:59was like building things
- 2:00and creating all these little side projects
- 2:02and little businesses that didn't really work.
- 2:04Where's Brian?
- 2:05He's in the computer lab, man.
- 2:06He's down there working on something.
- 2:08That's cool.
- 2:08I really like it.
- 2:10It's like you learn programming
- 2:11because you have these ideas.
- 2:12And you're like, well, programming is,
- 2:13you know, it's the hammer I need to build my idea, right?
- 2:16The hammer, the saw, and whatever.
- 2:18Yeah, exactly.
- 2:18And then you, I mean, you learn all the more formal stuff,
- 2:21like after having like practical,
- 2:23like applications for it.
- 2:25And for me, that always just worked better for,
- 2:27I mean, same thing for music.
- 2:28Like I learned like the licks and all the cool things.
- 2:30And then I'd learn like the theory of why it works.
- 2:32And that was always much more satisfying to me,
- 2:36like as a person.
- 2:36So I found it worked well.
- 2:38Oh, that's great.
- 2:38So did you start out with Python
- 2:40or did they have you doing C++?
- 2:43Or where did you start when you're in college?
- 2:46With those sites like the WordPresses
- 2:48and the Joomla's and the Drupal's and stuff,
- 2:50it was a little bit of PHP.
- 2:51But once I found Python and particularly Django
- 2:54back in the very early days of Django,
- 2:56I was like addicted to that.
- 2:58And that was really, I mean,
- 2:59I would say really Django was like the thing
- 3:01that got me into the Python ecosystem
- 3:03and got me stuck on it.
- 3:05And it's funny, Zapier's built on Django
- 3:07and I've spent a lot of time
- 3:08in the Django ecosystem since then.
- 3:10Yeah, that's really cool.
- 3:11It's just like you found it
- 3:12and it's still serving you well.
- 3:14You know, I think that's one of the things
- 3:16that's super interesting about Python in general.
- 3:18And I think of Python as a full spectrum language, right?
- 3:23There's languages that are really good
- 3:24for getting you started to build something simple,
- 3:27but then they kind of top out
- 3:28before you can go like pro with them.
- 3:31And then there's pro languages like Java.net C++,
- 3:33where it's like you'll start there.
- 3:35You start with all the complexity.
- 3:37And Python's one of those few ones
- 3:39that you start easy,
- 3:41but as you need more complexity,
- 3:42you can start to bring in those features of the language,
- 3:45but they're not forced on you from the beginning.
- 3:47Right.
- 3:47And the industry support for Python's like outrageous.
- 3:50Like a lot of these like more niche sort of things,
- 3:52which are kind of fun and cool,
- 3:53or like they just don't have as much like adoption
- 3:56throughout the industry.
- 3:57And when you look at like, you know,
- 3:59employment opportunities and ease of starting
- 4:01and what the ecosystem looks like community,
- 4:04like Python's really hard to beat in both a practical
- 4:07and I also think it's a really well-designed,
- 4:09nicely done language as well.
- 4:11So you kind of like, it's firing on all cylinders.
- 4:13It's really quite incredible.
- 4:15Yeah, absolutely.
- 4:15I totally agree with you.
- 4:16All right.
- 4:17So let's talk about just really quickly your role day to day,
- 4:21you know, just so folks know where you're coming from, right?
- 4:23So right now you're the CTO of Zapier, right?
- 4:26Correct.
- 4:26Yeah, yeah.
- 4:27I'm CTO.
- 4:27I was one of three founders and we've grown,
- 4:30man, it's Zapier is a little over seven years old now.
- 4:34So we've grown from just us three,
- 4:36Wade, Mike and myself to 200 people.
- 4:39So obviously the things I'm doing day to day
- 4:40are a lot different than they used to be.
- 4:42It used to be a lot of hacking
- 4:44and then it quickly turned into a lot of hiring.
- 4:47And that's really been where a lot of my time has been.
- 4:50You know, some of the cool things are like,
- 4:52once you get to certain scales,
- 4:53you can start to really hire amazing,
- 4:56amazing people to take over different slices
- 4:59who are way better than you.
- 5:00And we recently did something similar.
- 5:02We just hired a VP of engineering
- 5:04who I'm hoping will be able to kind of take us
- 5:06to that next level for organizational and hiring
- 5:09and all this stuff that's so critically important
- 5:11to like building a team.
- 5:12And maybe I can spend a little more time
- 5:14on the code side and the product and architecture side.
- 5:17So I'm really excited in 2019
- 5:19to spend a bit more time on that.
- 5:20That's awesome.
- 5:20A little bit back to your roots.
- 5:21Yeah, yeah.
- 5:22No, it'll be really,
- 5:23it's going to be really fun.
- 5:24I'm really excited.
- 5:24Yeah, I think in the early days,
- 5:26if it's the three of you starting a company,
- 5:29you all have to do so many things that you just,
- 5:32you are unprepared and unqualified to do, right?
- 5:36Like, you're like, all right,
- 5:37who's going to do accounting and taxes?
- 5:38You're like, wait a minute.
- 5:39Nobody knows about this.
- 5:41Who's going to do, you know, deployment?
- 5:43Like, well, we've never deployed it.
- 5:44Like, you know, there's just so many things,
- 5:46but now you can find somebody who's like,
- 5:48say, super good at DevOps
- 5:49and you don't have to worry about that.
- 5:51And that's a big transition, right?
- 5:52Yeah, it is.
- 5:53And you kind of, you know,
- 5:54whenever you're just starting out,
- 5:55you can kind of get away with the mess, right?
- 5:57Like if you mess up a deploy,
- 5:59it's like, well, only 10 people were using your site.
- 6:01So no one noticed, you know,
- 6:02you have little things like that,
- 6:04that really help.
- 6:05And same thing.
- 6:06I mean, you mentioned like accountant hiring
- 6:08and like, you're not doing so much of it.
- 6:10So if you're not world-class at it,
- 6:11you know, you can kind of get away with it.
- 6:13But at the heart of it,
- 6:15like you got to build that product
- 6:16that really connects to people.
- 6:18And if you do that well in the beginning,
- 6:20the rest kind of comes
- 6:21and you can get amazing people
- 6:23who know all the,
- 6:24know how to build a great deployment system,
- 6:26know how to run taxes in 50 different states,
- 6:28know how to do all this other stuff.
- 6:30So yeah, it changes.
- 6:31Yeah, yeah, I'm sure.
- 6:32All right, cool.
- 6:33So we talked a little bit about it.
- 6:35You work at Zapier and stuff,
- 6:36but you know, I'm sure most folks listening
- 6:39have more or less heard of it,
- 6:41but maybe they don't really know.
- 6:42They're like, oh, I think that's
- 6:43some kind of online startup thing.
- 6:45Tell us what is Zapier.
- 6:46Yeah, so you can think of Zapier
- 6:48as sort of the glue between
- 6:49all the different SaaS services out there.
- 6:52So if you use Gmail,
- 6:53if you use, especially like Google Sheets,
- 6:56if you use things like Dropbox or Slack,
- 6:59like all these different services
- 7:00that people use on a day-to-day basis,
- 7:02they have data in them
- 7:05and you want to trigger on that data
- 7:06and do other things and other services.
- 7:09Zapier is that like mechanism that does that,
- 7:11which is very much, you know,
- 7:13I think of it a little bit like,
- 7:15you remember all the,
- 7:16and I guess there still exists,
- 7:17some of the languages like Scratch
- 7:19who are kind of those visual programming
- 7:21and they never really caught on,
- 7:22but they kind of were like,
- 7:24oh, we're going to give the power of automation
- 7:25and the power of coding to the masses, right?
- 7:29Yeah.
- 7:29It was always, it's an awesome goal,
- 7:31but it was always really difficult.
- 7:33And I think we're kind of doing that
- 7:35and kind of coming in through the back door.
- 7:37So you can do these cool things
- 7:39where when you, you know,
- 7:40star a message in Slack,
- 7:42you can add it to your to-do app
- 7:44and you can choose one of, you know,
- 7:46a dozen to-do apps that are supported on Zapier.
- 7:49And then you can think,
- 7:50oh, well, if I say like super important
- 7:53in that message,
- 7:54I had an extra filter
- 7:55and I send a message to this room in Slack
- 7:59or that room in Slack,
- 7:59maybe, or I send, you know,
- 8:01my colleague a DM,
- 8:03like you can start to build these like workflows.
- 8:05And that's really the power of Zapier
- 8:07is that you can kind of start
- 8:08to string these actions together
- 8:10and do some really complex stuff
- 8:12that normally couldn't do
- 8:13unless you had a fleet of engineers
- 8:15to like custom build this bespoke software.
- 8:18This is interesting.
- 8:18So, you know, you talked about Scratch
- 8:20and some of these other like edgy block
- 8:22type of application.
- 8:23Right.
- 8:24I'm not going to call it application,
- 8:25but programming frameworks
- 8:27that are these visual things.
- 8:28Right.
- 8:28And I think the idea of those is not terrible.
- 8:32I think the problem is
- 8:33they work at too low of level.
- 8:34Right.
- 8:35They're like,
- 8:36you issue a print statement,
- 8:37you do a for loop.
- 8:38You, I mean,
- 8:39like they literally work almost like line by line
- 8:41as you would with text.
- 8:42Whereas what you guys have is like
- 8:44an email came into Gmail
- 8:46and that's like an integration with an API
- 8:48and OAuth and like tons of other stuff.
- 8:50And then, you know,
- 8:51you've condensed it down to the right size
- 8:53of the draggy droppy thing.
- 8:55You know what I mean?
- 8:56So it's like,
- 8:57there's a few blocks,
- 8:58not 50,000 blocks,
- 8:59which makes no sense.
- 9:00Yeah.
- 9:00And you get away from the idea of like
- 9:02trying to teach people control structures.
- 9:05Right.
- 9:05And how data structures work
- 9:08and like all this stuff is like
- 9:10really heady stuff.
- 9:12Like once you get it,
- 9:13it's fine and it doesn't bother you.
- 9:15But like until you get it,
- 9:16it's another world, right?
- 9:18It's completely foreign.
- 9:19And we avoid that.
- 9:21And we try to keep it just simple
- 9:23to like,
- 9:23oh, I get a new email
- 9:25and I add a message to Slack.
- 9:27Like, got it.
- 9:27Like I can connect those two together.
- 9:29And that's always like the beginning point.
- 9:31And then I think
- 9:32the really powerful stuff comes
- 9:34where you have a team in there
- 9:36and they're like building zaps together
- 9:37or they're adding their own
- 9:39like little flavors of,
- 9:40oh, I want an extra,
- 9:42you know, filter here.
- 9:43Only do it if this matches
- 9:45or add an extra step to this
- 9:47and don't just send it to Slack,
- 9:48you know,
- 9:49send it to my ToDo app
- 9:50or send it to this,
- 9:51send it to my CRM.
- 9:52Like we have lots of business folks
- 9:54and marketers who are doing
- 9:55all this like cool stuff as well.
- 9:56So this is,
- 9:56this is not for like,
- 9:58only for engineers.
- 9:59We do have some,
- 10:00some of my favorite stuff to do
- 10:01is like you can literally embed Python
- 10:03into these workflows,
- 10:04which of course like
- 10:05is very topical for this podcast.
- 10:07I love it.
- 10:08But this is for like marketers as well.
- 10:10So they can build these things.
- 10:11This is for real estate agents
- 10:13who have,
- 10:14you know,
- 10:15form software
- 10:15and they want to like trigger off
- 10:17of people submitting that
- 10:18and get e-signatures
- 10:19and like all of this stuff
- 10:20is like in this ecosystem.
- 10:22So it's not just engineers
- 10:23or devs that use this.
- 10:25It's kind of regular folks,
- 10:27right?
- 10:27People who are just trying
- 10:28to get work done, right?
- 10:29It's cool.
- 10:30And you can bring,
- 10:30bring the level down a little bit.
- 10:32You don't have to be,
- 10:33you know,
- 10:34if you're kind of good with computers,
- 10:36but you're not a developer,
- 10:37right?
- 10:37Like this could be something
- 10:38you could maybe
- 10:39really make what,
- 10:41maybe like a developer would go,
- 10:43I'm just going to write an app
- 10:44that'll just call this API
- 10:45than this and write.
- 10:45But like,
- 10:46there's so many people who,
- 10:47even if they could write that,
- 10:49they're not going to say,
- 10:50deploy it as some kind
- 10:52of background process
- 10:53in like on Linux
- 10:54and put it in the cloud.
- 10:55Like they're just not going to do that.
- 10:56Yeah.
- 10:56So yeah,
- 10:57this is great.
- 10:57Yeah.
- 10:58Yeah.
- 10:58And you think about,
- 10:59that's a great example.
- 11:00It's like we often get engineers
- 11:01or devs who are like,
- 11:02I really don't want to build
- 11:04that thing you just asked me to build.
- 11:05I'm just going to use Zapier
- 11:06because if you think of like,
- 11:08oh, I got to pull this service
- 11:09and now I have to come up
- 11:10with this stateful store
- 11:11of which things I've seen
- 11:12and haven't seen,
- 11:13I got to deploy it to like,
- 11:15I don't know,
- 11:15maybe we'll put it on a Heroku.
- 11:17Maybe we'll like,
- 11:17being a DevOps person,
- 11:19we'll get it still,
- 11:19you know,
- 11:20like it just starts to spider
- 11:21into this whole thing.
- 11:22Whereas like with Zap,
- 11:23you just like create a trigger,
- 11:24create this,
- 11:25and then you can hand it off
- 11:26to the marketer.
- 11:27You can hand it off
- 11:27to your colleague
- 11:29and they can just dig into it.
- 11:30So that's,
- 11:30that's a powerful pattern.
- 11:31Exactly.
- 11:32It's also like,
- 11:33I think this is a good idea
- 11:35to build this little integration,
- 11:36but I don't want
- 11:37another puppy
- 11:38that I have to take
- 11:39for a walk and maintain.
- 11:40I didn't want to,
- 11:40I don't want a thing
- 11:41to care for.
- 11:42So if I build it myself,
- 11:43it's my problem.
- 11:44If I build it here
- 11:45and hand it off,
- 11:46like you guys,
- 11:47that could be your problem.
- 11:47You'll keep it running
- 11:48if the API changes.
- 11:49Yeah, we do.
- 11:50And there's a lot of things
- 11:51that change in the API world
- 11:52that we stay on top of.
- 11:53So it just kind of,
- 11:54it just takes that whole layer
- 11:56of like what's going on away
- 11:58because we have,
- 11:59and I'm sure we'll get into,
- 12:01we have tons of tooling
- 12:02that like watches this.
- 12:03Yeah, yeah, yeah.
- 12:03It's really cool.
- 12:04I definitely want to talk
- 12:05about that because,
- 12:05you know,
- 12:06you have thousands
- 12:07of integrations
- 12:08and these integrations
- 12:09integrate together,
- 12:10which is even more
- 12:10like, you know,
- 12:11combinatorially insane.
- 12:12So that's going to be fun.
- 12:14And I want to talk about that,
- 12:15but let's just talk briefly
- 12:16about this at a high level
- 12:17while we're talking
- 12:18about Zapier.
- 12:19You know,
- 12:19a lot of folks,
- 12:20they get up
- 12:21and they get in the car
- 12:22and they drive
- 12:23through angry drivers
- 12:25and traffic for 30 minutes.
- 12:26Right.
- 12:26And they all have to live
- 12:27around their company
- 12:28and they go to work, right?
- 12:29But as developers
- 12:31and tech companies
- 12:32and things like that,
- 12:32right?
- 12:33Like a lot of times,
- 12:34even if you're sitting
- 12:34next to somebody,
- 12:35you're working
- 12:36in asynchronous modes,
- 12:37you're making a GitHub issue,
- 12:39you're doing a PR,
- 12:40you're throwing a message
- 12:41in Slack,
- 12:41you're like,
- 12:42there's no reason
- 12:43you've got to sit
- 12:43next to the person, right?
- 12:44So that's kind of what
- 12:45you guys decided as well.
- 12:46And with your 200 people,
- 12:47you're more or less
- 12:49100% remote, right?
- 12:50That's correct.
- 12:50Yeah, 100% remote.
- 12:51We don't have a single office.
- 12:53We're not geographically bound.
- 12:55We have people in,
- 12:56I'm going to say,
- 12:57I think it's like 18
- 12:58or 19 different countries
- 12:59right now that work
- 13:00for Zapier.
- 13:01And we've been that
- 13:02since the very beginning.
- 13:03So we started 100% distributed.
- 13:05We've been distributed
- 13:07throughout the entire time.
- 13:08So every single person,
- 13:09it's funny,
- 13:10like basically everyone
- 13:11we've hired,
- 13:12we had not met in person, right?
- 13:15There's like a few exceptions
- 13:16to that rule,
- 13:17but like everyone we've hired
- 13:18has been just like a Zoom call
- 13:20or a Skype call
- 13:21to kind of do the interview
- 13:22or interacting over email
- 13:24or interacting over,
- 13:26you know,
- 13:26text communications in some way,
- 13:28which really mimics the way
- 13:29that most of us work anyways,
- 13:31right?
- 13:31That's been just kind of
- 13:33a core part of Zapier
- 13:35since day one.
- 13:36I think that's really,
- 13:36it's pretty exciting, right?
- 13:38I mean,
- 13:38there's certainly drawbacks
- 13:40to working from home, right?
- 13:41You know,
- 13:41people can get a little bit lonely.
- 13:43You have to be a little more
- 13:44self-directed, I think,
- 13:46because some people see
- 13:48working from home
- 13:48means I have no boss.
- 13:49No boss means I can just do
- 13:51whatever the heck I want.
- 13:52Like if I want to just watch football
- 13:53for the second half of the day,
- 13:54I'm doing that.
- 13:55Like those types of people
- 13:57don't thrive,
- 13:58but I feel like a lot of developers
- 14:00and technical folks
- 14:01are pretty driven anyway.
- 14:03Yeah.
- 14:03And if they have a place
- 14:04for a proper outlet
- 14:05that's really,
- 14:06they feel like they can contribute to,
- 14:07like it's pretty easy
- 14:08to work from home,
- 14:09honestly,
- 14:09as a developer.
- 14:10Yeah, I think so too.
- 14:11And, you know,
- 14:12everything you're,
- 14:13everything,
- 14:13all the artifacts you're creating
- 14:15in a tech company,
- 14:16like you're writing code,
- 14:17you're fixing bugs,
- 14:19you're working on features.
- 14:20It's all,
- 14:20like the output's like all there.
- 14:22You can see it either shows up
- 14:24in the repo or it doesn't.
- 14:25It either lands on the site
- 14:27or it doesn't.
- 14:27And so you can,
- 14:29it's not that complicated
- 14:30to like track the work.
- 14:32I often get folks who are,
- 14:34tend to be a little bit more,
- 14:35especially in the early days of Zap,
- 14:36you're very skeptical
- 14:37about the idea of like remote.
- 14:39Like how do you know people
- 14:40are doing their work?
- 14:41And how do you,
- 14:42like that has not played out
- 14:44to be the biggest problem for us.
- 14:46Many of the problems around,
- 14:47and you mentioned like
- 14:48these are trade-offs,
- 14:49like a lot of the challenges
- 14:50you get into
- 14:52are just challenges
- 14:53that you hit in a normal company.
- 14:55You just hit them sooner, right?
- 14:57Like that communication challenge
- 14:58doesn't happen,
- 14:59you know,
- 15:00when you're in the hundreds
- 15:01of like employees.
- 15:02It happens when you're
- 15:03in the dozens of employees, right?
- 15:05Where everybody's off doing
- 15:06all this like cool stuff
- 15:07and it starts to get hard
- 15:09to coordinate, right?
- 15:10So we had to invest
- 15:11in coordination
- 15:12and communication
- 15:13a lot earlier in the org
- 15:15because you couldn't do that
- 15:15implicitly by picking it up
- 15:17around the water cooler,
- 15:18so to say, right?
- 15:19So that's always been
- 15:21a big focus for us
- 15:22in the early days
- 15:22was like what's breaking now
- 15:24that probably wouldn't break
- 15:26until, you know,
- 15:26we were double
- 15:27or triple the size
- 15:28in a normal company.
- 15:30So what are some of the tools
- 15:31and things you put in place?
- 15:33You know, to me,
- 15:33it feels like
- 15:34distributed teams 2018
- 15:36is 10 times easier
- 15:37than distributed teams
- 15:382006, 2008,
- 15:41but still like
- 15:42there's a lot of tools
- 15:43to pick from.
- 15:43Like what's important part
- 15:45of that whole structure there?
- 15:46I mean, they're the same tools
- 15:47I think a lot of companies
- 15:48are using.
- 15:49I mean, they're the GitHubs,
- 15:50right?
- 15:50They're the Slacks.
- 15:51We use Zoom
- 15:53for like calls.
- 15:53We do so many video calls,
- 15:55constantly hopping on calls
- 15:56to like chat over stuff.
- 15:58We've even built
- 15:59a couple like internal tools
- 16:01that are custom to us.
- 16:03So we've built
- 16:03an internal tool called Async
- 16:05modeled around the idea
- 16:06of asynchronous communication,
- 16:08right?
- 16:08Where, you know,
- 16:09you look at something like Slack,
- 16:11it's very synchronous, right?
- 16:12Like you drop information in,
- 16:13it scrolls away and it's gone.
- 16:15It's not gone,
- 16:16but it's like basically gone.
- 16:17It feels ephemeral, right?
- 16:19It does definitely feel ephemeral, right?
- 16:21It's hard to keep permanent actions
- 16:22that you need to do
- 16:23like somewhere in your Slack history.
- 16:25Yeah, that's a poor,
- 16:26it's a poor idea.
- 16:27You want to push that out.
- 16:28So what we've done
- 16:29is created this tool called Async
- 16:31and you can kind of think of it
- 16:32like WordPress meets Reddit
- 16:35meets Twitter kind of a thing.
- 16:37So it's basically a blog mechanism
- 16:40that has some structured ways
- 16:42to describe, for example,
- 16:43we require each post
- 16:45have like a TLDR, right?
- 16:46Like where you can,
- 16:47under a hundred words
- 16:49or less, give or take,
- 16:51kind of like summarize
- 16:52what your decision is
- 16:54that's enclosed in that Async post.
- 16:56Man, I love it.
- 16:56That's such a good idea
- 16:58because then you can tell
- 16:59do you need,
- 17:00how much attention
- 17:01you need to pay to it
- 17:02and like just an email,
- 17:03like that would be a great
- 17:04inter-office communication way
- 17:06because I mean,
- 17:07I personally get so much email
- 17:09that I'll periodically
- 17:10have to take,
- 17:11you know,
- 17:11eight hour days
- 17:12and just answer email
- 17:13just so it doesn't get too bad.
- 17:14And it's like,
- 17:15those were those little short vets?
- 17:17Like that would help sometimes.
- 17:18That's awesome.
- 17:19I like it.
- 17:19Yeah, it really would.
- 17:20And we've also added things
- 17:22like depending on
- 17:23how many people view it
- 17:24or comment or like it
- 17:25or interact with it,
- 17:27it gets hotter.
- 17:27Like it's a very like Reddit style
- 17:30or Hacker News style thing.
- 17:31Yeah, yeah.
- 17:31Which helps like surface
- 17:33just important information.
- 17:34So earlier this year,
- 17:36Wade posted a whole bunch
- 17:37of like essays
- 17:37on like what we're trying
- 17:38to do in 2019
- 17:39and everybody was interacting
- 17:41and like diving in
- 17:42and chatting about them
- 17:42and they'd popped
- 17:43right to the top.
- 17:44So you don't even have to like
- 17:45really work super hard
- 17:47to get that information.
- 17:48You just kind of hit
- 17:49the homepage of Async
- 17:50and you get a flavor
- 17:52of what's going on
- 17:53in the company.
- 17:53You can read those TLDRs
- 17:54and you get a good idea.
- 17:55You can click in,
- 17:56you can go deeper if you want,
- 17:58you can interact.
- 17:59So this is something,
- 18:01as an example of something
- 18:02we built internally for this,
- 18:03but it's not crazy software, right?
- 18:05It's not super complicated.
- 18:06This is something that
- 18:07in conjunction with other tools
- 18:09like the classic,
- 18:10like, yeah,
- 18:10like we use lots of Google apps
- 18:12and then the GitHub
- 18:12and the Elysians
- 18:14and the Jira's
- 18:14and all that stuff.
- 18:15So we do do some custom stuff.
- 18:17Yeah, that sounds really awesome
- 18:18and I think it's great.
- 18:19You know, I've worked for 10 years
- 18:21for a company that was remote
- 18:23and we had people
- 18:24all over the world
- 18:25and there are definitely trade-offs,
- 18:27but I really felt like
- 18:28the people I was working with
- 18:30were some of the very best people
- 18:32because they were chosen
- 18:33from the population of the world,
- 18:36not from the population
- 18:37of the town I happen to be in,
- 18:39which maybe is a small town
- 18:40or whatever, right?
- 18:41Like, how has that either been
- 18:42like a positive or negative for you?
- 18:44I've seen like a lot of tension
- 18:45between some companies
- 18:46are like, oh,
- 18:46we have to have somebody local
- 18:48because it's super important
- 18:49we have this like sort of control
- 18:52or like view over them
- 18:53and interaction with them,
- 18:54but I don't know
- 18:55that that's always the best.
- 18:56No, I don't think so.
- 18:57We believe,
- 18:58and we've seen it in reality,
- 19:00we believe that like talent
- 19:02is like evenly distributed
- 19:04throughout the world,
- 19:04but opportunity isn't, right?
- 19:06So in a large way,
- 19:07we see this as an incredible opportunity
- 19:09that even just like talk about America,
- 19:11a small town in America, right?
- 19:13And you have an amazing engineer
- 19:14that lives there.
- 19:15They live there because they have family
- 19:17and it's a great cost of life
- 19:18and they love where they're at.
- 19:20The opportunities as an engineer
- 19:22are likely pretty slim.
- 19:24It's one of those opportunities
- 19:25where those amazing folks,
- 19:27those really talented folks
- 19:29can actually contribute
- 19:30at the level
- 19:30that they can contribute at.
- 19:32That's pretty special.
- 19:34Like that's really, really hard to do
- 19:35when everybody's geographically located
- 19:37and you require someone
- 19:38sit there in an office
- 19:39that just wouldn't really like scale out.
- 19:42So for us,
- 19:43we think of it as
- 19:45something that is good for business,
- 19:47but also just really good
- 19:48for people as well.
- 19:49It's just a better way to work.
- 19:50It's a better way to live.
- 19:51You can live where you want.
- 19:52You can have a better,
- 19:54like just look at like the cost of living
- 19:56for your family,
- 19:56for everything.
- 19:57It's just so much better
- 19:59in every way.
- 20:00And you just have to like work
- 20:01through the little challenges
- 20:03that pop up
- 20:04in a remote environment
- 20:05and it really helps
- 20:06to be 100% distributed.
- 20:07I think when you get that mix thing,
- 20:10yeah, it gets a little trickier.
- 20:11The mix is tricky
- 20:12because you got the insiders
- 20:14who are at the office
- 20:15and they don't necessarily
- 20:16fully trust the remote workers,
- 20:18but maybe the remote workers
- 20:19are really talented
- 20:20so they have to work with them.
- 20:21But there's always
- 20:22these little undercurrents
- 20:23of weirdness.
- 20:24Like I've been in those situations
- 20:25as well.
- 20:28This portion of Talk Python To Me
- 20:30is brought to you by Linode.
- 20:31Are you looking for hosting
- 20:33that's fast, simple,
- 20:34and incredibly affordable?
- 20:35Well, look past that bookstore
- 20:37and check out Linode
- 20:38at talkpython.fm
- 20:39slash Linode.
- 20:40That's L-I-N-O-D-E.
- 20:42Plans start at just $5 a month
- 20:44for a dedicated server
- 20:45with a gig of RAM.
- 20:46They have 10 data centers
- 20:48across the globe,
- 20:48so no matter where you are
- 20:50or where your users are,
- 20:51there's a data center for you.
- 20:52Whether you want to run
- 20:53a Python web app,
- 20:54host a private Git server,
- 20:56or just a file server,
- 20:57you'll get native SSDs
- 20:58on all the machines,
- 20:59a newly upgraded
- 21:00200 gigabit network,
- 21:0224-7 friendly support
- 21:04even on holidays,
- 21:05and a seven-day
- 21:06money-back guarantee.
- 21:07Need a little help
- 21:08with your infrastructure?
- 21:08They even offer
- 21:10professional services
- 21:11to help you with
- 21:11architecture, migrations,
- 21:13and more.
- 21:13Do you want a dedicated server
- 21:14for free for the next
- 21:15four months?
- 21:16Just visit
- 21:17talkpython.fm
- 21:18slash Linode.
- 21:19You were just talking about
- 21:22having a company retreat
- 21:23in New Orleans,
- 21:23and the company I worked for
- 21:25before when I was
- 21:26working remotely
- 21:26before I started my own.
- 21:27Certainly, we had the same
- 21:29challenges of how do you connect,
- 21:32and so having some kind
- 21:33of yearly or bi-yearly
- 21:35get-together physically,
- 21:36and also you talked
- 21:37about Zoom.
- 21:37The video aspect
- 21:39of the Zoom and Skype
- 21:40actually makes a big difference,
- 21:42I think.
- 21:42It really does,
- 21:43and the internet connections
- 21:44are getting so good now
- 21:45that that video connection
- 21:47can feel very real,
- 21:48can feel very,
- 21:49like you can interact,
- 21:50you can see someone's body language,
- 21:51so you do get that.
- 21:52Yeah, you and I are talking,
- 21:53and it's almost as if we're
- 21:55sitting across the table
- 21:56from each other.
- 21:56It basically is good.
- 21:57Yeah, it works really well.
- 21:58So we found it to be
- 22:00exceptionally good.
- 22:02Yes, I do think having
- 22:03the visual interaction
- 22:04is important,
- 22:05like video calls,
- 22:06but then periodically
- 22:07these actual get-togethers,
- 22:09right?
- 22:09Yes, the retreats.
- 22:11Yeah, like these retreats,
- 22:12I always look forward to them
- 22:14because it was like
- 22:15these people I really liked
- 22:16and I would have more of a work.
- 22:17Like you wouldn't hang out
- 22:19on Skype.
- 22:19You'd be like,
- 22:19hey, I'm just,
- 22:20what are you up to, man?
- 22:21Let's hang out on Zoom, right?
- 22:22Like that's kind of weird,
- 22:23but you would have these meetings.
- 22:24So this is your chance
- 22:25to be more friendly
- 22:26with like your coworkers, right?
- 22:28So I think it's a good combo.
- 22:29I think it works really well.
- 22:30Yeah, I do too.
- 22:31And when it comes to the retreats,
- 22:32we've done those
- 22:34since the early days.
- 22:35I remember our first retreat
- 22:36was seven people
- 22:37and it's grown up to 185
- 22:41or 190 people.
- 22:42I think we're at the last retreat,
- 22:43which brings about a whole set of,
- 22:46you know,
- 22:46unique logistics challenge,
- 22:48but we found them
- 22:49to be really, really useful
- 22:50to kind of help set the stage
- 22:52for the stuff
- 22:52that we want to talk about.
- 22:53So you get that,
- 22:54you know,
- 22:54one of the cool things is,
- 22:56at least for me,
- 22:56is when you're in an office,
- 22:58you kind of are pretty much
- 23:00like flatline energy level.
- 23:01Like it's just kind of
- 23:02day in, day out.
- 23:03It's what you do every day.
- 23:04When you meet the team,
- 23:05you get them together.
- 23:06For us, it's like twice a year.
- 23:08That energy level's
- 23:09through the roof.
- 23:09Everyone's really excited
- 23:10to see each other.
- 23:11You're diving into things.
- 23:12You're hacking on stuff.
- 23:14You're going,
- 23:14like there's some really cool stuff
- 23:16that comes out as a result.
- 23:17So you get a little bit
- 23:19of the best of both worlds
- 23:20where you get to go back.
- 23:21You get to be in your space.
- 23:22You get to like zone in.
- 23:24You get to like have
- 23:25your kind of flow state,
- 23:26but you also get to have
- 23:27that really high energy
- 23:29connecting with people,
- 23:30spending time with them,
- 23:31which works really well.
- 23:33And we try to emulate,
- 23:34some of that serendipity things.
- 23:36Like we've used,
- 23:37there's this product
- 23:38called Donut for Slack
- 23:40and it will like pair you up
- 23:41with folks.
- 23:42So we have these like two by,
- 23:43two people like pairings
- 23:45that happen every week,
- 23:46three people pairings
- 23:47that happen every week.
- 23:48And they just let you get together
- 23:50and just chat about whatever.
- 23:51And you get matched up
- 23:52with random folks on the team.
- 23:53So you get a little bit
- 23:54of that as well.
- 23:55Oh, nice.
- 23:56And throw in little jokes
- 23:56or just stuff
- 23:57just for more personal things.
- 23:59Yeah, yeah,
- 23:59you definitely do.
- 24:00And you get to hear
- 24:00a little bit about
- 24:01what people are up to
- 24:02and like, you know,
- 24:03hear about their family
- 24:04and hear about this
- 24:05or hear about that.
- 24:06And it's those sorts
- 24:07of unstructured conversations
- 24:08that kind of bring out
- 24:10that humanness,
- 24:11which, you know,
- 24:12you do lose a little bit of
- 24:13when you're remote.
- 24:14So we often have like advice
- 24:16for folks to try to plan
- 24:17one day of your week
- 24:18where you go to a coffee shop
- 24:20or you go somewhere
- 24:21just to get out
- 24:22and move around.
- 24:23And, you know,
- 24:24some people don't need that.
- 24:25Some people need more of that.
- 24:26And just be aware
- 24:27of that for yourself
- 24:27because you're not often
- 24:28going to get that directly
- 24:30from working on Slack
- 24:31or something like that all day.
- 24:32I think that's great advice.
- 24:33Like people can go
- 24:34kind of stir crazy.
- 24:35Like I work 100%
- 24:36from my home office
- 24:37or somewhere else, right?
- 24:38Everyone I work with
- 24:39is some kind of contractor
- 24:41or author or something
- 24:42who's also not
- 24:43in any form of office with me.
- 24:44I know all the coffee shops around,
- 24:46especially in the summer,
- 24:47you know,
- 24:48and sometimes hit the libraries,
- 24:50but just getting out
- 24:51that makes a big difference.
- 24:52So I guess one more question
- 24:54that people out there
- 24:55might find interesting
- 24:57and maybe they will more so
- 24:59after what we talk about
- 25:00in just a moment,
- 25:00but it seems like
- 25:01it fits better here
- 25:02is they're out there listening.
- 25:04They're like,
- 25:04you know,
- 25:04I have this Java thing I'm doing
- 25:07and I'm not really super happy.
- 25:08I love a Python job.
- 25:09You guys are pretty much
- 25:10doing tons of Python
- 25:12and they could work
- 25:13from where they are.
- 25:14Are you hiring?
- 25:15Yeah, we're doing
- 25:16a lot of hiring in 2019.
- 25:17We've been really fortunate
- 25:18that, you know,
- 25:19we've talked about this publicly.
- 25:20Zapier has been profitable
- 25:21for years and years
- 25:22and we've been growing
- 25:24at a really respectable pace
- 25:25and we have a lot
- 25:27of ambitions for 2019.
- 25:28A lot of cool stuff
- 25:29we got to build.
- 25:30So yeah,
- 25:31we're 100% hiring.
- 25:32We're looking for folks
- 25:33who have Python background,
- 25:35have JavaScript background.
- 25:36We're going to be hiring
- 25:37slightly different,
- 25:38you know,
- 25:39on the manager track,
- 25:39we're going to be hiring folks
- 25:40on that side as well,
- 25:41which we kind of think of
- 25:42as like a different skill set.
- 25:43We're also hiring
- 25:44like security folks.
- 25:45We're hiring like
- 25:46test automation,
- 25:46you name it.
- 25:47We're hiring all the things
- 25:49in 2019.
- 25:50Lots of cool stuff.
- 25:51All right.
- 25:51Awesome.
- 25:52Well,
- 25:52people can,
- 25:53I'm sure there's a career page
- 25:54at zapier.com,
- 25:55right?
- 25:55Slash jobs.
- 25:56Yeah.
- 25:56Zapier.com slash jobs
- 25:58and we got them all on there.
- 25:59All right.
- 25:59Awesome.
- 25:59Nice.
- 26:00All right.
- 26:00So let's dig into
- 26:01some of the technology
- 26:02because I think there's
- 26:03two sides of things
- 26:04that are super interesting here.
- 26:05One,
- 26:06you've got
- 26:07your infrastructure
- 26:08and just the amount
- 26:10of people running jobs
- 26:11and triggered actions
- 26:13on your site
- 26:14is really,
- 26:14really interesting.
- 26:15There's so much
- 26:15happening there.
- 26:16And then also
- 26:17you're calling
- 26:18thousands of APIs
- 26:20and these APIs
- 26:21are not totally stable
- 26:22and all sorts of stuff.
- 26:23So let's dig into that
- 26:24a little bit.
- 26:25Like maybe just tell us
- 26:26real quick,
- 26:26like what kind of tech
- 26:27is involved
- 26:27and things along that line.
- 26:29We've tried to keep it
- 26:29pretty simple
- 26:30because we have plenty
- 26:31of complexity
- 26:31when it comes out
- 26:33on the other side
- 26:33with talking to APIs
- 26:34and some of the
- 26:36interesting combinations
- 26:37users make.
- 26:38So for us,
- 26:39we're Python.
- 26:40I mentioned earlier,
- 26:41we're Django based.
- 26:41So we're still using
- 26:42a lot of the ORM,
- 26:43a lot of the kind
- 26:44of standard tooling
- 26:45that comes with Django,
- 26:46a lot of the caching bits,
- 26:47a lot of the session bits,
- 26:48all that stuff
- 26:49we still use
- 26:50really, really heavily.
- 26:51What kind of database
- 26:52back in are you guys
- 26:53talking to with that ORM?
- 26:54Yeah, yeah.
- 26:54We're talking to MySQL
- 26:55right now.
- 26:56We're starting to kind
- 26:56of shard off
- 26:57and we've done
- 26:58and not sharding
- 26:59in the sense of like
- 27:00sharding over
- 27:01consistent sharding
- 27:02over IDs
- 27:03or anything like that,
- 27:04but like functional sharding
- 27:05where we try to extract
- 27:06this service
- 27:06from kind of the monolith
- 27:08and say,
- 27:08okay, well,
- 27:09now this is an opportunity.
- 27:10Maybe we'll use
- 27:10a more specialized database.
- 27:12Either maybe we'll
- 27:13stay relational
- 27:13and we'll use Postgres
- 27:14or upgrade
- 27:15the MySQL
- 27:15to something
- 27:16a little different
- 27:17or maybe we'll use
- 27:18some sort of NoSQL
- 27:19or specialized
- 27:19read and write patterns
- 27:21that make that
- 27:22use case even better.
- 27:23So for that,
- 27:24we're generally,
- 27:25I mean,
- 27:25we're looking at like
- 27:26mostly like
- 27:27vanilla Python
- 27:28like on the back end,
- 27:29the workflow engine side,
- 27:31right?
- 27:31which is probably,
- 27:32which is probably,
- 27:32you think of like
- 27:33that big behemoth
- 27:34that's running
- 27:35in the background
- 27:35doing all this
- 27:36like crazy stuff,
- 27:37talking to all these APIs,
- 27:38kind of your little robots
- 27:39running around the internet
- 27:40and that's all like Python
- 27:42and that's usually doing
- 27:43a lot of,
- 27:44I mean,
- 27:45you think of like celery,
- 27:46we use a ton of celery,
- 27:47right?
- 27:47We use a ton of that
- 27:48and we use RabbitMQ
- 27:49for a lot of the message
- 27:51passing between that.
- 27:52We're still using Django
- 27:54on the HTTP front,
- 27:55I mentioned.
- 27:56we use a lot of
- 27:58just pretty like vanilla
- 27:59like ingest for like webhooks.
- 28:01Like I know we do a lot of pulling,
- 28:03which is a lot of back end stuff,
- 28:04but we also pull in a lot of webhooks.
- 28:06So this is great
- 28:07when services send us those webhooks
- 28:08and let us know about things changing.
- 28:10Right.
- 28:10Webhooks have to be basically
- 28:12the best possible outcome,
- 28:14right?
- 28:14Because something like an email
- 28:16or an action happens
- 28:17and that service tells you
- 28:19rather than just
- 28:20you got anything for me,
- 28:21you got anything for me,
- 28:21you got anything for me.
- 28:22Yeah, yeah, yeah.
- 28:23That's,
- 28:23and that's,
- 28:24it's huge.
- 28:24We did a big analysis
- 28:25and we actually even shared
- 28:26and try to get more partners
- 28:28on board with like webhooks
- 28:30and what we call rest hooks,
- 28:31which is just a way
- 28:31to subscribe to webhooks.
- 28:33Because I think for a while,
- 28:34especially in the early days
- 28:35of webhooks,
- 28:36it was like,
- 28:36hey user,
- 28:37please copy this URL
- 28:38into this other service.
- 28:40And then,
- 28:40whereas like now that we have
- 28:41rest APIs,
- 28:42like we can just post
- 28:43to a subscription
- 28:44or a webhook endpoint,
- 28:46it'll create a webhook
- 28:47and send you those events
- 28:48and then you can tear it down.
- 28:49So we've done a lot there
- 28:51and we've done,
- 28:51and we did a bunch of analysis
- 28:53in the early days
- 28:53and it's something like
- 28:5466 times more efficient,
- 28:56like,
- 28:56because like on average,
- 28:58you're asking hundreds of times
- 29:00for new data
- 29:01and there's nothing there.
- 29:02And then the one time
- 29:03there is,
- 29:03right?
- 29:03Yeah.
- 29:04Just super,
- 29:04super wasteful.
- 29:05So we try to push towards
- 29:07like webhooks
- 29:08and event-driven sorts of things
- 29:09as much as we can.
- 29:10Yes.
- 29:10So you go to these partners,
- 29:11you're like,
- 29:11we would like to not call you
- 29:13100,000 times a day.
- 29:14Yes.
- 29:15Could we make it
- 29:15so we just call you
- 29:16100 or 50 or 1,000
- 29:18or whatever the right number is?
- 29:19Yeah.
- 29:19Yep,
- 29:19exactly.
- 29:20And some partners
- 29:21are really like into that
- 29:22and they have like some services
- 29:24and some endpoints set up
- 29:26to kind of create those
- 29:27webhooks and subscriptions
- 29:29and some don't.
- 29:29And in those cases,
- 29:31we do fall back
- 29:32kind of that polling architecture.
- 29:34But yeah,
- 29:35we really like it
- 29:36when partners do add those.
- 29:38I'm sure.
- 29:38So I feel like
- 29:39this asynchronous,
- 29:41cueing,
- 29:41message passing,
- 29:42message bust type of world
- 29:44must be pretty important
- 29:46for you guys.
- 29:46Like,
- 29:46you know,
- 29:47a new trigger has come in
- 29:49from like a new Gmail,
- 29:50but then you want to talk
- 29:51to Dropbox.
- 29:51Like,
- 29:51you don't necessarily
- 29:52want to block that up.
- 29:53You're like,
- 29:53okay,
- 29:53well,
- 29:53kick off a message.
- 29:54Like,
- 29:54you need to take this thing
- 29:55from Gmail
- 29:56and move it over to Dropbox
- 29:57when you have a moment.
- 29:58All right.
- 29:58And just sort of pass it
- 29:59down the flow.
- 30:00You want to talk a little bit
- 30:01about when that happens
- 30:02and like how that helps?
- 30:03Yeah.
- 30:03I mean,
- 30:03if you go into Zapier
- 30:04and you go into
- 30:05build a Zap,
- 30:06like a workflow,
- 30:07you'll see multiple steps.
- 30:08Maybe it's a,
- 30:09I'll use a starring,
- 30:10a message in Slack,
- 30:12and then you add it to,
- 30:13let's say,
- 30:13Todoist,
- 30:14right?
- 30:14Those are two distinct steps
- 30:16that we've broken apart
- 30:17on the back end.
- 30:17And on the back end,
- 30:19they're stored in kind of
- 30:20a self-relational,
- 30:21sort of a tree.
- 30:22You can kind of think of it
- 30:23as a tree.
- 30:24We try not to,
- 30:25there's no real ways
- 30:26to do cyclical,
- 30:28right?
- 30:29Sorts of like things
- 30:30because you get into,
- 30:31now you're into
- 30:32control flow stuff
- 30:33and that's,
- 30:33you know,
- 30:33a little bit crazy.
- 30:34For most users.
- 30:35Recursion with drag and drop,
- 30:36probably not.
- 30:37Yeah, yeah.
- 30:37It gets tricky.
- 30:38So we avoid that.
- 30:39So you can kind of think of this
- 30:41as like,
- 30:41that's a two-step Zap,
- 30:42Slack,
- 30:43Todoist,
- 30:44and we just pull that data
- 30:46out of Slack,
- 30:47we pass it on to the next one
- 30:49and we have a whole like
- 30:50templating system
- 30:51that kind of like
- 30:51passes in that data
- 30:53into the inputs
- 30:54of the next step
- 30:54in a particular way
- 30:55and users can define that
- 30:57however they want,
- 30:57which is kind of this
- 30:58cool customizability.
- 30:59So you can think of
- 31:00that task would say,
- 31:02you know,
- 31:02the message
- 31:03and maybe the time
- 31:04and who like
- 31:04actually made that
- 31:05message in Slack
- 31:06and you put that all
- 31:07in the description
- 31:09field for
- 31:10Todoist action,
- 31:11which would be maybe
- 31:12create a task or something
- 31:14or a to-do item.
- 31:15So that would trigger on
- 31:17and push down
- 31:18to a totally separate step
- 31:19that's going through
- 31:20RabbitMQ in that case.
- 31:22And then once that,
- 31:23you call into Todoist
- 31:25and you're complete with that,
- 31:26you get a 200,
- 31:27everything's hunky-dory.
- 31:28You look for any other
- 31:29children you have
- 31:30and in that case,
- 31:31you have nothing
- 31:31and you insert
- 31:33no child task
- 31:34and you're done.
- 31:34This app is finished running.
- 31:36That's pretty much
- 31:37kind of the workflow
- 31:37and you can see
- 31:38how that would expand
- 31:39and you could have
- 31:39dozens of steps
- 31:40and it walks down
- 31:41through a dozen steps
- 31:42until it gets to the last one.
- 31:43Nothing to do,
- 31:44so it's finished.
- 31:45Yeah, yeah.
- 31:45How do you deal with
- 31:46like the poison message
- 31:48equivalent, right?
- 31:49So like the third step
- 31:50is I want to call
- 31:51the Todoist API
- 31:52and I'm a big fan
- 31:53of Todoist by the way,
- 31:53but you know,
- 31:54maybe that day
- 31:55the Todoist API
- 31:56is down
- 31:57for like two hours
- 31:58and you're like,
- 31:59well,
- 31:59do you like
- 32:00throw it back in the queue?
- 32:02Do you put it
- 32:02in some other place
- 32:03like we're going to get to this
- 32:04maybe when things are better?
- 32:05Because I'm sure you're like,
- 32:07there's probably an API
- 32:08permanently
- 32:09at any moment in the day
- 32:11there's one of your APIs
- 32:12that is like
- 32:13not behaving that great,
- 32:14right?
- 32:14That you got to interact with.
- 32:15There's so many.
- 32:16Yeah, definitely.
- 32:16And there's a couple ways
- 32:18that we handle that.
- 32:19So we do a ton,
- 32:20since we do so many requests
- 32:21and we log all these requests
- 32:23and we track all these requests
- 32:24just for understanding
- 32:25the health of APIs.
- 32:27When we see one
- 32:28starting to fail,
- 32:29we see if it's failing
- 32:30for a lot of users
- 32:31or if it's just one user.
- 32:32If it's just one user,
- 32:33that's an error.
- 32:34Maybe, you know,
- 32:35something about the
- 32:37to-do item
- 32:38they were adding
- 32:39is actually invalid, right?
- 32:40Right.
- 32:40They deleted the project
- 32:41they're trying to add it to
- 32:42or whatever, right?
- 32:43Yeah, exactly.
- 32:44It could be anything like that
- 32:46and that's a user-specific thing.
- 32:47So that would pop up
- 32:48as an error.
- 32:49We'd email them,
- 32:50hey, heads up,
- 32:50something funny is going on
- 32:51with your Zap.
- 32:51Click here to kind of learn more.
- 32:53But if it's something
- 32:54that's happening
- 32:55across a high cardinality
- 32:56of users,
- 32:57a bunch of different users
- 32:58are hitting this,
- 32:58now we know,
- 32:59okay, something looks
- 33:01a little fishy here.
- 33:02And at that point,
- 33:03we'll start to hold things back
- 33:04and periodically
- 33:05like kind of let them through
- 33:07to see,
- 33:07do we have things going
- 33:09from, you know,
- 33:09maybe a 403,
- 33:10we're getting like
- 33:11nonstop 403s,
- 33:12someone shipped a bug
- 33:13and da-da-da.
- 33:14It's a mess.
- 33:15And we'll retry those
- 33:16until we start to see 200s
- 33:18and then we'll let
- 33:19the rest of them go.
- 33:20We'll try to trickle them out
- 33:21until we see them clear up.
- 33:23And that's a really
- 33:23common pattern for us.
- 33:25And we have,
- 33:26I mean,
- 33:26we've invested a lot
- 33:27in just trying to understand
- 33:29when APIs go down
- 33:30because I joke that we're like
- 33:31an edge case catching machine
- 33:33for the internet
- 33:33and anything that will go wrong,
- 33:35we will find out about it
- 33:37in some way.
- 33:37So we have to have all this
- 33:38like really intelligent monitoring
- 33:40to kind of stop that
- 33:41from happening,
- 33:42really keep it from impacting users
- 33:44or at least like
- 33:45give them the awareness
- 33:46that,
- 33:47hey,
- 33:47heads up,
- 33:47there's some internet stuff
- 33:49going on.
- 33:50you know,
- 33:50maybe AWS is having
- 33:51some sort of an outage
- 33:52and look at all these services
- 33:53that are 503.
- 33:54And we can kind of tie that together.
- 33:56Yeah.
- 33:56Cross your fingers
- 33:57and hope that a US East 1A
- 34:00doesn't go down.
- 34:01Right.
- 34:01Yeah.
- 34:02Like how much stuff runs
- 34:03on the Virginia data center
- 34:05of AWS.
- 34:05So what?
- 34:06Yeah.
- 34:06A lot of ours does.
- 34:07And we can often tell when,
- 34:09like if we see any funniness
- 34:10with AWS,
- 34:11we can always just go look
- 34:12at our like partner dash
- 34:13partner status health dashboard
- 34:16and see if anyone else
- 34:18is having issues.
- 34:19And if it's just us,
- 34:20it's like,
- 34:20okay,
- 34:20so we must be doing
- 34:21something funny.
- 34:22But if everybody's
- 34:23like having issues,
- 34:24we're like,
- 34:24okay,
- 34:24so Amazon is having an issue
- 34:26and they haven't quite updated
- 34:27their status page yet.
- 34:28Right.
- 34:28Exactly.
- 34:29You're like a little bit
- 34:30of a canary on that.
- 34:31Yeah, definitely.
- 34:32Interesting.
- 34:33This portion of Talk Python
- 34:37is brought to you by Ting.
- 34:38Let me tell you about Ting,
- 34:40a new mobile service
- 34:41available in the US
- 34:42that's targeted developers
- 34:43and other technically savvy folks.
- 34:45First of all,
- 34:46their average customer
- 34:47only pays $23 a month,
- 34:49but they're no discount provider.
- 34:50Their service runs over T-Mobile's
- 34:52and Sprint's fast nationwide network.
- 34:54If you don't use that much data
- 34:55because you're usually on Wi-Fi
- 34:57like many of you are,
- 34:58then Ting will save you
- 34:59a ton of cash.
- 35:00But don't worry,
- 35:01you can still use
- 35:01as much data as you like
- 35:02for just $10 per gig.
- 35:04One mobile feature
- 35:05I use all the time
- 35:06is tethering.
- 35:06And with Ting,
- 35:07you get unlimited tethering
- 35:09at the same data rate
- 35:10with your account.
- 35:11$6 a month for a phone line,
- 35:12$10 a gig,
- 35:13$3 a month for text
- 35:15if you usually chat
- 35:16over iMessage or WhatsApp.
- 35:17Think about it,
- 35:18no contracts
- 35:19and super clear
- 35:20and fair billing.
- 35:21Visit python.ting.com,
- 35:23that's python.ting.com,
- 35:26and check out their savings calculator.
- 35:27Enter your usage
- 35:29and see exactly what you'd pay.
- 35:30Use that link
- 35:31and you'll get a $25 credit
- 35:33to try them as well.
- 35:34That's python.ting.com
- 35:36or just click the link
- 35:36in the show notes.
- 35:39I guess it sounds like
- 35:40you host a lot of your stuff
- 35:41at AWS
- 35:42and you probably don't have
- 35:43like a big in-house data center.
- 35:45Like that made more sense
- 35:46if you have a big office
- 35:47and like part of it
- 35:48could be the data center.
- 35:49But if you have no office,
- 35:50like who's going to offer up
- 35:51their bedroom
- 35:52to get fiber
- 35:53and like cooling
- 35:54and like,
- 35:55all right,
- 35:55that just doesn't make sense.
- 35:56So are you running AWS?
- 35:57Where's your services hosted?
- 35:59We're predominantly AWS.
- 36:00We have a lot US East,
- 36:02of course,
- 36:02but we also have a couple things
- 36:03that fail over
- 36:04to multiple different regions.
- 36:05So yeah,
- 36:06I mean,
- 36:06we've just leaned into AWS
- 36:08since I think the early,
- 36:09I think maybe we did
- 36:10like Linode or Linode
- 36:11back in the early days
- 36:12for a hot minute
- 36:13and then that went over
- 36:14to AWS since then.
- 36:16We try to use
- 36:17some of the managed services
- 36:18where we can.
- 36:19So you're looking at the RDSs
- 36:21and the Elastic Caches
- 36:22and of course,
- 36:23like the ELBs and ALBs
- 36:25that exist out there,
- 36:26tons of S3.
- 36:27So we try to lean on
- 36:28some of the managed services
- 36:29where we can
- 36:30to just knock down
- 36:31the amount of like
- 36:32deep,
- 36:32intricate knowledge
- 36:33we have to have
- 36:34about like Postgres
- 36:35or MySQL
- 36:36or whatever, right?
- 36:37Yeah,
- 36:37let them do the operational
- 36:38bits of that.
- 36:39Interesting.
- 36:39So to me,
- 36:41it feels like the cloud,
- 36:42especially AWS
- 36:44and Azure
- 36:44and Google,
- 36:45those three clouds
- 36:46feel like that's
- 36:47the new lock-in,
- 36:48right?
- 36:49And I don't necessarily
- 36:50mean that in a bad way,
- 36:51right?
- 36:52Like when you
- 36:53take full advantage
- 36:54of a platform,
- 36:55you get all of the features
- 36:56of it, right?
- 36:57Like you could treat
- 36:58AWS as a fancy Linux
- 37:00hosting environment,
- 37:02right?
- 37:03Or you could use
- 37:04all the databases
- 37:05and all the files.
- 37:06all of the APIs
- 37:08and really get
- 37:08a lot more out of it,
- 37:09but then you're
- 37:09kind of permanently
- 37:10stuck to it.
- 37:11Like how do you guys
- 37:11think about like
- 37:12lock-in and cloud
- 37:13and all that?
- 37:14We kind of like
- 37:15tread the line
- 37:15a little bit in between.
- 37:16So all of our workloads
- 37:18that you think of
- 37:19or a large majority
- 37:20of our workloads
- 37:20that you think of
- 37:21just like running tasks
- 37:22and performing
- 37:24these actions
- 37:24for users,
- 37:25like they're running
- 37:26pretty bare bones
- 37:27like EC2 instances.
- 37:28We found that
- 37:29that generally has
- 37:30the best performance
- 37:32characteristics.
- 37:33we have the most
- 37:34kind of control over it.
- 37:35So in that case,
- 37:36like it's not really
- 37:36like locked in a whole lot.
- 37:38We're starting to lean
- 37:39into things that are
- 37:40like open source
- 37:41orchestration frameworks,
- 37:42the classic Kubernetes
- 37:43like transition
- 37:44that I think a lot
- 37:45of companies
- 37:45are like trying to do now.
- 37:46Again, we're talking
- 37:47about pretty open source
- 37:48standard sort of a thing,
- 37:50which we really like,
- 37:51but we're also not afraid
- 37:53that on an occasion
- 37:54using some of these
- 37:55specialized services,
- 37:56if it makes our lives
- 37:57a lot better,
- 37:58we'll use it.
- 37:59Like RDS is a great example
- 38:00of kind of them
- 38:01splitting the middle.
- 38:02like it's standard MySQL.
- 38:04So in the future,
- 38:05if you decide
- 38:06you want to like swap out,
- 38:07it's not the end of the world,
- 38:08but you don't have to worry
- 38:10about it in the meantime,
- 38:11right?
- 38:11You get all the goodies
- 38:12kind of a little bit,
- 38:13certainly not for free,
- 38:14but with less work
- 38:16on your side
- 38:17and I can focus
- 38:17on the product.
- 38:18So we've definitely
- 38:19leaned into that a lot.
- 38:20We haven't done a whole lot
- 38:21of like hyper specialized stuff.
- 38:23Maybe the only thing
- 38:24I think that we do a lot of
- 38:26is use a ton of AWS Lambda.
- 38:28In fact,
- 38:29like back in the early days,
- 38:31we built our own version
- 38:33of AWS Lambda.
- 38:35It was,
- 38:35I forget what we called it,
- 38:36but where we could
- 38:37more securely run
- 38:39a bunch of
- 38:40partner provided scripts
- 38:42and user provided scripts.
- 38:44That way they could do
- 38:45this kind of Python
- 38:46and his app thing,
- 38:47or they could like
- 38:48stand up their own
- 38:48partner apps.
- 38:49So this allows partners
- 38:51to kind of deploy code
- 38:52to us,
- 38:53to talk to APIs
- 38:54and integrate with
- 38:55any of our,
- 38:56you know,
- 38:561400 different apps
- 38:58that was running
- 38:59on our own little flavor.
- 39:00And then as soon as AWS
- 39:02came along,
- 39:02it was like,
- 39:02actually,
- 39:03we got this
- 39:04and it's way better.
- 39:05We immediately
- 39:06swapped it all over
- 39:07to that as fast as we could.
- 39:09So we do use things
- 39:10like that,
- 39:11but even that has been
- 39:12commoditized by,
- 39:13to a large degree.
- 39:14I mean,
- 39:14both Google
- 39:15and Microsoft's
- 39:17cloud offerings
- 39:17have,
- 39:18you know,
- 39:19the serverless
- 39:19sort of vibe
- 39:20going on too.
- 39:21So it's kind of interesting.
- 39:23we've tried to
- 39:24balance it
- 39:25on the whole
- 39:26to where we can
- 39:27focus more time
- 39:28on the product,
- 39:28but not go like
- 39:30too hardcore,
- 39:31use really specialized stuff.
- 39:32Right, right.
- 39:33It's that kind of stuff
- 39:35that lets you do
- 39:36what you're doing
- 39:36on a 200 person team
- 39:38instead of a 500
- 39:39or a thousand person team,
- 39:40right?
- 39:40There's not like a fleet
- 39:41of database engineers
- 39:42and other infrastructure people
- 39:45and yeah, right.
- 39:46It's like,
- 39:46they're really big benefits
- 39:47to this.
- 39:48And I kind of do
- 39:48the same thing.
- 39:49Like there's certain things
- 39:50where like,
- 39:50okay,
- 39:50that's really not
- 39:51available elsewhere
- 39:52or so much more work.
- 39:54I'm going to just,
- 39:54you know,
- 39:54plug into that API
- 39:55or this API,
- 39:56but yeah,
- 39:57definitely.
- 39:57Yeah.
- 39:58So you did talk
- 40:00about calling
- 40:00a few APIs
- 40:02and if you're doing
- 40:04that with Python,
- 40:05like the most common
- 40:06way to do that
- 40:07probably is the request,
- 40:08the module by Kenneth,
- 40:09right?
- 40:09Right.
- 40:09Are you guys using
- 40:10requests for all this?
- 40:11How's this work?
- 40:12Yeah.
- 40:12Yeah.
- 40:12We use requests,
- 40:13but we use a bunch
- 40:14of our own.
- 40:15I mean,
- 40:15the great thing about requests
- 40:16is how like extensible
- 40:17it is.
- 40:18Like you can swap in
- 40:18and out your own
- 40:20HTTP adapters.
- 40:21And then from there,
- 40:22you can swap out
- 40:23almost everything.
- 40:23So we have custom
- 40:25DNS resolvers.
- 40:26We have custom
- 40:27request adapters
- 40:29or HTTP adapters.
- 40:30We have custom like
- 40:31response and request types
- 40:33that all kind of encapsulate
- 40:34some of the behaviors
- 40:35and the logging
- 40:36and the monitoring
- 40:37that we want to have.
- 40:38And we have like
- 40:38different classes.
- 40:39Give us some concrete
- 40:40examples.
- 40:41Like,
- 40:41so you have a custom
- 40:42DNS thing.
- 40:42Is that like,
- 40:43so you can do better
- 40:44caching and not like,
- 40:45like make the calls
- 40:46faster?
- 40:46Like what's the idea there?
- 40:47The idea there is
- 40:48if you,
- 40:49for us,
- 40:50like we want to be able
- 40:51to have a lot of kind
- 40:53of control over what
- 40:54DNS services we have
- 40:56with which like adapter
- 40:58we're using.
- 40:59For example,
- 40:59we use requests for
- 41:00internal communications,
- 41:01which is like a different
- 41:02DNS sort of provider.
- 41:04And then when it comes
- 41:06to like user outbound
- 41:07user stuff,
- 41:08we would want to use
- 41:09either like the Google
- 41:108.8.8.8 or maybe
- 41:12like open DNS or even
- 41:14maybe some sort of a
- 41:15custom thing for a user.
- 41:16So in those cases,
- 41:17we want to be able
- 41:18to swap that out.
- 41:19And that's a fairly
- 41:20low level.
- 41:21I mean,
- 41:21it's kind of automagically
- 41:23done for you a lot of times.
- 41:24But if you want to
- 41:25control that,
- 41:25you have to kind of
- 41:26start digging into
- 41:27the HTTP adapters
- 41:28and intercept some of
- 41:29the connections that are
- 41:30opening and kind of
- 41:31like all this other stuff.
- 41:32And you have the
- 41:33opportunity to do that
- 41:34with requests.
- 41:35And, you know,
- 41:36a really specific example,
- 41:37we talked a lot about
- 41:38this monitoring bit.
- 41:40So we have
- 41:41different libraries
- 41:42that you can like,
- 41:43or sorry,
- 41:44different like interfaces
- 41:45that you can basically
- 41:46attach and say,
- 41:46hey, this is my
- 41:47Salesforce session.
- 41:48And it'll start to do
- 41:50all the logging
- 41:50for like this public API
- 41:53to the proper spots for you.
- 41:54So you don't have to like
- 41:55worry so much about like,
- 41:57oh, am I doing
- 41:57the right logging here?
- 41:58Am I doing,
- 41:59and it'll do all this stuff
- 42:00where it like kind of
- 42:01cleans up the secrets
- 42:02out of it.
- 42:03And it does the
- 42:03proper truncating.
- 42:04So we're not like
- 42:05dumping like 50 megs
- 42:06to the logging service.
- 42:07And it does all this stuff.
- 42:09The logs are full again.
- 42:09Yeah.
- 42:10That you,
- 42:10you kind of forget that.
- 42:12Oh yeah, yeah, yeah.
- 42:12You got to remember
- 42:13to do that through
- 42:14a very familiar interface
- 42:15that you can just pop on
- 42:16to, you know,
- 42:17Python requests dot,
- 42:19you know,
- 42:19read the docs dot,
- 42:20you know,
- 42:21org and read all about
- 42:22exactly what it's doing.
- 42:23It's so much easier
- 42:25to onboard new employees,
- 42:26new engineers on,
- 42:28and you can kind of extend
- 42:29and get kind of the best
- 42:30of the community,
- 42:32the best of tools
- 42:33that exist out there.
- 42:34So that's kind of way
- 42:35we've approached using
- 42:36like things like requests.
- 42:37And it's been really
- 42:38quite,
- 42:39quite useful for us
- 42:40and very successful.
- 42:41It's a great library.
- 42:42I'm wondering if,
- 42:43you know,
- 42:43there's some of these
- 42:44integrations that are,
- 42:45they basically have
- 42:46really nice prebuilt
- 42:48Python packages.
- 42:49And some of them
- 42:50are just like,
- 42:51here's an HTTP endpoint,
- 42:52knock yourself out
- 42:54with whatever tech,
- 42:55right?
- 42:55So,
- 42:56you know,
- 42:56like for example,
- 42:57GitHub,
- 42:57there's like GitHub packages
- 43:00that you can use in Python.
- 43:02Do you ever use those
- 43:03or you're like,
- 43:04it's better for us
- 43:05to just stay separate
- 43:06at HTTP access level?
- 43:08Yeah,
- 43:09we've gone to the HTTP level.
- 43:10Those libraries are awesome,
- 43:12especially for,
- 43:13if you want to just
- 43:14spin something up quick,
- 43:15but we've gotten so good
- 43:17at talking,
- 43:17like we talk to REST APIs.
- 43:19We're good at that.
- 43:20We've done it a lot,
- 43:20right?
- 43:21It's kind of our bread and butter.
- 43:22So we want to like talk to that
- 43:23and have kind of the control
- 43:25over that.
- 43:25So we used to do
- 43:27a little bit of that
- 43:28in the early days.
- 43:28And then we got to the point
- 43:29where observability
- 43:30became tricky.
- 43:31Some of them used
- 43:33things like requests
- 43:34behind the scenes.
- 43:35Some of them used
- 43:36HTTP lib too.
- 43:37Some of them just use
- 43:39like the built in,
- 43:40like everyone was doing
- 43:41different stuff.
- 43:41And then you had to like rewrite
- 43:42how your observability
- 43:44and your monitoring worked.
- 43:45So for us,
- 43:46it just became hard to do.
- 43:47So if you're talking
- 43:48to lots and lots of APIs
- 43:50like this,
- 43:50it really does help
- 43:51to kind of standardize
- 43:52your interface on that.
- 43:53Yeah,
- 43:54it seems like it must have been
- 43:55like almost a dependency,
- 43:56a dependency hell of a sort.
- 43:58Like if you're like,
- 43:59we're going to have
- 43:59500 different packages
- 44:00and those packages
- 44:02might go out of favor
- 44:03and then they're not
- 44:04quite up to date
- 44:05or there's like a breaking change.
- 44:06Like there's just so many layers,
- 44:07right?
- 44:07And you're just like,
- 44:08let's just do the same
- 44:09for everything.
- 44:09Yeah.
- 44:10that's really where we kind of landed.
- 44:11That was through some like learning,
- 44:13like especially in the early days,
- 44:14we did do a couple of those
- 44:16like kind of like those libraries
- 44:17that you can just,
- 44:18you know,
- 44:18pip install MailChimp,
- 44:19right?
- 44:20Yeah,
- 44:21exactly.
- 44:21We're good.
- 44:21We're good.
- 44:22Yeah.
- 44:22Do this.
- 44:23They did help.
- 44:23And a lot of them are also,
- 44:25funny enough,
- 44:26they're built on little odd behaviors
- 44:29that seem fine in isolation.
- 44:30But when you're running,
- 44:32you know,
- 44:32something like,
- 44:33like what we do,
- 44:34it doesn't really fit.
- 44:36For example,
- 44:36some of these libraries,
- 44:37you'll just import,
- 44:38like let's say MailChimp.
- 44:40and then,
- 44:40you know,
- 44:41on the global object,
- 44:42do MailChimp.API key
- 44:43and just set your API key there,
- 44:44which you never know
- 44:46which user's API key
- 44:48you're going to use.
- 44:48Yeah.
- 44:49When you're us,
- 44:49like that kind of like,
- 44:51you look at that
- 44:51and you're like,
- 44:52oh,
- 44:52that doesn't,
- 44:52that doesn't really work.
- 44:53Like I want to create
- 44:54like a MailChimp session,
- 44:55you know what I mean?
- 44:56So like.
- 44:56Anytime you're doing multi-tenancy,
- 44:58like those little gotchas
- 44:59are super scary.
- 45:01You're like,
- 45:02why did I just expose
- 45:03all of this other customer's data
- 45:04or something,
- 45:05right?
- 45:05Yep,
- 45:05exactly.
- 45:06So that's why having control
- 45:07over that layer
- 45:08and being really particular
- 45:10about like when you're opening
- 45:11and creating new sessions
- 45:12or you're reusing them or not,
- 45:14you want that control.
- 45:15So that's where we've
- 45:17kind of landed for that
- 45:17and it works pretty well.
- 45:18And you know,
- 45:19when I was talking about
- 45:20the AWS Lambda side,
- 45:21a lot of that's
- 45:22on the JavaScript side.
- 45:23So we do provide
- 45:24maybe not the perfect equivalent
- 45:26to Python requests
- 45:27on the platform,
- 45:29what we call our platform
- 45:30like CLI and SDK,
- 45:31like that has like
- 45:33a similarly inspired
- 45:35sort of a thing.
- 45:35So use our,
- 45:36in our case,
- 45:37it's like the Z object
- 45:38that has a request
- 45:39method on it.
- 45:40If you use that,
- 45:41then you get all
- 45:42the magical like logging
- 45:43and you get all
- 45:44the magical like introspection
- 45:45on the calls
- 45:46that you're doing.
- 45:47So it supports that.
- 45:48And if you break out of that,
- 45:50maybe you have your own
- 45:50little like JavaScript SDK
- 45:52for talking to your own service,
- 45:54you'll lose a little bit of that.
- 45:56And in that case,
- 45:57like it'll be harder
- 45:58for us to debug your services
- 45:59or help users out.
- 46:01So we do try to encourage folks
- 46:03to use that kind of standard thing,
- 46:05both inside Zapier,
- 46:06obviously,
- 46:06but also outside of Zapier.
- 46:08So when partners are like interacting,
- 46:09working with us,
- 46:10we also provide some.
- 46:11Yeah, interesting.
- 46:12So you talked earlier
- 46:13about this asynchronous message
- 46:15passing and queues
- 46:16and whatnot and celery.
- 46:17And that's really important
- 46:19for scalability.
- 46:20But another huge,
- 46:21huge scalability booster
- 46:23is some sort of
- 46:24asynchronous web handling,
- 46:27right?
- 46:27like G event or async and await,
- 46:29asyncio,
- 46:30all those kinds of things.
- 46:31Does that show up anywhere?
- 46:32We have experimented a bit with it.
- 46:34This is like one of those classic,
- 46:36like you try it out
- 46:38and then you run the numbers
- 46:39and see how it like,
- 46:40how it like,
- 46:41how much does it save you?
- 46:42How much headache does it add?
- 46:43How much more complex is it, right?
- 46:44Yeah, exactly.
- 46:45And we tried this maybe,
- 46:47I'm going to say two years ago
- 46:49with G event.
- 46:50It was right on the line,
- 46:52but probably at that time,
- 46:53it just wasn't a good enough
- 46:55move for us to like
- 46:56transition over to it.
- 46:57So we actually abandoned
- 46:59using G event
- 46:59and we're still using
- 47:00like pretty like
- 47:02straightforward,
- 47:02synchronous like Python,
- 47:04which is right now
- 47:05we're still transitioning
- 47:06to Python 3 at the moment,
- 47:08making good headway on it.
- 47:10But a lot of the,
- 47:12you know,
- 47:12asyncio you mentioned,
- 47:13like a lot of that
- 47:14adds tons of complexity
- 47:16to your code.
- 47:17G event does the same thing.
- 47:18There's all these like
- 47:19little extra things
- 47:19you got to remember.
- 47:20And Python,
- 47:21I think,
- 47:22hands you a gun
- 47:23that's very loaded
- 47:24when it comes to like
- 47:25async stuff.
- 47:26So it is a little bit tricky
- 47:27and that's not to say
- 47:29there's,
- 47:29I mean,
- 47:30there are other languages
- 47:30that do a really nice job
- 47:32with async,
- 47:33but even like something
- 47:34like JavaScript,
- 47:35I think still,
- 47:35you get a loaded gun,
- 47:37right?
- 47:37So it just adds
- 47:38this layer of complexity
- 47:39that I don't think
- 47:40was worth it for us
- 47:41at the time.
- 47:42I think there's some cool
- 47:43things we can probably do
- 47:44in 2019
- 47:44to get back to that
- 47:46and that's through
- 47:46moving more services
- 47:49behind like an IO boundary,
- 47:50just a regular HTTP boundary.
- 47:52so less thing is happening
- 47:54like in the process itself
- 47:55and is sitting across
- 47:57a very easily
- 47:58async boundary
- 47:59where you're talking
- 48:00over a socket
- 48:01or something.
- 48:01I think if we start
- 48:02to move more workloads
- 48:03over there
- 48:04and we have like
- 48:05kind of this clean interface,
- 48:06the Geovent equation
- 48:08will quickly tip
- 48:09in the other direction.
- 48:10so I'm excited
- 48:11to maybe look at that again
- 48:12in 2019.
- 48:13But yeah,
- 48:13we gave it a good,
- 48:14we gave it the old college try
- 48:16and it was a bit of a bear
- 48:17and it was about a wash
- 48:19and maybe it would have saved us,
- 48:21you know,
- 48:2110 or 15%
- 48:23on our infrastructure costs
- 48:24because you still had
- 48:25tons of locking
- 48:25and database connection stuff
- 48:27that you had to deal with
- 48:28that was still kind of
- 48:29put like some limits
- 48:31on what you could do.
- 48:31But I'm excited
- 48:32to play with it in 2019
- 48:34because I think
- 48:34we could probably
- 48:35drive our costs down
- 48:36by if we do it really well
- 48:38by 30 or 40%.
- 48:39And now that's starting
- 48:40to be appreciable amounts
- 48:42of money.
- 48:42Like before,
- 48:43that was not that much.
- 48:44So now I think
- 48:45it would probably
- 48:46be getting closer
- 48:47to worth it.
- 48:47It's that complexity trade-off
- 48:49and at some point
- 48:50when it's $50,000 a month,
- 48:52you're like,
- 48:52you know what?
- 48:53We're going to just
- 48:54bite the bullet
- 48:55and solve this complexity problem
- 48:56and, you know,
- 48:57give everyone a raise
- 48:58or whatever, right?
- 48:59Yeah.
- 49:00In those cases, yeah.
- 49:01High-world people.
- 49:01Yeah, yeah.
- 49:02And that's, I mean,
- 49:03you know,
- 49:03you mentioned that
- 49:04we also do like profit sharing.
- 49:06So there's like
- 49:06there's like a lot of incentive
- 49:08to do some of these
- 49:09like cool cost-saving things.
- 49:10But when you're measuring,
- 49:11you know,
- 49:12and this is getting away
- 49:13from maybe the Python side,
- 49:14but you're getting into
- 49:15like the business side
- 49:16of like,
- 49:16well, we could get a,
- 49:17we could trade a dollar
- 49:18of cost savings
- 49:19for $2 of revenue.
- 49:20Like, you know,
- 49:22do you go for the revenue?
- 49:23Because it opens up
- 49:24more opportunities
- 49:25later on,
- 49:26serving more customers.
- 49:27So you're always,
- 49:28I'd go for the revenue.
- 49:29Yeah, we're always like,
- 49:30I'd go for the revenue, man.
- 49:30Yeah, we're the same way.
- 49:32Like we've been,
- 49:32you know,
- 49:33really fortunate
- 49:33that the product itself
- 49:35really connects
- 49:36with all these users.
- 49:37So for us,
- 49:38like expanding that
- 49:39is really,
- 49:39really interesting.
- 49:40Right.
- 49:41Well, that's a whole,
- 49:41that's actually basically
- 49:42a good,
- 49:43it has analogies to like,
- 49:45why do you even choose
- 49:45Python at all, right?
- 49:47Like you could write this
- 49:48in C++,
- 49:48mostly with wrapping it
- 49:50in Java or something,
- 49:51and you could save money
- 49:53on infrastructure, right?
- 49:54But the rate
- 49:55at which you generate features
- 49:56and you make users delighted
- 49:58would be slower.
- 49:59And, you know,
- 50:00it's like people say
- 50:02Python is slow
- 50:03and you guys are doing
- 50:04incredible stuff.
- 50:05I don't actually think
- 50:06that's true.
- 50:06I think it's really,
- 50:07I think it's like,
- 50:08it's complicated.
- 50:08It's more like the right answer.
- 50:09But at the same time,
- 50:11it's,
- 50:11that does not say,
- 50:13talk about,
- 50:14well, Python is fast
- 50:16for features, right?
- 50:17Which is pretty awesome.
- 50:18That is pretty awesome.
- 50:19And you're looking at
- 50:20companies that are
- 50:22generally selling
- 50:23like a digital good.
- 50:24The margins are really good.
- 50:26So you have that headroom.
- 50:27Like you're not getting
- 50:27squeezed down to
- 50:29exactly some super tight thing
- 50:31where you're like,
- 50:31oh, we have to rewrite this
- 50:32and see,
- 50:33we have to like really
- 50:34go super low level
- 50:35and get that,
- 50:35eat that performance out.
- 50:37Right.
- 50:37You're not General Motors
- 50:38at 6% margin, right?
- 50:40Yeah.
- 50:41You're,
- 50:41you're doing,
- 50:42you got more room
- 50:42to play with, right?
- 50:43That equation may change.
- 50:44Let's say you're the,
- 50:46I'm going to say
- 50:47some of these like
- 50:48security cam software
- 50:49that exists out there, right?
- 50:50Maybe you do like
- 50:51this cool little hardware.
- 50:53Like we get,
- 50:53we sell the hardware
- 50:54and we give away like
- 50:55the free tier
- 50:56and you have like
- 50:57a more complex business model.
- 50:58And now you may care
- 51:00a lot about those margins
- 51:01and Python may not work for you.
- 51:03And in that case,
- 51:03yeah, it's too slow, right?
- 51:04Right, right, right.
- 51:05It's very context specific.
- 51:07For us,
- 51:07it's not too slow
- 51:08because the value
- 51:09we can create with it
- 51:10is, you know,
- 51:11orders of magnitude
- 51:12higher than the effort
- 51:13that goes into it.
- 51:14And that changes
- 51:16depending on the business
- 51:17and the margins
- 51:18and the context.
- 51:20for us,
- 51:20it's been awesome
- 51:21and it's been really,
- 51:22really fun.
- 51:22But that's not to say
- 51:23that there's maybe
- 51:24not cool opportunities
- 51:25to use.
- 51:26Maybe see,
- 51:27or maybe for us
- 51:28might be like more
- 51:29like Golang stuff.
- 51:30And if you choose
- 51:30to rewrite some
- 51:31kind of like core
- 51:32tier zero services
- 51:33in that
- 51:34to eke out a bit
- 51:35more performance,
- 51:36but still use Python
- 51:37for a lot of the
- 51:38product facing
- 51:39and things that you're
- 51:40going to be touching
- 51:40on a day-to-day basis
- 51:41and iterating for users,
- 51:43it's not one and a
- 51:44done kind of a thing
- 51:45either these days.
- 51:46Yeah, yeah.
- 51:47Well, one of the things
- 51:48that seems like
- 51:49there's probably a place
- 51:51somewhere for this to fit,
- 51:52but it might cross
- 51:53the complexity threshold
- 51:54on the other direction
- 51:55and make it not worthwhile.
- 51:57But, you know,
- 51:58like with Cython,
- 51:59you could take
- 52:00the little bits
- 52:01that are slow,
- 52:02write that in Cython
- 52:03and then use
- 52:04the no gill
- 52:04block in Cython
- 52:06and achieve a ton
- 52:08of concurrency
- 52:08and CPU speed
- 52:11with, you know,
- 52:12changing like
- 52:1220 lines of code
- 52:13potentially.
- 52:14Like, have you explored
- 52:15any of that?
- 52:15We have done
- 52:16a little bit of that,
- 52:16especially in some
- 52:17of our like
- 52:18ancillary services.
- 52:19A good example is
- 52:20we have a email parser
- 52:22which kind of lets you
- 52:23tag emails
- 52:24and then we'll try
- 52:24to extract pieces of that.
- 52:25And we've done
- 52:27quite a bit of stuff
- 52:28where we've tried
- 52:29to optimize that engine,
- 52:30but like it's just
- 52:31pure Python.
- 52:31It's just doing
- 52:32a bunch of like
- 52:33string slicing
- 52:34and comparison stuff
- 52:35and you can wrap
- 52:36that up in Cython.
- 52:37Cython was a thing
- 52:38that we actually used.
- 52:39We ended up
- 52:40rewriting a little bit
- 52:41of it,
- 52:42like some of the core
- 52:42pieces in C++
- 52:43to speed it up.
- 52:45But again,
- 52:46a very kind of niche,
- 52:47very specific use case
- 52:48which is really
- 52:49how you should be
- 52:50thinking about performance
- 52:51is you should make it work
- 52:53and then if you need to,
- 52:54right,
- 52:55make it fast
- 52:56and use the tools
- 52:57at your disposal
- 52:57and Cython was one of those.
- 52:59And we had pretty good
- 53:00success with it.
- 53:01So I do think
- 53:01it's a realistic option.
- 53:03Yeah, I've seen some really good
- 53:04outcomes from that as well
- 53:05and I think it's
- 53:05pretty interesting, right?
- 53:06It's like when you look
- 53:08at a huge code base,
- 53:09there's usually a couple
- 53:10of spots that if you could
- 53:12unlock the performance
- 53:13on just those little bits,
- 53:15actually that's where
- 53:16most of the problem is, right?
- 53:17That's where most
- 53:17of the latency is.
- 53:18Yep, 100%.
- 53:19And there's some
- 53:20really cool posts out there.
- 53:22I think Instagram
- 53:23engineering did some
- 53:24where they would use
- 53:25like the C profile
- 53:25module
- 53:27and then measure
- 53:28CPU ticks
- 53:28for like all the
- 53:29different stuff that they did
- 53:30so they could really get
- 53:31like instead of like
- 53:33wall clock time
- 53:34which can be like,
- 53:35oh, we blocked on this,
- 53:36we waited on this
- 53:37and you get a different
- 53:38like look at the code.
- 53:39You can do some
- 53:40really cool stuff
- 53:41with Python that
- 53:42I don't know if a lot
- 53:43of folks are like aware
- 53:44of like the just
- 53:45the level that you can go
- 53:47just like straight Python
- 53:48and get like really,
- 53:49really high performance stuff.
- 53:50There's a lot of cool
- 53:51tricks in headroom
- 53:52and the language itself.
- 53:53So I think we got
- 53:55a lot of headroom
- 53:56when it comes to like
- 53:56Python and Zapier.
- 53:58We're definitely doubling down
- 53:59on using Python
- 54:00in 2019 and beyond.
- 54:02And the conversion
- 54:03from legacy Python
- 54:04to modern Python
- 54:05is it's underway?
- 54:06Yeah, it's underway.
- 54:07Yeah, we've got
- 54:08we're running all of our
- 54:09like test,
- 54:10all of our tests run
- 54:11in both Python 2
- 54:12and Python 3
- 54:12and have been
- 54:13for a little while.
- 54:14So really what we got
- 54:15to figure out now
- 54:16is just make
- 54:17make that transition
- 54:18in like production
- 54:20and make sure
- 54:20that we don't break
- 54:21any like caches
- 54:22or behaviors
- 54:23or things like that.
- 54:24So figure out a good way
- 54:25to try doing some
- 54:26canaries
- 54:27and all this stuff.
- 54:27That's like kind of
- 54:28the next step for us.
- 54:29Like we're right there.
- 54:30That's exciting.
- 54:30You're on the cusp of it.
- 54:32Yeah.
- 54:32Yep.
- 54:32Yep.
- 54:33I suspect
- 54:33in the next couple months
- 54:35we'll probably be running
- 54:35Python 3 in production.
- 54:37So pretty exciting.
- 54:38Sweet.
- 54:38Yeah.
- 54:39the one place I've heard
- 54:40really scary stuff in
- 54:41is around caching
- 54:42and pickles, right?
- 54:44People take objects
- 54:45and they just pickle them up
- 54:46and cache them
- 54:47rather than doing
- 54:48like a JSON 2
- 54:49from sort of
- 54:50intermediate thing
- 54:50and then boom
- 54:51like, you know,
- 54:52a different CPython
- 54:53grabs it.
- 54:53It looks different.
- 54:54Yep.
- 54:54That can cause
- 54:55a lot of trouble.
- 54:56All sorts of badness
- 54:57breaks out.
- 54:57We try to avoid pickle
- 54:58as much as we can
- 54:59but for some stuff
- 55:00like the convenience
- 55:01is just so nice
- 55:02like just throw anything in,
- 55:04right?
- 55:04So we try to avoid
- 55:06and we try to do
- 55:07JSON serialization
- 55:08as much as possible
- 55:09but yeah,
- 55:10that is a tricky thing
- 55:11around deploying
- 55:12between two and three
- 55:15and testing them
- 55:16and it just makes it
- 55:17really operationally complex.
- 55:18So that's something
- 55:20that, you know,
- 55:20I think is sometimes
- 55:21overlooked whenever
- 55:22people think about
- 55:22transitioning their code base
- 55:24to Python.
- 55:24Right, right.
- 55:25You got to be careful there.
- 55:26That's cool.
- 55:27All right.
- 55:27Well, this has been
- 55:29such a super interesting
- 55:30look inside.
- 55:31Let's have to hear
- 55:31what you guys are doing
- 55:32and they're really
- 55:33neat use case.
- 55:35There's a couple
- 55:35other questions
- 55:36I'm going to ask you
- 55:36before I let you go though.
- 55:37Sure.
- 55:37Even though we're running
- 55:38a little low on time.
- 55:39First of all,
- 55:39like what's it like
- 55:40being the CTO of,
- 55:41you know,
- 55:41a big tech company
- 55:43like this?
- 55:43There must be a lot
- 55:44of plate spinning,
- 55:45a lot of things to do
- 55:46but I bet it's fun.
- 55:47Yeah, it's really fun
- 55:48and you know,
- 55:49the role has kind of changed
- 55:50and I feel like one thing,
- 55:52the journey that I went on
- 55:53from early CTO
- 55:55all the way to now
- 55:56which was doing,
- 55:57wearing a lot of the hats
- 55:58is probably a really common one
- 56:00but it's different
- 56:00for a lot of folks.
- 56:02Like I talk to a lot of CTOs
- 56:03to try to figure out
- 56:04like what is a CTO
- 56:05in like a tech company?
- 56:06I talked to maybe
- 56:07a dozen different people
- 56:08and I got a dozen
- 56:09different answers
- 56:10so it's really like
- 56:11a very personal journey
- 56:12and like what does
- 56:13a company need
- 56:14sort of a thing
- 56:14so for me,
- 56:15it's been definitely
- 56:16a part of like discovery
- 56:17as well
- 56:18but also for me,
- 56:20it always comes back
- 56:21to what does a product do?
- 56:22Like I really,
- 56:22like the product resonates
- 56:24with me like as an engineer
- 56:25like giving people
- 56:27the power of engineers
- 56:28to do all this stuff
- 56:29even though they don't know
- 56:30they're kind of like
- 56:30building automations
- 56:31and the same things
- 56:32that we would do,
- 56:33you're still giving them
- 56:34that power
- 56:34and that's really exciting
- 56:35to me
- 56:35so I'm excited
- 56:36to spend a lot more time
- 56:38in that
- 56:38and then diving
- 56:39into the architecture
- 56:40and the scaling issues
- 56:41that a service like Zapier has
- 56:43is really,
- 56:44really exciting for me.
- 56:45So yeah,
- 56:45that's a fun part of software
- 56:46to think about, right?
- 56:47Yeah,
- 56:48you know,
- 56:48so being a CTO
- 56:49at a company
- 56:49like this
- 56:50is really exciting.
- 56:52I'm also just like
- 56:53really excited
- 56:54to be hiring like engineers
- 56:55that are like better than me
- 56:56when it comes to all this
- 56:57like deep,
- 56:58interesting stuff
- 56:59so we have like,
- 56:59we have some core
- 57:00like Django contributors
- 57:01and they're like amazing
- 57:03to like dive into
- 57:04and like learn about
- 57:05some of this stuff
- 57:06that we use every day
- 57:07and that's always
- 57:08really exciting
- 57:09so it's really humbling
- 57:10at the same time
- 57:11so it's just a really fun,
- 57:12I mean it's super fun,
- 57:13it's super fulfilling,
- 57:14we have a lot
- 57:15that we want to do
- 57:16so I feel like
- 57:18I gotta get back
- 57:19to work too.
- 57:20I'm sure.
- 57:20Alright,
- 57:21another one is
- 57:22just a couple real quick,
- 57:24what are your favorite
- 57:25automations?
- 57:25Some of my favorite ones
- 57:27they have a little
- 57:27Python sprinkled into them
- 57:29so those are some
- 57:30of my favorites
- 57:31especially whenever
- 57:32I want to do something
- 57:33that's kind of
- 57:33a little bit funky
- 57:34and weird
- 57:34and I don't want to
- 57:35deploy any extra code
- 57:37like I'll often
- 57:38like write like
- 57:38a Python step.
- 57:39A really specific one
- 57:40that I've done
- 57:41because I've been running
- 57:42a lot of like
- 57:43engineering
- 57:43like the meetings
- 57:44the all hand
- 57:45kinds of things
- 57:46and we try to like
- 57:47prep
- 57:47and have notes
- 57:48and kind of
- 57:49have a lot
- 57:49of the stuff ready
- 57:50is I have a schedule
- 57:51set up
- 57:52and I have a zap
- 57:53that triggers off
- 57:54of that event
- 57:54which is kind of
- 57:55a recurring event
- 57:56and it goes out
- 57:57and it grabs a template
- 57:57from Google Docs
- 57:59it copies a bunch
- 58:00of stuff into that
- 58:01into a new Google Doc
- 58:02includes a bunch
- 58:03of charts
- 58:03and a bunch
- 58:04of little things
- 58:04that we should
- 58:05be talking about
- 58:06and then goes
- 58:07into the Slack room
- 58:08and posts it
- 58:08and reminds people
- 58:09and I have it
- 58:10set it up
- 58:10with the delay
- 58:11so it even
- 58:11reminds people
- 58:12periodically
- 58:13like hey
- 58:14two days to go
- 58:15make sure you
- 58:15add your notes
- 58:16to this
- 58:16and like meeting
- 58:17is coming up
- 58:18in an hour
- 58:18so it's really
- 58:19really helpful
- 58:20because a lot
- 58:21of times
- 58:21many people
- 58:22are crazy busy
- 58:23obviously
- 58:23so I found
- 58:24myself going
- 58:25around reminding
- 58:25folks to get
- 58:26that stuff ready
- 58:27and this kind
- 58:28of just automates
- 58:28that away
- 58:29and does a lot
- 58:30of really cool
- 58:30stuff there
- 58:31so I have so
- 58:32many like zaps
- 58:32running
- 58:33we have so many
- 58:33bots running
- 58:34around in Zapier
- 58:35too
- 58:35like sometimes
- 58:36they'll bump
- 58:37into each other
- 58:38and do crazy
- 58:38things
- 58:39and it's really
- 58:40quite fun
- 58:41it's pretty exciting
- 58:42that's super
- 58:43awesome
- 58:43and it has
- 58:44this nice
- 58:45aspect
- 58:45where the
- 58:46thing doing
- 58:47the reminding
- 58:47is not a
- 58:48person
- 58:49so that person
- 58:49doesn't get
- 58:50a little bit
- 58:50like ah that
- 58:51person's a
- 58:51nagger
- 58:51right
- 58:52you don't have
- 58:52that aspect
- 58:53it's like well
- 58:53the bot did it
- 58:54like it's you know
- 58:54it does it every
- 58:55Thursday for our
- 58:56Friday meeting
- 58:57or whatever right
- 58:57yep and it's
- 58:58super handy
- 58:58and you can go
- 58:59in and you can
- 59:00adjust it
- 59:00so if someone's
- 59:01like oh that's
- 59:02the way this is
- 59:03phrased or you
- 59:03didn't include
- 59:04this link
- 59:05or it'd be great
- 59:05if you added
- 59:06this data to it
- 59:07like it's
- 59:08in a team
- 59:08account like
- 59:09anyone can hop
- 59:10in and like
- 59:10play with it
- 59:11and change it
- 59:12and swap it
- 59:12out and tweak
- 59:13it and we
- 59:14always include
- 59:15like the link
- 59:15to like edit
- 59:16this app
- 59:17in the messages
- 59:17that we send
- 59:18around so
- 59:19anyone can go
- 59:19in and make
- 59:20it even better
- 59:20and add
- 59:21functionality to
- 59:22it which is
- 59:22a really kind
- 59:23of collaborative
- 59:24way to build
- 59:24some of these
- 59:25workflows and
- 59:26augment these
- 59:26bots that are
- 59:27doing stuff
- 59:28because like
- 59:28you'll see it
- 59:29and you'll be
- 59:30like oh it'd be
- 59:30great if it
- 59:30actually included
- 59:31this link or
- 59:32it said this
- 59:32thing and you
- 59:33just hop in
- 59:33and change it
- 59:34it's really
- 59:34really fulfilling
- 59:35to be able to
- 59:36just like see
- 59:36something change
- 59:37something and then
- 59:38next time it
- 59:38goes it's
- 59:39there's no
- 59:40deployment going
- 59:41on it's just
- 59:41doing it it's
- 59:42really cool
- 59:43yeah that's
- 59:43super how cool
- 59:44the singularity
- 59:45is near okay
- 59:46so the last two
- 59:47questions that are
- 59:48standard not
- 59:49focused just on
- 59:50you as if you're
- 59:51going to write
- 59:51some python code
- 59:52what editor do
- 59:52you use
- 59:53i use visual
- 59:54studio code the
- 59:55new one i think
- 59:56that microsoft's
- 59:57new code editor
- 59:58like some of their
- 59:59philosophies around
- 1:00:00focusing on
- 1:00:01developers has been
- 1:00:02really great
- 1:00:02yielded some
- 1:00:03awesome tools so
- 1:00:04i use that
- 1:00:04and i quite like
- 1:00:05it that's cool
- 1:00:06yeah it's definitely
- 1:00:07got a lot of
- 1:00:07momentum and i think
- 1:00:08they're doing
- 1:00:08nice stuff there
- 1:00:09and then you
- 1:00:10definitely work with
- 1:00:11a ton of
- 1:00:12pypi packages
- 1:00:13maybe one that's
- 1:00:14notable not necessarily
- 1:00:15the most popular but
- 1:00:16people you're like oh
- 1:00:17you should know about
- 1:00:18this have you heard
- 1:00:19of yeah whatever
- 1:00:19i would probably say
- 1:00:20and maybe everyone
- 1:00:21knows about this but
- 1:00:22it was kind of new
- 1:00:23for us for a couple
- 1:00:24months ago the
- 1:00:25python formatter
- 1:00:26black yes really
- 1:00:28really love that so
- 1:00:29we've completely like
- 1:00:30blackified our entire
- 1:00:31code base and it's
- 1:00:32so nice to just like
- 1:00:33not think about that
- 1:00:34because like we
- 1:00:35would always be like oh
- 1:00:36do we want to do
- 1:00:36commas here do we
- 1:00:37want to split these
- 1:00:38lines like it was
- 1:00:39just a thing we
- 1:00:40were i mean we we
- 1:00:41worried about and we
- 1:00:42cared about and you
- 1:00:43know we want our code
- 1:00:44to look great and like
- 1:00:45be easy to read and
- 1:00:47black does an amazing
- 1:00:48job at that so we do
- 1:00:49that and we really
- 1:00:50really like it so if
- 1:00:51folks out there aren't
- 1:00:52using black you should
- 1:00:53check it out it's
- 1:00:54really cool super
- 1:00:55useful so that would
- 1:00:56be mine
- 1:00:56that's great you set
- 1:00:57up as like a pre
- 1:00:58commit hook yeah we
- 1:00:59have it as a pre
- 1:00:59commit hook we have
- 1:01:00all of our ci stuff
- 1:01:01running that checks it
- 1:01:02all and like yeah so
- 1:01:04it's it's a big part of
- 1:01:05our workflow now
- 1:01:06yeah solid that's
- 1:01:06cool all right well
- 1:01:08final call to action
- 1:01:09people are excited about
- 1:01:10this distributed work
- 1:01:12zapier all the tech we
- 1:01:13talked about what do
- 1:01:14you got for them
- 1:01:15check us out if you're
- 1:01:16interested in building
- 1:01:17any of these workflows or
- 1:01:19you have colleagues that
- 1:01:20could benefit from any
- 1:01:21sort of like little
- 1:01:21workflows like this let
- 1:01:23them know i mean we
- 1:01:24can kind of do a little
- 1:01:25bit of anything if you
- 1:01:26use any sass apps we're
- 1:01:27probably got something
- 1:01:28useful for you and
- 1:01:29also if you're looking
- 1:01:30for a new gig and
- 1:01:32you're interested in
- 1:01:33remote work check us
- 1:01:34out not only do we have
- 1:01:35a ton of information
- 1:01:36on how we work like
- 1:01:37we just shared it and
- 1:01:38kind of open source a
- 1:01:39lot of our processes but
- 1:01:41we'd love to maybe work
- 1:01:42with you so we have
- 1:01:43lots of jobs coming up
- 1:01:44in 2019 lots of roles
- 1:01:46so definitely keep your
- 1:01:47eyes out there and you
- 1:01:47can even set up a zap
- 1:01:48that will alert you of
- 1:01:50new jobs that pop up on
- 1:01:52the site and then they
- 1:01:53will send you an email
- 1:01:54or maybe a slack
- 1:01:55message or something
- 1:01:55like that so check that
- 1:01:56out that's pretty meta
- 1:01:57and awesome awesome let
- 1:02:01me ask i guess one more
- 1:02:02follow-up so you talked
- 1:02:03about if people want to
- 1:02:04set up these automations
- 1:02:05that makes a lot of
- 1:02:05sense what if they're
- 1:02:07these folks listening are
- 1:02:08developers at a company
- 1:02:09and they're like why
- 1:02:10doesn't zapier integrate
- 1:02:11with my company and my
- 1:02:12apis like what do they
- 1:02:13do then yeah so we do
- 1:02:14have an open platform so
- 1:02:16anyone can kind of hop on
- 1:02:17and i mean we actually
- 1:02:18have a lot more like
- 1:02:19private apis that people
- 1:02:20have added for their own
- 1:02:22companies it's really
- 1:02:23really straightforward we
- 1:02:24have lots of examples
- 1:02:25you can either build them
- 1:02:26in the browser and just
- 1:02:29kind of post your like
- 1:02:30rest urls and things
- 1:02:31like that and we'll do all
- 1:02:32the magic there or you
- 1:02:34can write a javascript
- 1:02:35node.js package which
- 1:02:37fits just kind of a light
- 1:02:38spec that we have we have
- 1:02:39tons of examples and you
- 1:02:41can expose different
- 1:02:41endpoints and write little
- 1:02:43custom functionality so
- 1:02:44you can say here's this
- 1:02:45json list that shows all
- 1:02:47the most recent leads for
- 1:02:48our company that can turn
- 1:02:50into a trigger and here's
- 1:02:51a post endpoint to create
- 1:02:53a lead and you can define
- 1:02:54what fields go into that
- 1:02:55and then away you go and
- 1:02:56it works with you know
- 1:02:571400 different apps out
- 1:02:59of the box which is
- 1:03:00really powerful that's
- 1:03:01pretty cool all right
- 1:03:02well this has been a lot
- 1:03:03of fun to talk to you
- 1:03:04about all these ideas so
- 1:03:05much cool stuff you're all
- 1:03:06doing thanks for being on
- 1:03:07the show of course thanks
- 1:03:08michael see ya yeah bye
- 1:03:09this has been another
- 1:03:11episode of talk python to
- 1:03:12me our guest on this
- 1:03:14episode was brian helmig and
- 1:03:15it's been brought to you by
- 1:03:17linode and ting linode is
- 1:03:19your go-to hosting for
- 1:03:21whatever you're building
- 1:03:21with python get four
- 1:03:23months free at talk
- 1:03:24python.fm slash linode
- 1:03:25that's l-i-n-o-d-e ting is
- 1:03:28the fast mobile network
- 1:03:30custom built for technical
- 1:03:31folks use their savings
- 1:03:33calculator to see exactly
- 1:03:34what you'd pay visit
- 1:03:35python.ting.com to get a
- 1:03:38twenty five dollar credit
- 1:03:39and get started without a
- 1:03:40contract want to level up
- 1:03:42your python if you're just
- 1:03:43getting started try my
- 1:03:45python jumpstart by
- 1:03:46building 10 apps course
- 1:03:47or if you're looking for
- 1:03:49something more advanced
- 1:03:50check out our new async
- 1:03:51course that digs into all
- 1:03:53the different types of
- 1:03:54async programming you can do
- 1:03:55in python and of course
- 1:03:56if you're interested in more
- 1:03:58than one of these be sure
- 1:03:59to check out our
- 1:04:00everything bundle it's like
- 1:04:01a subscription that never
- 1:04:02expires be sure to
- 1:04:03subscribe to the show open
- 1:04:05your favorite podcatcher and
- 1:04:06search for python we
- 1:04:07should be right at the top
- 1:04:08you can also find the
- 1:04:09itunes feed at /itunes
- 1:04:11the google play feed at
- 1:04:12/play and the direct
- 1:04:14rss feed at /rss on
- 1:04:16talkpython.fm this is your
- 1:04:18host michael kennedy thanks so
- 1:04:20much for listening i really
- 1:04:21appreciate it now get out
- 1:04:22there and write some python
- 1:04:23code
- 1:04:24you're welcome you're welcome
- 1:04:43Thank you.