Hello listeners, today's episode is brought to you by HarperDB. You may recognize the name HarperDB from my interview with Kyle Bernhardy in season 5. HarperDB touts simplicity without sacrifice. HarperDB's global application platform makes product innovation easier, user experience better, and saves companies millions. Check out the product at HarperDB.io. Well, today I have Jaxon Repp on the show, the head of product for HarperDB. He has 25 years of experience in architecting, designing, and developing enterprise software. He's founded three tech startups and has consulted on multiple IoT and digital transform initiatives. Jaxon, thank you so much for being on the show today.
Thank you so much for having me.
Absolutely. Before we go too far, tell me a little bit more about you.
I like to call myself a partially reformed developer with a liberal arts degree from a state university who got in on the ground floor, Gladwell outlier style at exactly the right moment when we were building sites that you could probably build in WordPress in an hour. And we were getting to charge a million dollars for them. So it seemed like a really nice way to make money for somebody whose other employment options were decidedly more liberal arts. It sort of bridges the gap between art in terms of user interface and user experience and technology in terms of storing and persisting data and delivering functionality. We weren't building anything fancy back then, but these were the first websites out on the Internet.
So it sounds like it was pretty opportunistic then. That's really cool. It's really interesting to think about what we can do today in five minutes in a WordPress site versus what it took to do it before. It was a Herculean effort before the frameworks were out.
Absolutely. And when you consider what truly drives a lot of the most popular applications like Google, the massive level of data and indexing and intelligently being able to access every published word on the Internet in a matter of a few milliseconds is a truly astounding journey from where we started. where there was a server and it served you the images and the functions and the data. And God forbid, 100 people tried to access it because then everything failed.
Well, tell me how you got involved with your current venture with HarperDB.
Sure. I was working at an IoT platform startup, and we were, we like to say we were database agnostic. The more I was focusing on the streaming aspect of the data and the modification in flight, database antagonistic. And I saw the writing on the wall. I was like, we need to integrate tightly with something that has a very small footprint, is extremely efficient, is comfortable moving data around because this edge computing slash IoT appears to be the next and most sensible target for machine learning. And that's obviously built on data. So I started shopping around for a database that I could integrate into our platform. We were sort of a drag and drop low code environment. So I wrote a block for HarperDB. And while I was doing that, I came across some outdated documentation. Here, let me rewrite this and send this off to them. They actually had a job posting and talked to them just initially, one interview. And I found a couple other things as I was trying to integrate it into a high volume system. And eventually they invited me in for an interview. We were just closing down and becoming a remote company for the IoT platform. form. And I needed to not be in my office or not be in my home with my children during the day. And HarperDB offered me the opportunity to come work for them part-time, but give me office full time. From there, I became the first true power user of HarperDB. I broke it every day and kind of got to tailor it to the sorts of real world workloads and use cases that I had been seeing for decades in this digital industrial internet of things, digital revolution. It really fit the bill for a lot of the things we were doing in IoT. And I think the challenge with the company that I was at is we were an entire platform that was demanding that you sort of change the way you work, right? And there's a lot of IoT developers and they're very proficient with compact C code. And we were asking them to change how they work, move to this UI, move to a drag and drop system. very easy to sell to the executives, but there was so much pushback from the rank and file developers that we just couldn't seem to get traction. As that wound down, I realized in HarperDB, we're not asking you to reinvent the wheel. We're using all of the pieces and parts that you're already super familiar with as a developer, but we're solving the problems of scale and speed to market and not requiring me to learn anything new or abandon the skills I've developed over time.
I mean, that sounds from a developer's perspective, that sounds like a dream. So what are those problems that you set out to solve with scale? What are those problems that you're removing from the application developer's process?
One of the best examples of making things easy for developers was MongoDB and the concept of document stores, right? The developing an app and you don't really know what you don't know. It's the Rumsfeldian paradox. You're not sure what you're supposed to capture. So man, designing a database and defining all your columns and your data types and your lengths, and then having to go back and basically truncate and change the columns because you decided to add a form to a field. MongoDB took that all away. Everything just worked because it didn't care. As you grew though, you started to realize that a couple of things. One, most data is inherently relational and not being able to do a join, a performant join in the database, having to use external tools like aggregates were a real massive change to the way we were used to getting data. So the idea that a document store that wasn't able to fit with the tools and languages and skill sets that I already had, all of a sudden, once I started to try to join data was inhibiting. The next part was as you started to scale or do more complex operations, managing indexes was one of those things. I've worked at large, Fortune 50 companies where DBAs handled that. That's a full-time job for people. And if you've ever dealt with a DBA in a production environment and you needed to add an index or, God forbid, add a column to a production database, it was the sort of thing over the weekend and prayed that everything was back up and running full speed by Monday. It is understandably an incredibly stressful position when you're a DBA, and that is reflected in, and I don't want to generalize here, but generally, personality-wise, they can be stubborn and resistant to the speed that a lot of the rest of the business occasionally wants to move. I found myself in a position where my indexes weren't optimal, and HarperDB indexes everything a lightning fast memory map key value store LMDB underneath the HarperDB data model allows us to very, very quickly and without data duplication, create indexes on all those fields. So even if you don't know what you're after down the line, as you change those things, your application is going to remain performant and you're not constantly having that maintenance of, are my indexes right? Am I taking up too much space? Am I as performant as I could possibly be? I.e. and what are the 20 steps I could take to fix it versus why are things slow in HarperDB and what are the two things I can look at? And ultimately that felt like a much better developer experience and one I wanted to help craft.
The 20 things to do versus the two things to do sounds very, like I feel at peace when you're describing that already. But okay, so it's interesting. You bring up speed, right? And I read on the site, right? You're claiming that HarperDB is the fastest, data platform in the world. 37.9 times faster than Mongo, 6.8 faster than Influx, 581% faster than SQLite. So how? How is it so fast? Is it the LMDB underskirting, undergirding, whatever, however you say that, or is there more to it?
There's a few things. One is the LMDB data store. And while there are certainly advantages of other key value stores like like RocksDB, LMDB has an exceptionally good balance of read versus write, which was important for us because we wanted to focus on hybrid transactional analytical. We want to be the one database you use for all of your transactions. And while RocksDB may have an advantage in write speed, which we're pretty sure that they do, the reality is we can fix or we can accommodate that through horizontal scale. You can have multiple nodes in a cluster and achieve whatever write speed you need, and then we don't handle the reconciliation of those writes within that cluster. We wanted a balance of read and write because we didn't know exactly what our users' use cases were going to be. Distributed computing is not that widely adopted. Distributed data is even less so. So when we're pushing one paradigm, we thought it'd be better to be balanced. That That and the fact HarperDB being written in Node.js, there was an exceptional Node.js binding for LMDB written by Chris Zipp, a major open source software scion. And ultimately, recently, he decided to come on board with us. It's one of those endorsements that you're not looking for, you're not expecting. And then all of a sudden his resume comes in. I'm like, well, we must be doing something right. Because the guy who literally underpins our technology says, you're the best implementation of it. It feels like we're on the right track.
So I'm curious how you go about building your roadmap for HarperDB, right? How are you balancing customer feedback with future vision of the company? I always find that really interesting, and I find that everybody has their own unique formula for it.
When I got to HarperDB, the product roadmap was, let's stop crashing. Admittedly, this is three and a half years ago, and we didn't have a rock-solid key value store underpinning us, and we were running into all sorts of problems. was sound, just the storage layer was deeply flawed. And as we moved out of that and started to do POCs for customers, a lot of it was very much customer driven. None of us get to be Steve Jobs until you have at least most of the kinks worked out. At that point, you can kind of start telling the market what it needs, but we weren't there yet. So there were a lot of discussions around, I want an enterprise class feature set with snapshots and rollbacks and versioning and defined schemas versus a dynamic schema a la Document Store and an HTTP API rather than a pure driver-based interface. Simplicity and speed tends to win with us when we're evaluating what the product roadmap is. Recently, with the invention of custom functions, which is our effectively API server that sits adjacent to our data store and has direct access to the data layer, between the API and the database itself. With that, all the questions that we were getting from customers, all of a sudden, with no latency between the API and the data layer, the answer to every customer question became, yes, you can build a custom function for that. I can build a custom function that does that in 10 minutes. And here's a POC for you. Go ahead and tune it to your liking, extend it. And it really shifted our product roadmap from one of how many features can we jam into core and still feel good about maintaining and owning that functionality versus how can we make this custom function platform as flexible and easy to use and extensible as possible. So we've executed machine learning on the edge using custom functions, classification and recommendation engines. And then we open source those and put the repositories is up on GitHub. So you can be up and running with a classification system in five minutes. It dramatically changes the game and allows us to focus the product roadmap, taking the simplicity of the platform that we've built and extending that to provisioning and DevOps and sort of a fully managed service, not even database as a service, a distributed compute platform as a service. So global footprint, click one button, and we will manage to your SLA in terms of response time and where your customers are. So we'll put as many servers as we need in all the locations where we need them. And we will manage that based on you need response times under 50 milliseconds, which means we're going to put you in lots of edge data centers or under half a second, which means big cloud data centers are fine, or under two milliseconds, which means we're going going to extend to your premise. And we're going to allow you to install HarperDB and extend that data fabric into your actual IT closet so that users on-prem have two millisecond latency. Really, the product itself is solid. We're always improving things. We're always adding enterprise features. But our focus is always on speed and flexibility because that's ultimately the use case where we find the most adventurous, forward-looking scaling industries.
So the product has come quite far since the early days. And I hear you talking a lot about speed and mentioning a few things that I could probably extract the answer from this next question. But I want to open it up because I want to hear your thoughts. Why do you focus on areas like edge computing or machine learning? What drives you to those areas with the product? Well,
one of the advantages of having a distributed platform and one of the core advantages is monolithic data stores are inherently difficult to scale. You can have read-only replicas, but if you're going to handle volume, you inevitably scale vertically. And that's an exponential cost model. So when you start your company and you're on the free tier of AWS, everything's great. And then you need to add more users and it's fine. And then you get to a point where doubling the number of users, doubling your capacity is more than twice as expensive. Horizontal scale, however, adding nodes to a system, if you can handle 10,000 users with one node of HarperDB and that costs you $50 a month, then you can handle 20,000 users for $100 a month. It's a very, very linear scaling cost model, and it serves business well. If you fit into the paradigm of a distributed database that is ACID compliant at the node level and eventually consistent across the cluster, then we are a great choice for not only your initial development efforts, but that point where scale becomes a challenge. we breeze right through that. You can always add more nodes. You can always vertically scale individual nodes. And you can always network them together in a way that puts your data where it's needed for the operations that you want to run against it.
Okay. Well, one more question, Jaxon. So, you know, you've got an upcoming release. I've heard through the grapevine, you've got an upcoming release 4.0. Tell me about that release. What can we expect to see? And what What are you most excited about?
We have always used WebSockets to handle communication between nodes of HarperDB. We built in engines for understanding if the connection had been broken. We're going to start to queue up transactions that once the connection is back, we're going to push all of those connections across. cross. And we've done massive implementations of this distributed system for customers. We're on the order of billions of transactions a day across this distributed system, and we haven't seen a flaw. But ultimately, WebSockets is a fire and forget, unless you want to build in an ack system to understand that the piece you have sent across the wire has arrived and has been recorded. We are stripping out all of our WebSockets, and we've rebuilt our entire clustering NATS with Jetstream, a very established open source platform. And Jetstream is their new streaming and persistent streams that allows exactly once guaranteed delivery. So exactly the sorts of things you'd want if you're a database that wants to push all the transactions across and know that they have been recorded. So while we never ran into an enterprise deployment or a customer that ever called us and said, something's wrong, some of the data is dropping or not getting there or it's not arriving. We never ran into it. But in our theoretical model, that was the last piece that caused us agita at night as we looked at an infinitely scalable system. So that was the part that we needed to solve for. And that's the part that 4.0 largely solves. In addition to a number of performance tweaks that we think are going to raise our read and write count per second per node, but really an enterprise class clustering that we know and we'll work on a global scale without error every time. That's the big thing that we're most excited about.
That's really, really great stuff. Well, Jaxon, thank you for being on the show today and telling me all about HarperDB, the product, the problems you're solving with speed, and the upcoming 4.0 release. I think it's super exciting. Again, thank you for being on the show today.
You're very welcome. Thank you for having me.
Super exciting stuff with Jaxon from HarperDB. Really interesting stuff about the replacement of sockets with Jetstream. Be sure to check out the product at harperdb.io. It allows you to innovate more easily through custom functions, auto-indexing, and dynamic schemas, eliminate latency, and provides a performant and cost-effective system at scale. Again, check out the product at harperdb.io.