One thing that the Orbit application does is it generates a score for every community member that's called the love. Back in May, we decided to introduce materialized views inside of Postgres in order to basically do these calculations. So we do them in SQL and then we would store the result in a materialized view. I thought it would be great. It's very simple. Two or three months later, it turns out that the number one consumer of I.O. on our database is the generation of these materialized views. It worked quite well when we were ingesting one-tenth or one-hundredth of the activity, but it is certainly an approach that has not scaled. My name is Josh Dzielak. I'm the co-founder and CTO at Orbit.
This is Code Story, the podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry and build and lead a team that has your back. I'm your host, Noah Labhart, and today how Josh Dzielak took the Orbit model and created mission control for your community. All this and more on Code Story. Josh Dzielak is originally from the U.S., but lives in Paris now. And because of this, he likes to take advantage and walk around to take in the sights. He lives close to an area with a park featuring gardens and lots of trees, and he goes there to clear his head, have a little bit of nature, and also to have walking meetings. Josh likes to stay active through running, cycling, and the aforementioned walking meetings. He's married with a 13-month-old daughter. He met his wife not in Paris or the US but in Thailand. He jokes that his young daughter is growing up faster than his company. He avidly confirms that the food in Paris is amazing. The simple things are fantastic and he frequents the patisserie for his favorite almond croissant. His family loves to host people when they come to town, so they can ensure they try some of the exquisite foods and strong flavors. At a prior company, as a developer advocate, Josh started using the Orbit model. He compared the model to being like the funnel for sales, except the Orbit model applies to community. After he left the company, he joined his now co-founder using the Orbit model in a consulting context. Then, the aha moment occurred. What if we built a product to facilitate this? This is the creation story of Orbit.
Orbit is mission control for your community. Our users and customers are community builders. They're people who are building a community out there on the internet, or sometimes off the internet. But they use tools like Slack, Discord, GitHub, Twitter. Orbit plugs into all those different systems to try to give those community builders a universal sense of their community across all of the different sources. So instead of having a community that feels fragmented because you have some activity on Discourse, some on GitHub, some on Twitter, Orbit tries to bring that together and give our users a complete picture of who their community members are. Is their community growing or shrinking? What kind of actions or steps could they be using? Could they be trying to grow their community? of open source projects and companies who are making tools for developers. Those are two of our earliest customers, earliest types of customers and our favorite people to work with. And the way that I got into it is I was a developer advocate working at Algolia for several years. And that's actually where I started to use this thing called the Orbit model, which we have in addition to Orbit the product, we also have this thing called the Orbit model, which is a really simple thing. It's a bit like the funnel where the funnel is a model for marketing and sales but the orbit is more of a model for community rather than having a cone shaped thing where everybody's you know flowing to the bottom and if someone falls out of the funnel you don't care about them. In the orbit model you care about all of your community members they're just some of them are at the center and some of them are closer to the edges. And my co-founder Patrick and I after I left Algolia I teamed up with with him. And we started to use the Orbit model with a bunch of different companies, more in just a consulting context to help them understand and visualize their community. And then we had this aha moment, like, oh, what if we built a product that helped people take the suggestions, the recommendations, the visual canvas that the Orbit model provides, and turn that into an actual tool where people could see their community inside of that tool. So that was really the process of being a developer advocate and realizing that there weren't tools out there for me or for my team. There weren't things that really helped me get a universal view of the community or know exactly what to do. And becoming a consultant to help people do that and then ultimately deciding to turn that into a product and build something that developer advocates and community managers everywhere can use to overcome a lot of the challenges of community building.
Let's dive into the MVP. So tell me about that first product you built. How long did it take you to build and what sort of tools did you use to bring it to life?
So the very first MVP, we built a Rails backend with a Next.js frontend. We had that for about three months. We decided to do that because we wanted to try out Next.js. We'd heard a lot of great things. we also knew that we were going to be building something that had a pretty serious data model to it. And I've used Rails off and on since 2008, 2009, so for about 10 years. Very familiar with the power that Rails gives developers at the model level, complex domains, lots of tables. Rails and ActiveRecord are just so good at abstracting all of that. So we knew we wanted to use Rails at the application and backend layer. We tried Next.js on the front end. really good. But what we found as we were iterating with that stack, it was a little bit slower than we wanted to iterate because we still had to change backend APIs and then have those reflected in Next.js. And we were changing the product so fast early on based on what we were learning for customers that we eventually went back to just a Rails monolith. So the second MVP, what came after that, we just took the backend code that we had and said, we're going to go full Rails. we moved the templating and the front end stuff inside of Rails and that's kind of how the app is today. So I would kind of describe it as we over-architected a little bit in the beginning and we actually returned to something a little bit simpler once we had more confidence we were building the right thing and so that we could continue or so we were able to iterate even faster than we had been. That's
interesting. So you over-architected first and then simplified. I want to dig into that a little bit here in a second, But in that first MVP, and maybe the second too, if you want to double up your answer, you got to make certain decisions and trade-offs about what you're going to build in the short term, how you're going to approach it, what sort of technical debt you're going to take on. So tell me about some of those decisions and trade-offs you had to make in a little more detail and how you coped with them.
One of the decisions we had to make was how much to, you know, prioritize the front end as we were trying to learn about what customers really wanted. So kind of what fidelity did we want to build with in terms of the front end? Would we start off by having something really beautiful, really fast, feeling very polished, taking a little bit longer to build, but ultimately having maybe more wow effect on the visual side with these users? Or would we keep it a little bit more bare bones, pages that were a little bit less interactive? And we went back and forth on that a bit because we wanted our early users to really know that we were committed to giving them something really nice and really great to work with. But then we also spent more than a few cycles trying to iterate and just kind of tweak the design and we learned that that wasn't really giving us the information generally about what customers really wanted at that level. They're like, oh it's you know it's beautiful this is really looking nicer but we're such at we're still such an early phase where we need more answers like yes I would use this feature, No, I wouldn't or I'll only use this feature if it does these other four things. You know, we said, wow, we should probably learn to iterate faster on the use cases and not try to put something so polished in front of our users. They don't mind if it looks a little bit rough. You know, there were a couple of trade-offs architecturally that went into that. Like should we use Tailwind CSS because it's really easy or should we build our own design system and then try to work from there? Ultimately, a lot of our choices just ended up gravitating toward what's the easiest thing and what lets us iterate the fastest.
I liked it that you mentioned Tailwind. So I had Adam on the podcast a while back and Adam weighs in to talk about Tailwind and building that. And that's a fantastic tool.
Yeah, we've been really happy with it and it's allowed us to go fast and create components after the fact once we have them. What we found is Tailwind scales quite well In the beginning, it feels like, wow, I'm using a lot of classes. But then over time, you just move those into partials. Rails and Tailwind actually work quite well together, and you can do a lot there. So as you learn what is going to be a more consistent part of your UI, you can just put it into a partial with some Tailwind and use it anywhere you want. And that's really most of the architecture for our front end. It's that simple. simple.
From that point, let's say from the second MVP, right, where you simplified, how did you progress the product from there? And how did you mature it? And I think, you know, in context of that question, I'm looking for how you built your roadmap and decided, okay, this is the next most important thing to build an orbit.
Yeah, I'd say a lot of it was based on feedback that we were getting from two sources, a small partners and then a wider community that we had started to create. I think it was on a Slack group at that time. So we had maybe five to 10 design partners. And then we had about 100 people who we knew, friends, former clients, people in the industry, developer advocates, some of our angel investors who themselves were developer tool founders. So we had a small group that we we could go really deep with. And then we had a bigger group where we could take some concepts to the more general and see, hey, you know, let's let question here. What would you want to see on a profile page for your community member? Well, we can learn something from design partners who have a very specific sense of what that could look like. We can also just throw it out to the community for ideas. And they say, Oh, I want to want I want a button to watch what this person is doing, or I I want an ability to send them swag, stickers, a t-shirt with one click. So they're all kind of novel ideas coming from the community. And we gathered a lot of feedback there. But I think we also needed to have design partners who had very clear goals for our community program does this. These are the four or five things we're trying to accomplish this year. This is the kind of tool that we think could help us accomplish that. And we would do two to three hours a week with all of the design partners as a part of that process. One of them, the GraphQL people, give them a shout out because they were super helpful from early on in really helping us understand how Orbit could help the Apollo community and the Apollo DevRel, Dev Experience team, provide their members a better experience. So it's kind of the general answer is going broad and deep at the same time to kind of make sure you're not getting too boxed into what design partners say, but you're also not just only taking suggestions from people that are just throwing them out there at a high level. oh, wouldn't it be nice if it did that?
It's like you're reading from the list of people I've interviewed. So I had Matt DeBergalis from Apollo on the podcast last season. Super cool tool and fantastic community. I'm glad you guys are hooked up and helping each other.
Yeah, we love working with the team over there. And they've been, you know, even early on, they had a lot of confidence in us that we were going to be able to build something useful for them and for the other developer-focused companies in the space. And really our roots were very much in the developer tools and open source. Now Orbit serves different kind of communities that are not just developer-focused. But in terms of really making sure what we had was going to work for developer tools and open source, they were really helpful.
Well, let's switch to team. So how did you go about building your team? And what did you look for in those people to indicate, okay, they're the winning horses to join you?
When we went to build the team, we thought a lot about culture and values, not documenting them ad nauseum or writing them down or trying to have an exact perspective. But just my co-founder and I started to think about what are the characteristics of the people that we think would be interested in joining this mission and we think we'd have a fun and good working relationship together. to a few things that are still some values we have today. Action-oriented is one, especially as we were just starting out, two people looking to become three and then three looking to become five and then up to 10. You know, we really needed and wanted people who wanted to jump in, roll up their sleeves, get dirty, not too opinionated about a specific task or a specific thing that they wanted to work on, but just kind of generally willing to do what it takes to get the company off the ground. that small. Things are changing all the time, trying to find product market fit. And so we really looked for people who were confident enough in their engineering skills to be able to build something fast, to understand the difference between, you know, I'm building this for the long part, this is going to become a part of our architecture, or this is an experiment, so we're going to build it in a different way that takes a lot less time. I think that kind of sense and sensibility that engineers have, if they've had the opportunity to work on startups or some of products before at the early stages is very, very valuable because you don't want to bring someone in who's going to treat everything as architecture from the beginning and then spend a lot of time in it and be very upset when it gets thrown away. So we look for people who are open-minded about that and had some experience. I'd also say the passion for the community space and for the product that we were building was also just such a big thing. There were some people from our own community that ended up joining the team early on. And they did just because they love the idea of serving community builders who are our customers. And they love the idea of getting to build a tool that doesn't exist yet. Like this idea of mission control for the community or the community operating system. It's kind of a new category that's just emerging as we're building it. so a lot of the people were just excited from a product and engineering standpoint that this is a new thing it's going to require figuring out a lot of you know a lot of how it's going to work a lot of decisions i think we're able to attract some people in the beginning who wanted a lot of a lot of challenge in terms of like we we don't know exactly where this is going to go but we're going to have to figure it out along the way i
like how you said you know looking for people that are okay throwing away what they've built and starting over, kind of. I think that's really important because you're building something to get things started, but you're going to end up either having to rewrite or scrap things, and you can't take it personally. That's hard. That's hard for engineers.
It is, yeah. And I would say we try to select for people who wouldn't say they don't have a big ego, but who are aware of the times when ego might factor into their conversations or the work that that they're doing or their relationships with their coworkers and try to hire people who are self-aware, but then also, you know, be coaching within the organization because anytime you have a lot of smart people working on something, they're all gonna have a lot of ideas and a lot of them and opinions and a lot of them will be valid. But we try to invest a lot in coaching and mentoring the team so that we can, you know, build amazing things and give feedback to each other, help each other improve, but without a lot of tension, I would say, or too much.
Well, let's switch to scalability. So did you build this in the beginning to scale efficiently, essentially from day one? Or are you fighting this as you grow?
So I'd say we're in the middle. I think that the product in our user base has grown quite quickly, and we didn't do anything prematurely on the scaling side. So we set up, we run on Heroku. We use Postgres. we don't have a Postgres setup where we've introduced you know multiple masters or partitioning or we're kind of approaching those decisions in our sort of infrastructure roadmap in the next three to six months probably but we didn't do any of that premature stuff in advance we certainly did not set up a Kubernetes cluster you know we didn't go with microservices up front assuming that we were going to need to you know chunk things into services we just said let's pick the stack that's very reliable and trusted and easy and great to iterate with and not not try to over scale on any of the parts so what we have today is is very much what most people would expect to see this kind of rails and heroku uh stack and that's what we have so we really we haven't done anything as far as premature optimization there so we're spending about 10 of our development sprints i would say on improving the performance of the application on making sure that everything from a database perspective continues to run smooth while looking ahead next three to six months on that. But it's mostly the data. We don't have too many moving parts as far as our overall solution today that we have to look at scaling. So I think we'll kind of approach it as we get there. Well,
as you step out on the balcony and you look across all that you've built, what are you most proud of?
I'm very proud of the team, our engineers, our product managers, our product designer, everyone on the community and the developer relations side. It's really been a team effort to build the product because getting the feedback from our customers comes from everyone and that's really the main thing that we use to drive what we build. So I'm really proud of the team team for remaining community and customer centric, even as more and more requirements have come in, even as we can see more in the roadmap, all the stuff that we're excited to build, but we still try to really stay grounded in what our users and our community are bringing to us. Proud of the team for growing. We've grown from three to 25 people this year since January. and so really excited that we've been able to do that and proud of the team for just figuring things out as we go and I would say being being patient with some of the things that we've needed to get into place and helping you know really stepping up and solving problems even when it's not something that everybody was able to see yet or that got assigned out so really love the the the autonomy and just stepping up the team has done. And from a code base and technology perspective, I'm also very proud of how well we've sticked to our testing strategy. We have almost 4,000 RSpec tests. We're pretty faithful about testing in general. As a result, we've only had a few situations where major bugs have entered into production. Our uptime this year has been very, very good. We fixed performance issues, noticing them and sometimes we can also catch those in development so i'm proud of that we've built a testing culture the last thing i'm proud of is that we've been able to mentor junior developers even on a team that's trying to move fast and is very new we have two or three junior developers on the team and we've seen amazing strides in what they've been able to do we have one junior developer who had never used ruby and rails before had only used javascript and after After six months, she's shipping features, doing pull request reviews, helping other developers on the team, documenting a lot of our stack and how to get onboarded. And it's just really gratifying and really cool to see that we're able to have developers on the team with multiple skill levels and still get work done while we're helping those other developers level up.
So let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.
One mistake that we made, and this will be a little bit technical, but I think that's probably okay. That's good. That's good. It's better than okay. It's good. Yeah, we're going to talk some little bit of database stuff here. One thing that the Orbit application does is it generates a score for every community member that's called the love. This is just our word for how engaged is this member in the community. And we try to assign a score. It's not perfect. Can't exactly quantify love into a decimal. But we create a score so that users at a glance can see, oh, this is one of my most engaged members or this is not. And so we do this in the background as Orbit is receiving community activities. And today we receive over 700,000 a day. That's things that community members are doing in our users community, you know, that represents some kind of engagement. And we have to run some background processing on all of those activities that come in in order to be able to update this score. And back in May, we decided to introduce materialized views inside of Postgres in order to basically do these calculations. So we do them in SQL and then we would store the result in a materialized view. And then we could read from that view during queries. It was the first time we'd introduced views or materialized views into the application i am fully responsible it was my idea i thought it would be great it's very simple two or three months later it turns out that the number one consumer of io on our database is the generation of these materialized views that we do on a rolling basis essentially we have a Sidekiq job or a cron that just recalculates these it worked quite well when we were ingesting one-tenth or one-hundredth of the activities that we are doing today, but it is certainly approach that has not scaled. And our engineering team and myself right now, we are going back and re-architecting that to just use tables instead of materialized views. It's been one of the things that we as an engineering team look back on and laugh a little bit because it's a great example of, well, it worked at the time, but if we had done kind of a scalability analysis and said, is this going to scale at 10x or 100x? I think we all would have said, no, maybe we should find a different way before we ship this. But that was a bit of a mistake. And we have a process now to ask that question. So I think we learned something.
I have been in that exact same position. And we just finished refactoring all of our materialized views at variable. So I'm right there with you. Oh,
that's great. We're not alone.
No, no. You know, it does work. It does work and it's quick and its materialized views are great at small scale. And then as soon as you hit scale, you run into problems. So I feel you. I totally feel you there. Well, what does the future look like for Orbit, the product and for your team?
We're adding a lot to the product in two directions these days. One, the number of integrations that we support. And then also how much value that we can provide to our users for helping them build the community. And essentially how many workflows can Orbit actually support that community builders do? A lot of our efforts are going in those two directions. And the integrations direction is really interesting because from a technical side right now, we're trying to figure out how are we going to support the next 20 integrations, the next 100 integrations? How does the architecture change? Today, we have five major integrations. We have those inside of our main code base. It works just fine. 25 integrations inside of the main code base might start to feel like a lot and actually, you know, have some real impact on our development velocity or just the overall health of the code base. so one thing we're doing on the team side is starting to create teams inside of the engineering organization to go after and solve specific problems and challenges like that like maybe you know we'll have a team in the next year take a look at how we're how we're building integrations and try to form a new perspective or move those integrations outside of the code base do something different there something that allows us to scale up to 100 or more integrations in the future without having to worry about any impacts on the main runtime main code base and so we're experimenting a lot on the design of our teams and that's been been pretty interesting because for a while it was totally flat we didn't have engineering managers or tech leads we just had developers um and and me as the cto giving some guidance that doesn't scale too far we have 15 full-time contributors on the app today. And that's about two teams that we've created there. And each team has what we call an engineering organizer who is responsible for building with the right people, making sure that the right developers are working on the right things. We have a tech lead who's responsible for making sure we're building it in the right way. And then we have a product manager on the team who's responsible for building the right thing. These three people, along with five to six engineers, form the engineering teams that we today. And it's been cool to see our velocity go up as we've actually moved to something that's a little bit more structured. But that's the phase that the really the phase that we're in, we're kind of designing and building the organization as we build the product. And so I think we'll be innovating in both directions quite a bit in the next year.
Let's switch to you, Josh, who influences the way that you work? You know, I'm a CEO, CTO, architect, really any person you look up to and why?
One of my favorite CTOs or ex-CTO now, I guess, is Jason Warner from GitHub. We're very lucky to count Jason amongst our angels at Orbit. Got to know him early on and I was very excited about our vision to help make it easier to build developer communities. Jason was a VP engineering at Heroku and then the CTO at GitHub. What I love about Jason is that he's always sharing his perspective on engineering leadership. It can be on his Twitter. There's also a podcast he does now. And it's really very tactical solutions to a tactical perspective on challenges that startups face, like what should be the role of the CTO? What should be the role of the VP? And when is someone ready to be a director of engineering? What is the difference there? like for a series A or a series B or a bigger company that's further along. So I love that Jason just shares a ton of his thinking. And it's not just high level, it's actually very practical stuff that you feel like you need to know kind of right at that time. So big fan of Jason there. And I think on the developer community side, someone who's influenced me quite a bit is James Tamplin, the CEO and co-founder of Firebase. You know, one of the earliest examples that I saw of developer community well was the early Firebase back in 2012. And that really inspired me generally to get more involved in open source and developer community. And that kind of helped bring me to where I am today.
Well, we talked about a mistake, but a little bit different spin. If you could go back to the beginning, what would you do differently? Or where would you consider taking a different approach.
One thing we would have done differently was be a little bit more use case focused and probably try to prioritize product design and product management thinking earlier on. For a while, for about a year and a half, we were just three people, two engineers and my co-founder is more on the the commercial side. We didn't have a very strong product management product design mindset and the result of that ended up being that we did build a lot of features that didn't end up being the right ones and we weren't always sure if what we were building was the the right thing. I would describe it as the kind of classic case where you have engineers in charge of the product roadmap and they're kind of biased because they're very close to the technology so they can really see what it's capable of but they're not exactly sure if that's going to be the thing that users want. We had to learn and grow up as an organization 2021 a little bit naturally to start asking more questions and when we you know about what we had built about if it was truly something that users wanted and it was it was good it was hard to look at some of the things we'd built and say you know this was an interesting idea but it's really not something that we need to carry with us in the future because users might not understand it very well or it's not something that's very useful for them so to summarize it i would say you know, something I would have done differently would be to bring in either on the team or just as mentors or advisors in a stronger way, helping us really think as engineers, what are we building and why and how are we prioritizing it? And so that some of those iterations and some of what we ended up with and had to change in the future, we could have sort of gone directly to the right solution versus having to try, you know, three or four different attempts to do it.
well josh last question so you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing they're jazzed about it they can't wait to show it off to the world can't wait to show it off to you right there on the plane what advice do you give that person having gone down this road a bit
this young entrepreneur they've built the next big big thing, I think my next advice right at that moment is seek help and seek a lot of opinions and input from people who have been at the next stage that you're trying to go to. So if this young entrepreneur has built the next big thing and it's just right there on his laptop, he hasn't really showed, he or she hasn't really showed many people, I would say, oh, the next thing that you need to do is get some feedback on this. Take a look, maybe talk to some other people who have built tools in this space or who would be potentially your customers. And now if this young entrepreneur had built the next big thing and maybe they had already raised their seed round, already have a few customers and building a team, my advice would be talk to people who've done their series A, ask them the questions about what that period was in between. Try to get a sense because it's all going to happen very quickly. And the best thing that you can do is trying to think six months or 12 months ahead and get a lot of other opinions into the mix so that you don't just kind of end up in an echo chamber in your own head. Oh, what should we do next? What am I going to do? What's the world going to look like in six months or 12 months? You can just find someone who's gone through those stages of that journey before and ask them. And every time I've done that, it's always been really helpful for me, whether it's talking to other founders who are further along or just subject matter experts in any kind of capacity. You know, people love to give their time often, at least I've when they know something about a topic. So my advice for this young entrepreneur would be, you know, ask for help and don't be shy to seek advice from experts. And, you know, be bold, you know, if try to get, you know, be so bold, try to get one time a day, at least, you know, someone tells you no. If everyone's always telling you yes, well, you probably don't know the limit of what you could be asking.
That's great advice. Well, Josh, thank you for being on the show today. thank you for telling the creation story of Orbit.
Thanks for having me, Noah. And
this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. Support the show on patreon.com slash Code Story for just five to 10 bucks a month. And when you get a chance, leave us a review. tremendously. And thanks again for listening.