Hello listeners. Today we are dropping another episode in our series Developer chats, hearing from the large scale system builders themselves. In this episode we are talking with Oleksandr Piekhota, principal software engineer at Teaching Strategies LLC. Oleksandr helps to show us at what point of scale platform approaches are required, when to run experiments, when to stop, and perhaps more importantly, engineering ownership beyond the code. Oleksandr, thank you for being on the show today. Thank you for being on Code Story.
Thanks for having me.
Absolutely. Really excited to dive into all of your experience today as moving into more technical leadership as a principal engineer and platform versus feature thinking and all the things we're going to dive into. Before we do, tell me in my audience a little bit about you. So
basically, I am currently working as a principal software engineer at Teaching Strategies. I can count like 14 years in production engineering, so I think I have at least of some understanding like what I'm talking about. My background is mostly focused about PHP and Golang. I do have some extra experience in different languages, but that is not that rich to say that I'm strong in it. I have two master's degrees, one in computer science and the second one in high-performance computing. The last one I've got a few years ago in University of Edinburgh. Really happy about it. And last year I also founded a community called Tech Talks Edinburgh. And we're just trying to make some meetups and events for people to share their technical experience and thoughts and to give some richness to the audience. Very
cool. Congrats on all your success and your recent degree acquisition. I know that's a lot of put in to get those advanced degrees. I'd love to dive into my first question, which you've moved from hands-on engineering into principal and technical leadership roles, kind of more working on architecture and platforms. At what point did you realize your work was no longer about individual features, but about the system as a whole?
Oh, good start. I think it's responsibility shift. So basically, when you realize that that your decisions influence performance, cost, reliability, maybe team velocity at the same time. And when you understand that you're responsible for the system as a whole, not individual features, then when you understand that your manager can call you during the night because of the client issue or something happened to the production instance and they need your help, no matter how long it takes and how late it is, then this shift starts. I remember a case from my PDFfiller public API experience when my manager called me about a client's issue and I tried to help him and debug it even though it was late. But the problem was that we haven't stored all the necessary traces to figure out what exact problem was. It was a flaky issue when one time it repeats and the second one it doesn't. And because they didn't have all of those necessary traces to reproduce exact particular problem, at that moment I understood that I need to think a little bit out of the box, and like you need to design those kind of like things, because the next time, like when the manager calls you, you need to be prepared like to answer those questions and be ready to handle like various situations. Yeah, like, that's kind of like shift, I think is important. And when you get all of those responsibilities, like this kind of understanding comes to you like naturally, and it's very hard, like, even though it sounds simple, but many developers don't get it unless they get into like similar scenario. I
appreciate you walking through that. Okay, Okay, across several projects, growth doesn't break functionality, right? Across projects, growth doesn't break functionality. It can expose architectural limits. And I'm sure you've experienced this many times. Can you recall a moment when it became clear that shipping more features wouldn't solve a problem and a platform approach was required?
I have one example in my mind. So when we were working like in my previous company on a B2B product, we faced a situation where we got like rapid team growth. Like we tried to hire like many people from within the company, like we tried to hire like some people from like outside the company, and I guess we managed to get from maybe 10-15 people as a core to about 80, like 90 people, and it's a huge growth. Like we got that that like from like for like during the period of half a year. And lack of standards, like cross team development, microservice approach, like pushed development like in such a fast pace, that when we eventually get to the point that we have some features, we face the situation that local development is terrible. It's nearly impossible to run like the whole environment. Integration between services is just a complete mess. We even tried to like assign delivery managers from different teams just to make a release possible. So the delivery manager like goes to each team and asks them basically, have you guys deployed everything? Did you do this? Did you do this, did that? And yeah, like it made those features very complicated. And finally, when we like production flow, and our first production flow basically was our internal test, and when we ask our internal people to go and test like some flow, we figure out that the product can't handle like the load we created like within the company. I'm not even saying like we published it to some other external customers. And yeah, so this gave me like the understanding that like with such a pace, like Like with such an approach, going further makes no any good progress at all. Like things has to be rethought, rethinked in some way that the approach is going to be different. And yeah, we started thinking about it. And like we tried to make some microservices, try to put them together. We tried to introduce tracing. We tried to invest in like more mature local development flow, hired people that were responsible for like automation tests and integration tests and yeah, all of this together gave a lot of experience to understand that we need a platform approach. okay
Cool, let's move into my next question here. PDFfiller started as a B2C product, but entering into b2b required public apis and much higher reliability standards for business business-to-business side of things, what was the hardest part of that transition from an engineering perspective, not necessarily a business
one? Yeah, it's actually funny because the hardest part wasn't even like scaling infrastructure, but it was more about contracts and formalizing interface, which you develop. So basically, when we developed some kind of core functionality for the B2C part of the product, so we knew that that we can develop this, we can develop that. You can go and talk to front-end engineers, or you can talk with mobile devs. You can always introduce something else for them. If the previous part of the code doesn't work, then they can just use another endpoint. They can work in any way you agree with them during the call, or during the lunch, or something like that. And this internal behavior makes things so much easier and simpler to work with. So basically, you're focusing on completely different things. When you go into B2B and you're trying to develop a public API that's going to be used by other companies, other teams, some third-party engineers, then it becomes more about the public contract itself. Things like backward compatibility, versioning strategy, rate limiting, things like that were like much more important now, and the design that you put into every endpoint. It's actually interesting because I was working with my manager a lot, spending like a huge amount of time just discussing a single API endpoint and how we should name like the endpoint itself, how we should name like the request params, response params, IDs, like errors, like names of those errors, messages and stuff like that. This would make public API much more valuable for other people. And at some point, how easy it is to read it, how easy it is to work with this, how easy like it would be to develop an SDK for such an API. This kind of like predictability and trust, this is what makes like just an API a great API, I would say.
cool okay so moving into around internal systems. Examples like invoicing and HR workflows, they begin as automation, but eventually they evolve into real products. What tells you that an internal tool is worth developing seriously rather than treating it as a temporary workaround? When I think about that, I think about when are you taping processes together for an internal system versus really productizing something?
I think that it really depends and it's hard to reflect on this question. From my experience, I can say that we try to develop internal tools that we've seen a problem with. Because the company I was working in was about document and workflows automation. Basically, we've seen that, for example, invoice flow wasn't optimized properly inside our company. And on the other hand, when we started developing public API, API, we've noticed that before we go into real production with real clients, we still need to have some feedback about our API usage. And the best thing is to develop a client for ourselves and see how it goes on a scale of some workflow like this. And what we figured out is when developing such a tool, such an internal tool, we were able to see all the kind of design issues during prototyping this API. And this helped us a lot to get all of those feedback. And on the other hand, we managed to create an app that really simplified and optimized internal flow. So all of those internal clients that are going to use the tool that you've built, they're going to give you a very valuable and important feedback that you probably won't be able to get from real customers because they sit outside of your office and maybe like you need to analyze some kind of like logs and traces which is completely different story that's like solution that an approach that worked for us i'm not sure that it's probably gonna work for everybody and like everywhere but again if you're really looking into a good client for your system maybe it makes sense to try to use your system itself by your particular needs. And this will help you maybe finding some issues and maybe solving your own problems in one or another way.
Very good. I appreciate you walking through that. Okay, so in R&D, you explored CI/CD automation, serverless infrastructure experiments, the whole nine yards, not all reached production. How do you decide when an experiment should continue? And I don't even add in there when it should start. the engineering costs
Basically, like from what I've noticed, like from my personal experience, is when you're trying to do some R&D work, it becomes very emotional. When you spend a week or two or like even more, like trying to understand some technology, then you spend some time like trying to develop a proof of concept and then like maybe prepare some presentation about it, you're trying to be like... not, you're not exactly trying, you are gonna be looking like from the perspective when you want to sell this tool, because you already invested like so many of your personal time in it, and this is the problem, because sometimes it really makes no real sense. Or sometimes like perspective, maybe like manager's perspective or like team's perspective, could bring you very valuable information, like feedback. So answering the question, I would say that it's very nice and good to have a team working with you together so you can share some thoughts and hear some feedback, and it's really cool if you're gonna have a skilled manager that can lead you towards the right direction or maybe slow you down if you're trying to go too deep or like to or trying to become too emotionally attached to some particular R&D work.
Very good. Okay, so you've hired teams, set standards, and shaped long-term technical direction. And at what point does an engineer stop being a contributor and start owning business-level outcomes? I'm really excited to hear what you have to say here, because I think it applies across the board.
Hard to say when exactly this happens. And I assume it also depends on the environment you are in of company are you working with. So for example, many outsourcing companies, people they are working like just from project to project. And like when you talk to such people that their focus mostly is shifted towards delivering the project, like doing what requirements are, and just working towards this kind of like cadence, like where everything is repeated. and even if there are some people that have some kind of like opinion about the architecture about like the things how it should be developed they try to like get knowledge about what's products gonna do and the problem is that their opinion usually doesn't matter in terms of like business and i can say even more that people who make decisions won't even able to hear them or have have a conversation with them because they maybe sit like in different country in different office and there are a whole bunch of operation managers that just proxy the information and because of such a structure, this information would never like reach proper ears. And because of that, people who choose to stay in such environments probably won't become owners of business level outcomes comes and on the other hand there is small product oriented team or maybe like a small startup and there are like very few people there like maybe some founding engineer like few folks that works with him and they see what they are doing and the impact they do like the code they deliver like reaches the clients instantly just after the deploy they see like how it changes like on the Maybe like when they see that their work is appreciated, when they try to have some conversation and they hear like real like discussion. And basically like when the moment of appreciations happens, I think this is where like people start in owning like these business level outcomes.
Very cool. Yeah, that makes sense. So you've contributed to open source tools that later became part of your company's infrastructure. Why do you see open source contributions as part of serious engineering work rather than a side activity? Because I think some people can see it as side projects and scratching itches that maybe you don't do during the day-to-day job, but really can contribute to the whole picture of what you're trying to build. So tell me about that.
Basically, when you start any new project, you're basically trying to include some framework or library. Like in PHP world, for example, you can use Composer to install something. There are many frameworks. And the majority of those tools, frameworks, are open source. And many people don't think about it. but the fact is people invest a huge amount of effort to make those tools which later become part of your code. It's funny but we trust many of those libraries blindly just because we trust the community. If you take a look at some popular libraries, for example in Golang there is PGX library for Postgres. It has a huge amount of likes and community. In PHP world there is like Laravel framework. Everyone knows about it. In JavaScript, there is React, and this is also an open-source solution. And I think we need to pay our debt back in one form or another. And I can say that even in the company I'm working at the moment, and in all of those R&D work in the past, and so on, companies do a lot of research, proof of concepts, experiments. Very often, you already have the code that is possibly can be open sourced you just need to maybe add a readme and publish it and it's very simple to do but like the all of those small steps all of those small publications will create a whole bunch of like very interesting open source tools and from a practical perspective i can say that if you can publish your poc code and in the future it becomes very useful for somebody, they can make a production-ready solution, which means that you can get benefits of such a solution for free if your original problem is still relevant. What I've noticed recently is developers, for example, in my team, understanding that we are going to open source some component, they just started thinking differently. They're trying to put much more effort into developing the library because they know this work will become their public activity and maybe part of their resume. And just saying, let's open source it, it helps people to produce much better, much more code quality, stronger solution. And maybe last but not least, sometimes you need some experience working with something, but you don't have any project that you can work with. Or maybe you work in the company and the company doesn't have the stack you're interested to work in too. And I guess the easiest way here is simply become an open source contributor and you will get all of that knowledge. And just doing so, you probably can simply jump from one position to another in terms of seniority by simply expanding maybe an hour of time after work or something like on the weekend. And this is so simple to do. Absolutely,
super simple. And it doesn't take that long. these types of things is just astronomically different than it used to be. If you look across your projects, I'm curious how you recognize a truly mature engineering system. Is it based on code quality? Is it based on process? Or how teams respond when things go wrong? How do you measure that?
To be honest, my thinking about it is going to be maybe funny money in some way and maybe like some people won't agree with my like vision but i think like a mature system is like the system that makes basically money and where customers have their use cases covered this is like the base this is like the foundation if you have this everything else is secondary so for example it can be like something with a terrible code base very bad Zen practices, no architecture at all. But unless it makes money and solves the problem, who cares? So on the other hand, we can have a strong team. They can do everything SOLID, DRY, Kubernetes, microservices, cloud. And their code is written in Kotlin, Golang, Scala. It's great from the engineering perspective. It's just some kind of Ruby. ruby and at some point that the project has no funding or like it's difficult to change product perspective make a quick shift like simple cost to pay for the infrastructure and the team like actually cost a lot of money itself and funniest part like when somebody is leaving the product you can't find replacement due to the fact how complex or like how mature sure your particular architecture is so basically like summarizing all of this together i can say that like mature system is like a balance of everything and the highest priority i would still say that is gonna be like making money if you make money and like you have nice friendly responsible team that can do like trade-offs and keep it working and still keep it yet simple and probably like architecture that can be like not that strong, maybe like somewhere like simple in some terms, but yet flexible for like business changes. This is where like it became like really mature. So yeah, long story short, wise trade-offs and maybe some money income. That's pretty much it. Very
good. Okay, Oleksandr, last question. So if we look five to seven years into the future, assumptions we treat as standard today are most likely to turn out to be naive or limiting. This is going to be interesting because there's a little bit of forecasting here. What do you think?
Yeah, I'm not very good in terms of forecasting things. Let me try to think about it. Basically, everything is changing now with AI. And I can say that AI will quietly or maybe loudly loudly affect many of our current architectures or maybe like architecture habits i think this happens like in one or like another way not because those architectures or like habits are wrong but because they were built like for a world where engineers are like a primary operators or like integrators right and very soon like places where like those engineers would become bottlenecks, like the first places which is going to be affected by this AI boom. I have a good example. So there is a book called Clean Code by Robert C. Martin. And in this book, and overall, this is what we should think about is the way how we treat clean code as a primary quality metric, right? And in there, like forward, there are phrases, something like honesty is like in small things not like a small thing or like maybe God is in the details or maybe something like because small things matters and the fun part is if like now most of our code bases are AI generated then all of those kind of like small things like about code elegance, it makes no sense anymore. And now what What shift is going to be is to focus more on tests and contracts. If such an adoption happens, we probably would require to make our CI/CD pipelines much more mature and maybe put some much more advanced gateways that will check our code base, that will validate that everything works. That, for example, test and test coverage would be much more important here. or maybe like deployment pipeline supposed to be like exactly something like canary deploy where like changes goes to one percent of traffic then five ten or something else and maybe like we need to like add some kind of like security checks that will validate all the compliances vulnerabilities secrets etc etc maybe like human focus in this case has to be shifted into defining finding some kind of like good policies and rollback strategies so the production won't fail at some point. I can say also like that and I really like the way how it goes so about model context protocol, MCP, the way how popular it became now and how it grows, I can say that maybe like in some close future it can replace all of the usual APIs we used to have. And things like OpenClaw bot they proved that like you can get 25 000 likes in two weeks which is just crazy maybe like monolithic architecture would be much more popular against microservices because again like all of those agents are much more productive when they work with a single code base rather than just when you're trying to do things across 20 microservices and then trying to glue them together with some kind of a contract. Long story short, right? AI will affect a lot of practices. I tried to maybe bring some examples, but who knows? I guess we will see soon. Yeah,
for sure. We will see and no one can predict the future, but I appreciate you sharing your forecast there. And I really appreciate you being on the show, Oleksandr. It's clear you've built and led teams architecture. You clearly indicated that a mature system is one that strikes a balance between all the right things. And I really connected with your point on experiments and when to call them done. So I really appreciate you being on the show today and sharing your industry experience. Thanks
for having me and really happy to give such answers.
Oleksandr highlights some really interesting points around moving from hands-on engineering into principal and technical leadership. You got to think a little bit differently. architecture, infrastructure, platform thinking, and the like, and how to hire teams and explore experiments that support bringing features to market. If you'd like to connect with Oleksandr, check the show notes for all the appropriate links. And thanks again for listening.