WEBVTT

NOTE S5 Bonus: Scaling Open Source to a Docker Acquisition with Sergei Egorov of AtomicJar

1
00:00:01.420 --> 00:00:11.720
<v Sergei Egorov>So I was looking at Docker Java library. I was clearly in domain of Docker and I was looking for a solution and I noticed reference from something called test containers.

2
00:00:12.160 --> 00:00:22.740
<v Sergei Egorov>And I was like, hmm, we develop our testing library with Docker. Now I'm looking at something for Docker mentioning something, something, test, something. So I should definitely have a look.

3
00:00:23.760 --> 00:00:26.780
<v Sergei Egorov>and I had a look and I got so excited

4
00:00:26.780 --> 00:00:30.020
<v Sergei Egorov>because that library, that open source library

5
00:00:30.020 --> 00:00:32.000
<v Sergei Egorov>was doing basically the same.

6
00:00:32.760 --> 00:00:35.640
<v Sergei Egorov>We don't need to spend time recreating this thing

7
00:00:35.640 --> 00:00:37.100
<v Sergei Egorov>plus also we could start contributing.

8
00:00:39.040 --> 00:00:42.140
<v Sergei Egorov>I'm Sergei Egorov, co-founder and CEO of AtomicJar.

9
00:00:47.540 --> 00:00:49.380
<v Noah Labhart>This is Code Story,

10
00:00:49.380 --> 00:01:00.840
<v Noah Labhart>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.

11
00:01:02.180 --> 00:01:03.960
<v Noah Labhart>I'm your host, Noah Labhart.

12
00:01:04.080 --> 00:01:11.540
<v Noah Labhart>And today, how Sergei Egorov started down the path to make integrated testing simpler and easier.

13
00:01:13.280 --> 00:01:15.860
<v Noah Labhart>All this and more on Code Story.

14
00:01:21.060 --> 00:01:26.780
<v Noah Labhart>Sergei Egorov grew up in a small city of only 100,000 citizens, which is huge compared to some cities.

15
00:01:27.120 --> 00:01:30.160
<v Noah Labhart>He grew up in Siberia, in the cold part of the country.

16
00:01:30.600 --> 00:01:36.180
<v Noah Labhart>His personal record for how cold it was during his time there was negative 53 degrees Celsius.

17
00:01:36.720 --> 00:01:42.740
<v Noah Labhart>And a funny story, on that same day, he had to go out into the weather to the post office to pay his internet bill,

18
00:01:42.880 --> 00:01:45.360
<v Noah Labhart>so he could play video games at 16 years old.

19
00:01:46.200 --> 00:01:52.080
<v Noah Labhart>His favorite game at the time was Might and Magic, which is also 50% of Russia's favorite game as well.

20
00:01:52.300 --> 00:01:56.960
<v Noah Labhart>The cold weather was partially the reason he got into tech, because he could do it at home indoors.

21
00:01:57.680 --> 00:02:02.280
<v Noah Labhart>But other than that, he was a regular kid who liked to skateboard and play guitar in his band.

22
00:02:03.240 --> 00:02:09.000
<v Noah Labhart>Through a chance discovery in Docker's ecosystem, Sergei discovered an open-source test container library

23
00:02:09.660 --> 00:02:14.840
<v Noah Labhart>and realized that the approach he was taking to test containers was out there in the wild.

24
00:02:15.360 --> 00:02:22.040
<v Noah Labhart>He was invited to be a co-maintainer to the open source library, which would eventually become their current company today.

25
00:02:23.900 --> 00:02:26.880
<v Noah Labhart>This is the creation story of AtomicJar.

26
00:02:31.060 --> 00:02:44.240
<v Sergei Egorov>AtomicJar is the result of five years of talking with Richard, the creator of a project behind it, about the idea, or maybe not five years, but some years, talking about the idea of starting a company.

27
00:02:45.360 --> 00:02:51.500
<v Sergei Egorov>When you work on open source project, you could actually be working on open source project for many, many, many years.

28
00:02:51.620 --> 00:02:53.320
<v Sergei Egorov>And it was the case for us with Richard.

29
00:02:53.720 --> 00:03:01.480
<v Sergei Egorov>And Richard Norris is my co-founder and creator of Test Containers, open source testing library, integration testing library.

30
00:03:01.740 --> 00:03:03.800
<v Sergei Egorov>It was a very strong focus on developers.

31
00:03:04.160 --> 00:03:09.400
<v Sergei Egorov>For five years, we've been working on this library on our spare time.

32
00:03:09.680 --> 00:03:14.620
<v Sergei Egorov>Some of our employees were supporting the idea of just working on this library.

33
00:03:15.360 --> 00:03:18.740
<v Sergei Egorov>We kind of had no issues with getting time to work on it.

34
00:03:18.840 --> 00:03:22.900
<v Sergei Egorov>We also have lovely families who let us do things outside of our work hours.

35
00:03:23.560 --> 00:03:25.320
<v Sergei Egorov>We are extremely grateful for that.

36
00:03:26.020 --> 00:03:30.440
<v Sergei Egorov>Five years ago, working at ZeroTurnaround, DevTools company in Estonia,

37
00:03:31.100 --> 00:03:39.380
<v Sergei Egorov>and we had our own library that was letting us do testing with Docker.

38
00:03:39.640 --> 00:03:43.360
<v Sergei Egorov>Basically, the idea was like, at some moment we realized that,

39
00:03:45.360 --> 00:03:50.560
<v Sergei Egorov>Docker Compose for us, our testing needs, because it's declarative, we cannot achieve everything we

40
00:03:50.560 --> 00:03:55.320
<v Sergei Egorov>need. We just want to have more control, and after all, we are developers, we would rather prefer to

41
00:03:55.320 --> 00:04:01.300
<v Sergei Egorov>code our test setup. Five years ago, Docker was something different. Five years ago, Docker wasn't

42
00:04:01.300 --> 00:04:06.720
<v Sergei Egorov>something that was on everyone's machine and in every production system. It was rather something

43
00:04:06.720 --> 00:04:12.400
<v Sergei Egorov>new, something people started to discover, but it started gaining some popularity as a dev tool.

44
00:04:12.400 --> 00:04:15.820
<v Sergei Egorov>So something you would use during the development and maybe CI, CD stage.

45
00:04:16.160 --> 00:04:18.880
<v Sergei Egorov>I was advocating Docker solution for testing.

46
00:04:19.120 --> 00:04:24.460
<v Sergei Egorov>And we just ended up with ideas that since Docker exposes its API,

47
00:04:24.840 --> 00:04:26.600
<v Sergei Egorov>we could just talk directly to Docker.

48
00:04:26.980 --> 00:04:30.800
<v Sergei Egorov>We could start containers, stop containers, restart containers,

49
00:04:31.140 --> 00:04:34.760
<v Sergei Egorov>connect them and everything just by talking to Docker API directly.

50
00:04:35.340 --> 00:04:36.680
<v Sergei Egorov>The idea was fresh.

51
00:04:36.940 --> 00:04:38.900
<v Sergei Egorov>There weren't many solutions out there.

52
00:04:38.900 --> 00:04:45.020
<v Sergei Egorov>So our library was inner source libraries that we just created internally to test one of our Java agents.

53
00:04:45.380 --> 00:04:50.680
<v Sergei Egorov>And eventually there is this really cool feature on GitHub where you look at some issue

54
00:04:50.680 --> 00:04:53.860
<v Sergei Egorov>and then you see cross references from other repositories.

55
00:04:54.200 --> 00:04:56.180
<v Sergei Egorov>And there was a reference from...

56
00:04:56.180 --> 00:04:59.840
<v Sergei Egorov>So I was looking at Docker Java library.

57
00:05:00.660 --> 00:05:05.520
<v Sergei Egorov>So I was clearly in domain of Docker and I was looking for a solution.

58
00:05:05.520 --> 00:05:08.480
<v Sergei Egorov>and I noticed reference from something called test containers.

59
00:05:08.860 --> 00:05:13.920
<v Sergei Egorov>And I was like, hmm, we develop our testing library with Docker.

60
00:05:14.080 --> 00:05:15.680
<v Sergei Egorov>Now I'm looking at something for Docker,

61
00:05:15.800 --> 00:05:17.940
<v Sergei Egorov>mentioning something, something, test something.

62
00:05:18.260 --> 00:05:19.560
<v Sergei Egorov>So I should definitely have a look.

63
00:05:19.660 --> 00:05:22.620
<v Sergei Egorov>And I had a look and I get so excited

64
00:05:22.620 --> 00:05:25.820
<v Sergei Egorov>because that library, that open source library

65
00:05:25.820 --> 00:05:27.800
<v Sergei Egorov>was doing basically the same.

66
00:05:28.180 --> 00:05:30.400
<v Sergei Egorov>And we were so aligned on the implementation

67
00:05:30.400 --> 00:05:34.280
<v Sergei Egorov>that I just quickly rushed to my manager

68
00:05:35.520 --> 00:05:39.080
<v Sergei Egorov>okay, what's the point of us having our own inner source library

69
00:05:39.080 --> 00:05:41.160
<v Sergei Egorov>if there is one that is open source

70
00:05:41.160 --> 00:05:44.820
<v Sergei Egorov>and we don't need to spend time recreating this thing,

71
00:05:44.940 --> 00:05:46.320
<v Sergei Egorov>plus also we could start contributing.

72
00:05:47.200 --> 00:05:50.520
<v Sergei Egorov>We decided to backport some of the features

73
00:05:50.520 --> 00:05:53.760
<v Sergei Egorov>that we had in our internal version to test containers

74
00:05:53.760 --> 00:05:55.900
<v Sergei Egorov>and I started contributing more and more

75
00:05:55.900 --> 00:05:58.700
<v Sergei Egorov>and eventually I was so nice with my pull request,

76
00:05:58.800 --> 00:06:02.300
<v Sergei Egorov>I believe that Richard just invited me as a co-maintainer.

77
00:06:02.300 --> 00:06:07.960
<v Sergei Egorov>He just realized that Docker could be a really great solution for just unifying your testing

78
00:06:07.960 --> 00:06:12.120
<v Sergei Egorov>setup, and it was indeed. So let's

79
00:06:12.120 --> 00:06:14.980
<v Noah Labhart>dive into the MVP a little more. So you mentioned Docker, you

80
00:06:14.980 --> 00:06:19.660
<v Noah Labhart>mentioned their API. Tell me how long it took to build and what sort of tools you used outside of

81
00:06:19.660 --> 00:06:21.500
<v Noah Labhart>those couple of things to bring it to life?

82
00:06:21.500 --> 00:06:25.320
<v Sergei Egorov>initially thought that it's gonna take months or

83
00:06:25.320 --> 00:06:32.440
<v Sergei Egorov>two and then you can call it done because it's so trivial, right? You just implement start container,

84
00:06:32.620 --> 00:06:39.580
<v Sergei Egorov>you implement stop container and you can code library, you can code the solution. And MVP was

85
00:06:39.580 --> 00:06:47.680
<v Sergei Egorov>exactly like that. You could just start containers, stop containers and it was a facade so that

86
00:06:47.680 --> 00:06:52.420
<v Sergei Egorov>that you didn't need to know exactly how Docker works,

87
00:06:52.580 --> 00:06:54.620
<v Sergei Egorov>but instead you could just code something

88
00:06:54.620 --> 00:06:57.840
<v Sergei Egorov>and it would work with any Docker image available.

89
00:06:58.380 --> 00:07:01.680
<v Sergei Egorov>And it was a very simple solution.

90
00:07:02.060 --> 00:07:04.680
<v Sergei Egorov>It was framework agnostic,

91
00:07:04.820 --> 00:07:08.360
<v Sergei Egorov>so you didn't have to use, let's say, Spring specifically.

92
00:07:08.580 --> 00:07:10.100
<v Sergei Egorov>And here I'm talking about Java,

93
00:07:10.160 --> 00:07:14.040
<v Sergei Egorov>but later we gained some traction from other communities

94
00:07:14.040 --> 00:07:16.820
<v Sergei Egorov>and we got our versions in other languages.

95
00:07:17.680 --> 00:07:23.900
<v Sergei Egorov>version and the most popular one right now is the Java version. So you didn't have to stick to

96
00:07:23.900 --> 00:07:29.940
<v Sergei Egorov>any particular framework. You could use the library with any framework you want. And it was

97
00:07:29.940 --> 00:07:36.020
<v Sergei Egorov>as simple as just coding your containers. Because writing code is something that every developer

98
00:07:36.020 --> 00:07:42.180
<v Sergei Egorov>knows how to do. And nowadays we would say that it was a low-code solution to integration testing

99
00:07:42.180 --> 00:07:49.660
<v Sergei Egorov>with docker but back then nobody was talking about low code and it wasn't terminal so

100
00:07:49.660 --> 00:07:50.600
<v Noah Labhart>With, with any

101
00:07:50.600 --> 00:07:56.440
<v Noah Labhart>MVP, right? You have to make certain decisions and trade-offs about, you know, what you're going to cut

102
00:07:56.440 --> 00:08:01.060
<v Noah Labhart>in the short term and what sort of technical debt maybe you're going to take on just to get a

103
00:08:01.060 --> 00:08:05.240
<v Noah Labhart>solution working. Tell me about some of those decisions and trade-offs you had to make and how

104
00:08:05.240 --> 00:08:08.240
<v Noah Labhart>you cope with them. That

105
00:08:08.240 --> 00:08:12.140
<v Sergei Egorov>was made back there and it still remains relevant and it's still

106
00:08:12.140 --> 00:08:18.520
<v Sergei Egorov>the best decision that the project made I would say was to never ever ever leave the domain of

107
00:08:18.520 --> 00:08:25.400
<v Sergei Egorov>integration testing. So it was actually stated in projects with me that test containers isn't

108
00:08:25.400 --> 00:08:31.560
<v Sergei Egorov>something that would let you create your own Kubernetes let's say. It's not a general purpose

109
00:08:31.560 --> 00:08:35.680
<v Sergei Egorov>purpose libraries that would provide you an interface for starting and stopping containers

110
00:08:35.680 --> 00:08:42.620
<v Sergei Egorov>for any use case and the use case was always strictly defined. Integration testing. The sweet

111
00:08:42.620 --> 00:08:49.080
<v Sergei Egorov>spot for testing especially in the era of microservices we could of course start adding

112
00:08:49.080 --> 00:08:53.680
<v Sergei Egorov>more layers and we could consider let's say providing end-to-end testing or system testing

113
00:08:53.680 --> 00:09:00.240
<v Sergei Egorov>solution on top but it wasn't the goal and it would just distract us so much that we would

114
00:09:01.560 --> 00:09:07.500
<v Sergei Egorov>containers is today and I believe it was a great decision, initial decision for the project to

115
00:09:07.500 --> 00:09:14.320
<v Sergei Egorov>stick to the same parting that would let us improve and would let us add certain features

116
00:09:14.320 --> 00:09:21.040
<v Sergei Egorov>that otherwise would require multiple routes depending on the use case. One of such features

117
00:09:21.040 --> 00:09:26.920
<v Sergei Egorov>actually was something that makes test containers unique. For any testing library, especially those

118
00:09:26.920 --> 00:09:33.060
<v Sergei Egorov>those that require external resources. Starting any resource isn't the most important task, I would

119
00:09:33.060 --> 00:09:38.280
<v Sergei Egorov>say. The most important task for testing libraries is to destroy these resources once you're done

120
00:09:38.280 --> 00:09:43.940
<v Sergei Egorov>with your test. The way test containers worked back then is that it would just register a shutdown

121
00:09:43.940 --> 00:09:49.520
<v Sergei Egorov>hook and at the end of your test session it would destroy everything. There was already great

122
00:09:49.520 --> 00:09:55.080
<v Sergei Egorov>improvement as compared to manual resource management, but later we discovered that

123
00:09:56.920 --> 00:10:04.020
<v Sergei Egorov>Jenkins and then you forcibly stop the job. Jenkins would send sigkill to java process

124
00:10:04.020 --> 00:10:08.780
<v Sergei Egorov>and when you receive this signal none of the shutdown hooks will get executed.

125
00:10:09.100 --> 00:10:16.300
<v Sergei Egorov>So you start containers but then your process dies, there is no way we could inject ourselves

126
00:10:16.300 --> 00:10:24.520
<v Sergei Egorov>into the termination process and it led to dangling containers and obviously this isn't

127
00:10:24.520 --> 00:10:29.240
<v Sergei Egorov>something you would want to see on your CI CD systems, especially with some tools that claim

128
00:10:29.240 --> 00:10:33.940
<v Sergei Egorov>that they simplify things for you, but then you discover, especially when someone comes to you,

129
00:10:33.980 --> 00:10:39.420
<v Sergei Egorov>someone who maintains the CI CD system and tells you, hey, why do we have tens of containers running

130
00:10:39.420 --> 00:10:44.580
<v Sergei Egorov>on this node, because I don't see any activity from Jenkins, and you realize that, okay, you have

131
00:10:44.580 --> 00:10:51.820
<v Sergei Egorov>this problem. We started fighting with the problem and instead of us detecting the shutdown, we could

132
00:10:51.820 --> 00:10:55.920
<v Sergei Egorov>just start additional container for every session that you run, every test session that

133
00:10:55.920 --> 00:10:56.420
<v Sergei Egorov>you run.

134
00:10:56.440 --> 00:11:01.560
<v Sergei Egorov>It would record every container you start and if it loses the connectivity with your

135
00:11:01.560 --> 00:11:04.280
<v Sergei Egorov>main process, then it will just start destroying everything.

136
00:11:04.740 --> 00:11:11.140
<v Sergei Egorov>The hardest problem in any software development is to find a name for something and Richard

137
00:11:11.140 --> 00:11:14.880
<v Sergei Egorov>had this great suggestion that why don't we call it Ryuk.

138
00:11:14.880 --> 00:11:22.440
<v Sergei Egorov>and for those who don't know Ryuk is name of I think it was God of Death from Death Note

139
00:11:23.400 --> 00:11:32.020
<v Sergei Egorov>anime or manga. The idea of Death Note manga was that there was a book that accidentally God of

140
00:11:32.020 --> 00:11:38.680
<v Sergei Egorov>Death he accidentally dropped this book and then a human being picked it up and then was able to

141
00:11:38.680 --> 00:11:43.220
<v Sergei Egorov>to kill everyone who gets written into this book.

142
00:11:43.400 --> 00:11:47.000
<v Sergei Egorov>So if your name got added to the book of death,

143
00:11:47.060 --> 00:11:47.700
<v Sergei Egorov>to the Death Note,

144
00:11:48.220 --> 00:11:50.340
<v Sergei Egorov>then eventually something will happen to you.

145
00:11:51.260 --> 00:11:52.880
<v Sergei Egorov>The domain is a bit depressing,

146
00:11:53.080 --> 00:11:55.360
<v Sergei Egorov>but on the other hand, when it comes to containers

147
00:11:55.360 --> 00:11:57.360
<v Sergei Egorov>and when it comes to forcibly killing containers,

148
00:11:57.700 --> 00:11:59.460
<v Sergei Egorov>it was the best possible name

149
00:11:59.840 --> 00:12:01.820
<v Sergei Egorov>because it was doing exactly that.

150
00:12:02.040 --> 00:12:05.540
<v Sergei Egorov>We would just record everything to this sidecar container

151
00:12:05.540 --> 00:12:11.440
<v Sergei Egorov>container and we never ever ever ever since then had an issue report that there are dangling

152
00:12:11.440 --> 00:12:15.780
<v Sergei Egorov>containers because no matter what happens to the main process we would still have this container

153
00:12:15.780 --> 00:12:18.960
<v Sergei Egorov>running that would eventually clean up everything

154
00:12:18.960 --> 00:12:24.580
<v Noah Labhart>So from that point then, how did you progress the

155
00:12:24.580 --> 00:12:30.320
<v Noah Labhart>product, and how have you matured it? And I'm interested in, in how you went about building your

156
00:12:30.320 --> 00:12:34.120
<v Noah Labhart>roadmap and deciding, okay, this is the next most important thing to build?

157
00:12:35.540 --> 00:12:42.140
<v Sergei Egorov>I guess for Test Containers, the open source project, what was really successful is shortly

158
00:12:42.140 --> 00:12:47.780
<v Sergei Egorov>after joining the project, since I had this feeling of excitement of discovering the project,

159
00:12:47.960 --> 00:12:53.680
<v Sergei Egorov>I started doing conference talks and I started just presenting at Virus and ended up presenting

160
00:12:53.680 --> 00:12:56.840
<v Sergei Egorov>at biggest Java conferences, talks about Test Containers.

161
00:12:56.960 --> 00:13:00.240
<v Sergei Egorov>First, to let more people know about its existence.

162
00:13:00.240 --> 00:13:07.240
<v Sergei Egorov>instance, but secondly, to receive this feedback about how it feels to use the library.

163
00:13:07.420 --> 00:13:10.460
<v Sergei Egorov>And of course, when I started, nobody knew about the library.

164
00:13:10.640 --> 00:13:14.740
<v Sergei Egorov>It wasn't that popular because I got lucky joining it quite early.

165
00:13:14.840 --> 00:13:19.600
<v Sergei Egorov>But eventually we started seeing more and more people attending talks, not because they

166
00:13:19.600 --> 00:13:22.180
<v Sergei Egorov>wanted to learn about the library, but they wanted to hear updates.

167
00:13:22.460 --> 00:13:27.440
<v Sergei Egorov>People were basically, they were forming our roadmap because we were feedback driven.

168
00:13:27.440 --> 00:13:33.220
<v Sergei Egorov>Sometimes you need to ignore feedback because you know that you could deliver something that would make it obsolete.

169
00:13:33.460 --> 00:13:41.960
<v Sergei Egorov>But on the other hand, especially at early stages, feedback is the most important because that's exactly what would help you understanding your product.

170
00:13:42.140 --> 00:13:49.500
<v Sergei Egorov>And for DevTools, I guess that's something unique where you understand your product so well because you are a developer yourself.

171
00:13:49.880 --> 00:13:55.520
<v Sergei Egorov>Everything your users are telling you, as opposed to, I know, selling some patch matching application.

172
00:13:57.440 --> 00:13:59.620
<v Sergei Egorov>paths and then developing this application.

173
00:14:00.060 --> 00:14:05.800
<v Sergei Egorov>And none of the feedback would explain you how it actually feels using your product.

174
00:14:05.980 --> 00:14:08.280
<v Sergei Egorov>But with DevTools, it's exactly the case.

175
00:14:08.360 --> 00:14:09.240
<v Sergei Egorov>100% match.

176
00:14:09.420 --> 00:14:14.520
<v Sergei Egorov>It was great because we didn't need to invent features.

177
00:14:15.260 --> 00:14:21.560
<v Sergei Egorov>We had to incorporate the feedback and then the library became very feedback driven.

178
00:14:22.000 --> 00:14:22.660
<v Noah Labhart>That makes sense.

179
00:14:22.840 --> 00:14:27.040
<v Noah Labhart>That builds a much better product when you're building for people that are telling you what

180
00:14:27.440 --> 00:14:31.860
<v Noah Labhart>right, but I get your point too, where you kind of sometimes you have to listen and sometimes you

181
00:14:31.860 --> 00:14:35.340
<v Noah Labhart>have to interpret what people are really trying to ask for.

182
00:14:35.340 --> 00:14:37.260
<v Sergei Egorov>So

183
00:14:37.260 --> 00:14:39.380
<v Noah Labhart>Let's switch to team. So how did you

184
00:14:39.380 --> 00:14:44.460
<v Noah Labhart>go about building your team? Is it you and your CTO and that's it, or is there more people?

185
00:14:45.480 --> 00:14:52.580
<v Sergei Egorov>For all these five years, um, we were working on our spare time and we had these conversations like

186
00:14:52.580 --> 00:14:56.880
<v Sergei Egorov>Like, okay, there is so much adoption, like biggest companies in the world are using test

187
00:14:56.880 --> 00:14:57.380
<v Sergei Egorov>containers.

188
00:14:57.560 --> 00:15:04.600
<v Sergei Egorov>I mean, you think about it, like Red Hat, VMware, IBM, Google, Netflix, Spotify, they

189
00:15:04.600 --> 00:15:07.440
<v Sergei Egorov>all, one way or another, are using test containers.

190
00:15:07.620 --> 00:15:11.920
<v Sergei Egorov>We even made it to Google Cloud Next Keynote, where test containers was presented as the

191
00:15:11.920 --> 00:15:15.760
<v Sergei Egorov>solution for testing before you deploy your services to Google Cloud.

192
00:15:16.320 --> 00:15:21.260
<v Sergei Egorov>The library eventually became the go-to solution for integration testing, at least in JavaScript.

193
00:15:22.580 --> 00:15:29.680
<v Sergei Egorov>have very active versions in Golang, Python, Node.js and .NET. In fact, we have three versions in .NET,

194
00:15:29.800 --> 00:15:34.980
<v Sergei Egorov>so we need to consolidate them. I guess that's an indicator of success, not of something that went

195
00:15:34.980 --> 00:15:41.160
<v Sergei Egorov>wrong. We also had this question, should we monetize or how could we monetize? The question

196
00:15:41.160 --> 00:15:48.180
<v Sergei Egorov>was uneasy because we all had our full-time jobs and when I say we all, I'm also referring to Kevin

197
00:15:48.180 --> 00:15:53.760
<v Sergei Egorov>and Vitig, who joined us as third maintainer of test containers Java, and who is currently with

198
00:15:53.760 --> 00:15:58.980
<v Sergei Egorov>us at Atomic Jar, but back then it was just three of us core maintainers of test containers,

199
00:15:59.240 --> 00:16:04.260
<v Sergei Egorov>Java and the community. And we had our full-time jobs. We were pretty happy with them.

200
00:16:04.740 --> 00:16:12.680
<v Sergei Egorov>I got my job at Pivotal and later VMware acquired Pivotal. Richard was at Skyscanner. Kevin was doing

201
00:16:12.680 --> 00:16:14.160
<v Sergei Egorov>doing his PhD in blockchain.

202
00:16:14.520 --> 00:16:19.680
<v Sergei Egorov>And imagine having these jobs that would not motivate you to start your own thing,

203
00:16:19.820 --> 00:16:24.000
<v Sergei Egorov>because actually they're demotivating you, because you think that everything is stable

204
00:16:24.000 --> 00:16:28.120
<v Sergei Egorov>and starting your own company would be something unstable.

205
00:16:28.920 --> 00:16:35.480
<v Sergei Egorov>So I guess the trigger was my resignation from VMware after Pivotal's acquisition.

206
00:16:35.940 --> 00:16:39.680
<v Sergei Egorov>It was a bit hard for me to adopt to this large company.

207
00:16:39.680 --> 00:16:43.820
<v Sergei Egorov>Pivotal was 10 times smaller, I think, maybe 20 times smaller.

208
00:16:44.300 --> 00:16:48.700
<v Sergei Egorov>Eventually I just decided to resign and what I did, I did an open call.

209
00:16:48.840 --> 00:16:54.740
<v Sergei Egorov>Basically, I just said, I announced on Twitter that, okay, I'm leaving VMware.

210
00:16:54.960 --> 00:16:56.720
<v Sergei Egorov>I have no idea what I'll be doing next.

211
00:16:57.340 --> 00:17:03.520
<v Sergei Egorov>I was part of their reactive team, completely unrelated to test containers or anything like that.

212
00:17:03.940 --> 00:17:07.660
<v Sergei Egorov>So I expected to receive a job, I don't know, DataStax, Microsoft,

213
00:17:07.660 --> 00:17:13.160
<v Sergei Egorov>maybe some other company who would want me to do something reactive but i did mention that if you

214
00:17:13.160 --> 00:17:18.300
<v Sergei Egorov>want to talk about test containers please reach out and i thought that maybe some company who

215
00:17:18.300 --> 00:17:24.560
<v Sergei Egorov>would want such a large community would reach out and offer me to start kind of team a small team

216
00:17:24.560 --> 00:17:32.020
<v Sergei Egorov>inside their company but what happened next really surprised me one of our users who also happened to

217
00:17:32.020 --> 00:17:36.980
<v Sergei Egorov>to be a business owner and angel investor. He reached out to me and said, hey, I have some

218
00:17:36.980 --> 00:17:41.960
<v Sergei Egorov>decent amount of money, um, just not, uh, tell exactly, but like a decent amount of money.

219
00:17:41.960 --> 00:17:46.160
<v Sergei Egorov>Have you, have you considered starting company for Test Containers? Because I just successfully

220
00:17:46.160 --> 00:17:51.280
<v Sergei Egorov>migrated all my projects to Test Containers. This was so good, I see the value, I see the potential.

221
00:17:52.000 --> 00:17:58.540
<v Sergei Egorov>We weren't sure that all our ideas would, would click with him, but actually they, uh, they did.

222
00:17:58.540 --> 00:18:02.140
<v Sergei Egorov>We started sharing some of our concepts we initially had.

223
00:18:02.380 --> 00:18:04.840
<v Sergei Egorov>We are still not talking about our product.

224
00:18:04.960 --> 00:18:10.480
<v Sergei Egorov>Our product will be announced very soon, but we just shared some of the concepts and he

225
00:18:10.480 --> 00:18:15.420
<v Sergei Egorov>liked them so much that he said, okay, I want you to start the company.

226
00:18:15.480 --> 00:18:17.260
<v Sergei Egorov>I want to be your first investor.

227
00:18:17.360 --> 00:18:18.400
<v Sergei Egorov>I want to be your angel investor.

228
00:18:18.920 --> 00:18:22.800
<v Sergei Egorov>And this is how we started thinking about this for real.

229
00:18:22.900 --> 00:18:26.320
<v Sergei Egorov>We started thinking like, okay, we can actually start the company.

230
00:18:27.060 --> 00:18:27.700
<v Sergei Egorov>company.

231
00:18:27.700 --> 00:18:33.960
<v Sergei Egorov>And this is how we ended up jumping from one angel investor who was willing to invest into

232
00:18:33.960 --> 00:18:40.460
<v Sergei Egorov>to be later named AtomicJar to closing a seed round with one of the best seed investors

233
00:18:40.460 --> 00:18:41.280
<v Sergei Egorov>for DevTools.

234
00:18:41.920 --> 00:18:49.120
<v Sergei Egorov>Luckily, we took a bit more time to just talk to people and explore the market.

235
00:18:49.220 --> 00:18:55.140
<v Sergei Egorov>And we weren't sure whether we should start small or big, or whether we should just bootstrap

236
00:18:56.320 --> 00:19:00.900
<v Sergei Egorov>But I think we ended up the right decision, the decision of closing our seed round.

237
00:19:04.240 --> 00:19:05.640
<v Noah Labhart>Let's flip to scalability.

238
00:19:05.860 --> 00:19:11.240
<v Noah Labhart>And it's always interesting to ask this question in light of, you know, the tool that you've built.

239
00:19:11.380 --> 00:19:14.680
<v Noah Labhart>But did you build this to scale efficiently from day one?

240
00:19:14.800 --> 00:19:16.960
<v Noah Labhart>Or were you fighting this as you grow?

241
00:19:18.880 --> 00:19:24.460
<v Sergei Egorov>Because of the correct abstractions, Test Containers is something that would scale from day one.

242
00:19:26.320 --> 00:19:33.140
<v Sergei Egorov>It helps with different kinds of tasks and then it would not force you to certain

243
00:19:33.980 --> 00:19:41.100
<v Sergei Egorov>like certain decisions, and it's very flexible library unless this is something that we would

244
00:19:41.100 --> 00:19:46.840
<v Sergei Egorov>definitely not advertise doing. And that's an interesting thing. We already talked a little

245
00:19:46.840 --> 00:19:55.320
<v Sergei Egorov>bit about some feedbacks that projects receive, but sometimes this feedback may not be considered

246
00:19:56.320 --> 00:20:03.040
<v Sergei Egorov>good reasons and for example in case of test containers usually people like

247
00:20:03.040 --> 00:20:07.800
<v Sergei Egorov>people are used to and developers are used to fixed ports. They would just

248
00:20:07.800 --> 00:20:15.400
<v Sergei Egorov>expect, I know, Postgres running on localhost 5432, and it kind of works,

249
00:20:15.400 --> 00:20:19.740
<v Sergei Egorov>but when you think about all these conflicts you would get when you run

250
00:20:19.740 --> 00:20:23.480
<v Sergei Egorov>multiple tests on the same machine, especially on CI machine, when you think

251
00:20:23.480 --> 00:20:30.080
<v Sergei Egorov>about various ways of running Docker, and when Docker may not even be running localhost, you

252
00:20:30.080 --> 00:20:39.060
<v Sergei Egorov>realize that, okay, it's not that easy to run things on fixed ports. And this is why Test Containers

253
00:20:39.060 --> 00:20:45.760
<v Sergei Egorov>from day one was enforcing random ports, and we were also recommending to obtain the host and not

254
00:20:45.760 --> 00:20:52.580
<v Sergei Egorov>just hard code localhost, because this is exactly what makes Test Containers so bulletproof, I would

255
00:20:53.480 --> 00:21:01.420
<v Sergei Egorov>People don't need to worry that Docker will change something or their colleague that runs their tasks on a Windows machine

256
00:21:01.420 --> 00:21:07.380
<v Sergei Egorov>or maybe you're running it inside some Kubernetes-based CICD pipeline

257
00:21:07.380 --> 00:21:11.800
<v Sergei Egorov>and then you don't even have local Docker, you have Docker running as a sidecar pod.

258
00:21:12.120 --> 00:21:14.420
<v Sergei Egorov>All these scenarios would work with Test Containers.

259
00:21:14.760 --> 00:21:22.300
<v Sergei Egorov>But if you start making certain assumptions, let's say fixed ports, then these assumptions will break.

260
00:21:23.480 --> 00:21:29.980
<v Sergei Egorov>exactly part of the feedback that we had to not ignore but we had to educate our users

261
00:21:30.320 --> 00:21:37.240
<v Sergei Egorov>why using fixed ports isn't the right decision. And now with the last weeks or week before the

262
00:21:37.240 --> 00:21:41.720
<v Sergei Egorov>last week when docker announced that they are changing their licensing

263
00:21:45.060 --> 00:21:51.820
<v Sergei Egorov>licensing agreement and that large corporations will have to pay for docker there was this

264
00:21:53.480 --> 00:21:57.940
<v Sergei Egorov>We decided to explore alternative ways of running Docker on their machines, especially on Mac and

265
00:21:57.940 --> 00:22:03.980
<v Sergei Egorov>Windows, and some of them would not do the port forwarding, something that Docker Desktop does

266
00:22:03.980 --> 00:22:09.860
<v Sergei Egorov>really well, and it actually explains the pricing of Docker Desktop. It makes running Docker on your

267
00:22:09.860 --> 00:22:17.400
<v Sergei Egorov>machine effortless, but if you want to go with a more manual route where you start Docker, where

268
00:22:17.400 --> 00:22:19.240
<v Sergei Egorov>where you use Docker with, let's say, Minikube

269
00:22:19.240 --> 00:22:21.560
<v Sergei Egorov>or some other tool or Docker machine,

270
00:22:21.840 --> 00:22:24.640
<v Sergei Egorov>then certain features will not be available

271
00:22:24.640 --> 00:22:26.600
<v Sergei Egorov>and port forwarding is one of them.

272
00:22:27.080 --> 00:22:29.080
<v Sergei Egorov>And Test Containers works just fine

273
00:22:29.080 --> 00:22:33.120
<v Sergei Egorov>if you run it with Docker that runs somewhere

274
00:22:33.610 --> 00:22:35.520
<v Sergei Egorov>while some tools started failing

275
00:22:35.850 --> 00:22:38.140
<v Sergei Egorov>that we're expecting things to run on localhost

276
00:22:38.140 --> 00:22:40.180
<v Sergei Egorov>because we got used to localhost.

277
00:22:40.440 --> 00:22:43.720
<v Sergei Egorov>And it's just nice to know that these decisions

278
00:22:43.720 --> 00:22:46.100
<v Sergei Egorov>helped us to keep the library working

279
00:22:47.400 --> 00:22:48.700
<v Sergei Egorov>Some major changes are happening.

280
00:22:50.960 --> 00:22:53.500
<v Noah Labhart>Well, as you step out on the balcony,

281
00:22:53.620 --> 00:22:57.840
<v Noah Labhart>you look across all that you've built at AtomicJar with test containers.

282
00:22:58.020 --> 00:22:59.120
<v Noah Labhart>What are you most proud of?

283
00:23:00.740 --> 00:23:01.340
<v Sergei Egorov>Community.

284
00:23:01.500 --> 00:23:03.880
<v Sergei Egorov>I can easily answer this one.

285
00:23:04.200 --> 00:23:07.780
<v Sergei Egorov>Community is what makes me most proud of

286
00:23:07.780 --> 00:23:13.380
<v Sergei Egorov>because partially because I invested myself into building this community.

287
00:23:13.680 --> 00:23:14.460
<v Sergei Egorov>We all did.

288
00:23:14.460 --> 00:23:19.680
<v Sergei Egorov>but at least I know that I contributed to this and I'm happy to see the outcome.

289
00:23:19.920 --> 00:23:21.980
<v Sergei Egorov>But also our community is amazing.

290
00:23:22.320 --> 00:23:26.620
<v Sergei Egorov>I would say test containers community is one of the best open source communities out there.

291
00:23:27.020 --> 00:23:30.980
<v Sergei Egorov>Not because I'm involved, because I'm also a user of test containers.

292
00:23:31.120 --> 00:23:34.200
<v Sergei Egorov>I've been a user of test containers this whole five years.

293
00:23:34.380 --> 00:23:38.740
<v Sergei Egorov>I was always developing based on the feedback I was providing to myself

294
00:23:38.740 --> 00:23:41.340
<v Sergei Egorov>because I was using it at companies I used to work.

295
00:23:41.340 --> 00:23:47.820
<v Sergei Egorov>Because that ZeroTurnaround was DevTools company, but between ZeroTurnaround and Pivotal, I think I

296
00:23:47.820 --> 00:23:54.860
<v Sergei Egorov>changed, like, I know, a gazillion of jobs, and these jobs weren't DevTool jobs, so I was just using it

297
00:23:54.860 --> 00:24:02.480
<v Sergei Egorov>as a regular developer and just seeing our community growing. And what's even more exciting,

298
00:24:02.480 --> 00:24:10.580
<v Sergei Egorov>seeing our community contributing to the community, let's say, by doing talks, by writing articles, by

299
00:24:11.340 --> 00:24:15.400
<v Sergei Egorov>sharing their feedback on Twitter was extremely helpful to the project.

300
00:24:15.580 --> 00:24:20.560
<v Sergei Egorov>But also it's the best reward for any open source maintainer to see the community

301
00:24:21.340 --> 00:24:26.800
<v Sergei Egorov>growing and to see it being healthy, because I know many projects that like

302
00:24:26.800 --> 00:24:30.780
<v Sergei Egorov>many open source projects that are amazing projects, but they struggle to

303
00:24:31.660 --> 00:24:36.680
<v Sergei Egorov>guide the community. They had users, yes, but community is something different.

304
00:24:36.680 --> 00:24:40.980
<v Sergei Egorov>Community is what makes a project healthy, I would say.

305
00:24:41.700 --> 00:24:48.860
<v Sergei Egorov>And we currently see developer advocates from other companies, such as Elastic, from Google,

306
00:24:49.020 --> 00:24:56.000
<v Sergei Egorov>from many other companies talking about test containers because they see it as a value for

307
00:24:56.000 --> 00:24:57.460
<v Sergei Egorov>their communities.

308
00:24:58.080 --> 00:25:04.020
<v Sergei Egorov>And test containers become sort of a glue between various communities.

309
00:25:04.020 --> 00:25:07.800
<v Sergei Egorov>and then you will see people from, I don't know,

310
00:25:07.840 --> 00:25:10.120
<v Sergei Egorov>test containers is actively used in Spring community,

311
00:25:10.360 --> 00:25:11.880
<v Sergei Egorov>but also in Quarkus community.

312
00:25:12.320 --> 00:25:14.960
<v Sergei Egorov>And sometimes you see people helping each other

313
00:25:14.960 --> 00:25:17.140
<v Sergei Egorov>who are not using the same framework.

314
00:25:17.500 --> 00:25:19.220
<v Sergei Egorov>I would say we're using frameworks

315
00:25:19.220 --> 00:25:25.320
<v Sergei Egorov>from completely two opposite corners of the ring.

316
00:25:25.400 --> 00:25:26.640
<v Sergei Egorov>But on the other hand,

317
00:25:27.120 --> 00:25:29.220
<v Sergei Egorov>they're just happy with the same tool

318
00:25:29.220 --> 00:25:30.840
<v Sergei Egorov>and it's something that unites them.

319
00:25:31.380 --> 00:25:33.460
<v Noah Labhart>Well, let's flip the script a little bit.

320
00:25:34.020 --> 00:25:37.680
<v Noah Labhart>Tell me about a mistake you made and how you and your team responded to it.

321
00:25:38.620 --> 00:25:41.320
<v Sergei Egorov>It's not like we never made any mistakes.

322
00:25:42.240 --> 00:25:50.780
<v Sergei Egorov>In fact, when you make more than one, it becomes extremely hard to pick one, I would say, or even recall them.

323
00:25:50.780 --> 00:25:51.860
<v Sergei Egorov>them.

324
00:25:51.860 --> 00:25:59.360
<v Sergei Egorov>I would continue, if I may, on the community point that eventually we grew so fast that

325
00:25:59.360 --> 00:26:04.800
<v Sergei Egorov>given the amount of core maintainers, we couldn't catch up with the issues and pull requests

326
00:26:04.800 --> 00:26:05.460
<v Sergei Egorov>we were getting.

327
00:26:05.640 --> 00:26:10.760
<v Sergei Egorov>And it created this feeling that project isn't evolving as fast as it should.

328
00:26:10.900 --> 00:26:18.380
<v Sergei Egorov>On the other hand, we were simply struggling to just do the reviews for these pull requests

329
00:26:18.380 --> 00:26:20.020
<v Sergei Egorov>that are coming from the community,

330
00:26:20.260 --> 00:26:21.580
<v Sergei Egorov>not from core maintainers,

331
00:26:21.600 --> 00:26:23.720
<v Sergei Egorov>because we are usually very well aligned

332
00:26:23.720 --> 00:26:24.560
<v Sergei Egorov>between each other

333
00:26:24.560 --> 00:26:26.580
<v Sergei Egorov>and we didn't need to spend time on,

334
00:26:26.600 --> 00:26:29.580
<v Sergei Egorov>I know, agreeing on implementation details

335
00:26:29.580 --> 00:26:30.860
<v Sergei Egorov>or as a vision.

336
00:26:31.060 --> 00:26:32.600
<v Sergei Egorov>While external contributors,

337
00:26:32.860 --> 00:26:35.080
<v Sergei Egorov>sometimes you just need to align with them

338
00:26:35.080 --> 00:26:37.240
<v Sergei Egorov>because you want to have your product consistent.

339
00:26:37.440 --> 00:26:39.620
<v Sergei Egorov>You don't want to see something that,

340
00:26:40.140 --> 00:26:41.460
<v Sergei Egorov>I know, so inconsistent

341
00:26:41.460 --> 00:26:43.580
<v Sergei Egorov>that it's really hard to work on it

342
00:26:43.580 --> 00:26:44.980
<v Sergei Egorov>because you need to keep the context

343
00:26:44.980 --> 00:26:46.680
<v Sergei Egorov>of every piece you work on.

344
00:26:48.380 --> 00:26:55.400
<v Sergei Egorov>Last week, there was this famous commit from HashiCorp employees or HashiCorp employee

345
00:26:55.400 --> 00:26:58.940
<v Sergei Egorov>to one of their tools.

346
00:26:59.020 --> 00:27:08.860
<v Sergei Egorov>I believe it was Terraform saying that due to lack of time from maintainers or something

347
00:27:08.860 --> 00:27:16.120
<v Sergei Egorov>like this, they had to temporarily suspend acceptance of external contributions to focus

348
00:27:16.120 --> 00:27:23.320
<v Sergei Egorov>on maintenance of the tool. And I know that some community members were like

349
00:27:23.320 --> 00:27:28.580
<v Sergei Egorov>oh no, something is happening to Terraform, what will happen to Terraform, what should we do?

350
00:27:28.800 --> 00:27:34.840
<v Sergei Egorov>On the other hand, and I was of course defending Terraform and HashiCorp, because I know that they

351
00:27:34.840 --> 00:27:41.460
<v Sergei Egorov>did it for a very good reason. When you have an extremely popular project, you need to be careful,

352
00:27:41.460 --> 00:27:44.500
<v Sergei Egorov>because if you start accepting more and more features,

353
00:27:44.660 --> 00:27:47.440
<v Sergei Egorov>then your existing features, your core functionality

354
00:27:47.440 --> 00:27:50.340
<v Sergei Egorov>may start struggling because it still requires

355
00:27:50.340 --> 00:27:52.480
<v Sergei Egorov>some attention, still requires some maintenance

356
00:27:52.480 --> 00:27:57.940
<v Sergei Egorov>and you would not want to add one feature per release

357
00:27:57.940 --> 00:28:01.140
<v Sergei Egorov>if you don't have time to just polish the old ones.

358
00:28:01.360 --> 00:28:04.100
<v Sergei Egorov>And I clearly understand their decision

359
00:28:04.100 --> 00:28:06.740
<v Sergei Egorov>and when I started defending their decision

360
00:28:06.740 --> 00:28:09.780
<v Sergei Egorov>in one of the chats I was involved into,

361
00:28:11.460 --> 00:28:18.600
<v Sergei Egorov>them, but are you unhappy with Terraform, or how happy are you with Terraform? The answer was the

362
00:28:18.600 --> 00:28:24.760
<v Sergei Egorov>answer was, I'm super happy. I'm really enjoying the tool. I have no issues with the tool. So my next

363
00:28:24.760 --> 00:28:29.800
<v Sergei Egorov>question was, why would you then think that something bad is happening to Terraform? Why

364
00:28:29.800 --> 00:28:36.020
<v Sergei Egorov>don't you think that they just took their time, given that the tool is currently solid, does what

365
00:28:36.020 --> 00:28:43.200
<v Sergei Egorov>what it should do, why don't they take time to just polish things, to rearrange some code maybe,

366
00:28:43.340 --> 00:28:50.360
<v Sergei Egorov>to prepare something for the next 10 biggest features you would want them to build. And

367
00:28:50.360 --> 00:28:59.100
<v Sergei Egorov>it kind of helped that person understanding that the actual motivation behind that

368
00:28:59.100 --> 00:29:05.260
<v Sergei Egorov>that warning wasn't that something bad is happening with Terraform, just it is an indicator

369
00:29:05.260 --> 00:29:11.460
<v Sergei Egorov>of success. And as we know, even when you, let's say, when you're a super popular project,

370
00:29:11.720 --> 00:29:18.720
<v Sergei Egorov>you may even want to limit number of users at signup when you start your product, just because

371
00:29:18.720 --> 00:29:25.360
<v Sergei Egorov>you don't want to, you want to satisfy them. You don't want to have 1 million unsatisfied users,

372
00:29:25.360 --> 00:29:28.340
<v Sergei Egorov>you want to have 10,000 extremely satisfied ones.

373
00:29:28.740 --> 00:29:30.900
<v Sergei Egorov>And when it comes to open source projects,

374
00:29:31.100 --> 00:29:32.580
<v Sergei Egorov>obviously you cannot limit your users,

375
00:29:32.680 --> 00:29:33.700
<v Sergei Egorov>but what you can do,

376
00:29:33.740 --> 00:29:36.400
<v Sergei Egorov>you can limit the inflow of issues,

377
00:29:36.640 --> 00:29:38.360
<v Sergei Egorov>features and contributions

378
00:29:38.360 --> 00:29:40.120
<v Sergei Egorov>to keep your product solid.

379
00:29:40.400 --> 00:29:41.400
<v Noah Labhart>That makes total sense.

380
00:29:41.540 --> 00:29:43.980
<v Noah Labhart>I've had Mitchell Hashimoto on the show

381
00:29:43.980 --> 00:29:46.560
<v Noah Labhart>and I think everything that comes out of HashiCorp

382
00:29:46.560 --> 00:29:47.420
<v Noah Labhart>is pretty solid.

383
00:29:47.500 --> 00:29:48.000
<v Noah Labhart>So I agree.

384
00:29:48.080 --> 00:29:50.100
<v Noah Labhart>Anything, any assumptions you make there

385
00:29:50.100 --> 00:29:53.300
<v Noah Labhart>about a tool coming from those guys

386
00:29:54.180 --> 00:29:55.100
<v Noah Labhart>could be dangerous.

387
00:29:57.320 --> 00:30:01.520
<v Noah Labhart>So what does the future look like for your product and for your team?

388
00:30:02.380 --> 00:30:05.500
<v Sergei Egorov>I just realized that I didn't answer your question about the team size,

389
00:30:05.660 --> 00:30:07.420
<v Sergei Egorov>because it's not just me and Richard.

390
00:30:07.520 --> 00:30:09.380
<v Sergei Egorov>Otherwise, I would not be a happy CEO.

391
00:30:09.680 --> 00:30:14.120
<v Sergei Egorov>Because when you start a company, no matter what company it is,

392
00:30:14.140 --> 00:30:19.380
<v Sergei Egorov>the most important task, day one task, day minus one task is to start hiring.

393
00:30:19.700 --> 00:30:21.780
<v Sergei Egorov>We have the best community out there.

394
00:30:21.780 --> 00:30:25.880
<v Sergei Egorov>So we were able to hire six employees from the community.

395
00:30:26.160 --> 00:30:31.140
<v Sergei Egorov>We knew them and they are amazing engineers because they aren't just users.

396
00:30:31.440 --> 00:30:36.960
<v Sergei Egorov>They are someone who were building extremely good software with the right tools.

397
00:30:37.180 --> 00:30:41.300
<v Sergei Egorov>Where Test Container is being one of them, but that's how we learned about them.

398
00:30:41.600 --> 00:30:48.680
<v Sergei Egorov>And we are currently a team of eight with six people already started and two more joining us in October.

399
00:30:48.680 --> 00:30:53.620
<v Sergei Egorov>October and by the end of the year we plan to be a 10 to 12 engineers.

400
00:30:54.320 --> 00:30:55.780
<v Sergei Egorov>We adapt to startups.

401
00:30:55.880 --> 00:30:59.580
<v Sergei Egorov>So we start with engineers, purely engineers, because it makes the most sense.

402
00:30:59.980 --> 00:31:03.040
<v Sergei Egorov>Of course, we have some really, really big dreams.

403
00:31:03.260 --> 00:31:08.700
<v Sergei Egorov>But what we want to do, we want to we identify the problem and the problem

404
00:31:08.700 --> 00:31:14.740
<v Sergei Egorov>with modern testing is that it still belongs to not the right people, I would say.

405
00:31:14.840 --> 00:31:18.160
<v Sergei Egorov>And I don't want to underestimate the value of, let's say, QA teams.

406
00:31:18.680 --> 00:31:20.680
<v Sergei Egorov>or someone who spends their time,

407
00:31:20.760 --> 00:31:23.080
<v Sergei Egorov>like 100% of their time writing tests, let's say.

408
00:31:23.240 --> 00:31:27.240
<v Sergei Egorov>But I believe that testing is something that belongs to developers.

409
00:31:27.740 --> 00:31:31.040
<v Sergei Egorov>We are big advocates of shift-left testing,

410
00:31:31.160 --> 00:31:34.240
<v Sergei Egorov>testing that goes back to developers,

411
00:31:34.380 --> 00:31:36.360
<v Sergei Egorov>because it originated at developers,

412
00:31:36.520 --> 00:31:39.340
<v Sergei Egorov>and it should be there.

413
00:31:39.740 --> 00:31:41.260
<v Sergei Egorov>Developers should be writing tests.

414
00:31:41.560 --> 00:31:44.120
<v Sergei Egorov>And we were struggling with lack of tooling.

415
00:31:44.460 --> 00:31:48.520
<v Sergei Egorov>We knew that, let's say, integration testing was the right thing

416
00:31:48.680 --> 00:31:53.260
<v Sergei Egorov>to do, but it was really hard to do because starting all these environments, configuring

417
00:31:53.260 --> 00:31:57.280
<v Sergei Egorov>XAMPP, it was an extremely challenging task, especially before Docker.

418
00:31:57.660 --> 00:32:03.100
<v Sergei Egorov>So now what we want to do, we just want to give testing back to the hands of developers.

419
00:32:03.620 --> 00:32:11.060
<v Sergei Egorov>And we want to make sure that since developers are quite picky species, like you would not

420
00:32:11.060 --> 00:32:12.540
<v Sergei Egorov>just give them any tool.

421
00:32:12.540 --> 00:32:19.060
<v Sergei Egorov>You just need to make sure that the tools you're giving to them are really, really good.

422
00:32:19.220 --> 00:32:26.620
<v Sergei Egorov>So that they start using it, they get used to them, and then they would never stop using

423
00:32:26.620 --> 00:32:27.120
<v Sergei Egorov>them.

424
00:32:27.300 --> 00:32:33.500
<v Sergei Egorov>So this is why it's important, this is why some attempts to reimagine testing for developers

425
00:32:33.500 --> 00:32:38.880
<v Sergei Egorov>have failed, because I don't think they really understood what developers want.

426
00:32:38.880 --> 00:32:47.480
<v Sergei Egorov>want. And to give an example, there are many startups that are and were focusing on the

427
00:32:47.480 --> 00:32:53.500
<v Sergei Egorov>idea of recreating production environments for testing. And while it sounds like something

428
00:32:53.500 --> 00:33:00.260
<v Sergei Egorov>that developers would want to do, eventually they start realizing that, okay, to test their

429
00:33:00.260 --> 00:33:05.380
<v Sergei Egorov>services, maybe they don't need their whole production environment to just run one test

430
00:33:05.380 --> 00:33:11.560
<v Sergei Egorov>that would verify that this database returns this data and that this rest endpoint returns

431
00:33:11.560 --> 00:33:18.960
<v Sergei Egorov>the correct JSON. And the turnaround time is extremely, extremely high. Like, you would need

432
00:33:18.960 --> 00:33:24.160
<v Sergei Egorov>to wait for, I don't know, tens of minutes sometimes to just wait for these environments

433
00:33:24.160 --> 00:33:31.380
<v Sergei Egorov>to be created. So they started pushing it back to CI and CD environments and it created this

434
00:33:31.380 --> 00:33:34.760
<v Sergei Egorov>this gap between software development lifecycle,

435
00:33:35.200 --> 00:33:37.220
<v Sergei Egorov>where you code something on your machine,

436
00:33:37.420 --> 00:33:39.540
<v Sergei Egorov>and then you test your service,

437
00:33:39.700 --> 00:33:42.720
<v Sergei Egorov>and when you submit it as a pull request, let's say,

438
00:33:42.840 --> 00:33:43.640
<v Sergei Egorov>or you deliver it.

439
00:33:43.940 --> 00:33:48.540
<v Sergei Egorov>And this gap creates performance degradation,

440
00:33:48.760 --> 00:33:51.020
<v Sergei Egorov>like for developers, their performance degrades

441
00:33:51.020 --> 00:33:54.020
<v Sergei Egorov>because either they are not testing at all,

442
00:33:54.140 --> 00:33:58.780
<v Sergei Egorov>which later will be spotted during the pull request stage,

443
00:33:58.780 --> 00:34:03.820
<v Sergei Egorov>stage, or maybe they are testing, but then they need to wait for tens of minutes for

444
00:34:03.820 --> 00:34:05.180
<v Sergei Egorov>their test to finish.

445
00:34:07.160 --> 00:34:09.680
<v Sergei Egorov>And especially if you're Netflix, let's say.

446
00:34:09.760 --> 00:34:14.760
<v Sergei Egorov>If you're Netflix, you would not try to start the whole Netflix just to test your movie

447
00:34:14.760 --> 00:34:15.840
<v Sergei Egorov>catalog service, right?

448
00:34:15.940 --> 00:34:21.400
<v Sergei Egorov>Because they have, at this stage, I don't know, hundreds of millions services, I think,

449
00:34:21.960 --> 00:34:22.720
<v Sergei Egorov>ballpark estimate.

450
00:34:22.720 --> 00:34:27.620
<v Sergei Egorov>Yeah, so starting all of them would require a lot of resources.

451
00:34:28.280 --> 00:34:30.940
<v Sergei Egorov>But if you only need to test your movie service,

452
00:34:31.660 --> 00:34:35.240
<v Sergei Egorov>and you know that your movie service requires some database,

453
00:34:35.340 --> 00:34:36.420
<v Sergei Egorov>let's say Elasticsearch,

454
00:34:36.600 --> 00:34:41.140
<v Sergei Egorov>and it talks to the notification service to verify your credentials,

455
00:34:41.800 --> 00:34:44.320
<v Sergei Egorov>then perhaps you don't need to start the whole Netflix.

456
00:34:44.520 --> 00:34:47.500
<v Sergei Egorov>You only need to start Elasticsearch because that's your database.

457
00:34:47.660 --> 00:34:50.040
<v Sergei Egorov>That's what you would want to use during your service,

458
00:34:50.740 --> 00:34:51.920
<v Sergei Egorov>during your test.

459
00:34:52.720 --> 00:35:01.100
<v Sergei Egorov>And then you need to start something that would talk, quack, and do everything else as

460
00:35:01.100 --> 00:35:06.800
<v Sergei Egorov>notification service. Not necessarily notification service, because notification service itself may

461
00:35:06.800 --> 00:35:13.100
<v Sergei Egorov>bring five other databases, two more caches, and five other services, depending on how your

462
00:35:13.100 --> 00:35:20.240
<v Sergei Egorov>graph of dependencies looks like. But in fact, you could just start something that would

463
00:35:20.240 --> 00:35:25.880
<v Sergei Egorov>talk the same protocol, let's say HTTP protocol, and you may also want to add

464
00:35:25.880 --> 00:35:31.440
<v Sergei Egorov>some contract testing to confirm that when you talk to the authentication service,

465
00:35:31.740 --> 00:35:38.780
<v Sergei Egorov>your assumptions in your tests about your request are aligned with how it is

466
00:35:38.780 --> 00:35:43.060
<v Sergei Egorov>defined in the protocol of the authentication service. And then your

467
00:35:43.060 --> 00:35:47.440
<v Sergei Egorov>test becomes something that you can run on your machine. And not only you can run

468
00:35:47.440 --> 00:35:52.920
<v Sergei Egorov>on your machine. It becomes something that you can run on every code change you're making. So that

469
00:35:53.640 --> 00:35:59.840
<v Sergei Egorov>you write some code, and then you run your test. And this test will be running in an environment

470
00:35:59.840 --> 00:36:06.460
<v Sergei Egorov>that is as close to production as possible without having to start Kubernetes or what's not for your

471
00:36:06.460 --> 00:36:07.880
<v Sergei Egorov>production environment tested.

472
00:36:09.300 --> 00:36:12.740
<v Noah Labhart>Well, let's switch to you, Sergei, who influences the way that you

473
00:36:12.740 --> 00:36:16.740
<v Noah Labhart>you work in the CEO, CTO and architect really any person name

474
00:36:16.740 --> 00:36:18.380
<v Noah Labhart>a person you look up to and why?

475
00:36:19.660 --> 00:36:23.500
<v Sergei Egorov>First, it's my co founder, Richard, learn a lot from him,

476
00:36:23.560 --> 00:36:27.020
<v Sergei Egorov>we never had a chance to work with him. The same company was

477
00:36:27.020 --> 00:36:31.400
<v Sergei Egorov>worked different companies. And now it's our first attempt at

478
00:36:31.980 --> 00:36:34.680
<v Sergei Egorov>working together and not just collaborating on project on

479
00:36:34.680 --> 00:36:38.960
<v Sergei Egorov>open source project. But apparently, I have so much to

480
00:36:38.960 --> 00:36:45.940
<v Sergei Egorov>learn from him, and I'm not talking about some, I know, soft skills aspects, because he's from England,

481
00:36:45.940 --> 00:36:52.100
<v Sergei Egorov>he's from London, and, you know, like there is a lot you can learn from these folks. But, uh, also on

482
00:36:52.100 --> 00:36:59.120
<v Sergei Egorov>technical side of things, on running company, on everything. I'm so glad that he got convinced

483
00:36:59.120 --> 00:37:04.200
<v Sergei Egorov>to join me as a co-founder, because it took me many months to convince him that he should quit

484
00:37:04.200 --> 00:37:07.100
<v Sergei Egorov>with Skyscanner and start the company together with me.

485
00:37:07.220 --> 00:37:11.840
<v Sergei Egorov>And it wasn't an easy task because he has kids, family and everything.

486
00:37:12.680 --> 00:37:22.380
<v Sergei Egorov>Then our investors and advisors, we spent or we went an extra mile to ensure that our

487
00:37:22.380 --> 00:37:27.760
<v Sergei Egorov>investors aren't just someone with money, but someone with knowledge and experience,

488
00:37:28.440 --> 00:37:34.080
<v Sergei Egorov>someone who would be motivated with their money to share their experience with us.

489
00:37:34.200 --> 00:37:42.780
<v Sergei Egorov>We, of course, also have advisors and these are intentionally there to give us advices

490
00:37:42.780 --> 00:37:46.600
<v Sergei Egorov>because they have their own compensations for that.

491
00:37:46.880 --> 00:37:56.180
<v Sergei Egorov>But it's great to have investors who help you with questions that you sometimes would

492
00:37:56.180 --> 00:37:58.800
<v Sergei Egorov>not even expect them to be helpful with.

493
00:37:58.800 --> 00:38:04.680
<v Sergei Egorov>is, but you just know that you're in the right, uh, in the right company, in the right family of people,

494
00:38:04.680 --> 00:38:11.940
<v Sergei Egorov>I would say. Um, and we realized how helpful it is for us, because before starting the company, before

495
00:38:11.940 --> 00:38:21.180
<v Sergei Egorov>closing our, uh, investment round, we had certain worries about how VCs work, and we all know some

496
00:38:21.180 --> 00:38:28.520
<v Sergei Egorov>horror stories about VC-backed companies who were pushed towards monetization and getting the

497
00:38:28.800 --> 00:38:37.540
<v Sergei Egorov>revenue out of products, and you understand why, because they have their own motivation, like

498
00:38:37.540 --> 00:38:43.860
<v Sergei Egorov>return of, return of investment and other things are important, and of course they are, otherwise

499
00:38:43.860 --> 00:38:50.300
<v Sergei Egorov>we would not be here. But on the other hand, picking the right investors really helped to

500
00:38:51.780 --> 00:38:58.920
<v Sergei Egorov>start and when we started talking to our potential investors for our seed round

501
00:38:58.920 --> 00:39:05.560
<v Sergei Egorov>we discovered that apparently some of them, and actually many of them, many of venture, venture

502
00:39:05.560 --> 00:39:13.640
<v Sergei Egorov>capitalists are not only great business people but just great people in general. You just enjoy

503
00:39:13.640 --> 00:39:19.340
<v Sergei Egorov>talking to them. You finish your call with them motivated and energized as opposed to be

504
00:39:20.300 --> 00:39:24.120
<v Sergei Egorov>someone who would be pressuring on you for some financial topics.

505
00:39:24.380 --> 00:39:26.440
<v Sergei Egorov>And this is really helpful.

506
00:39:26.860 --> 00:39:33.520
<v Sergei Egorov>I don't know how many potential startup founders are listening to this podcast,

507
00:39:33.700 --> 00:39:35.940
<v Sergei Egorov>but I would say that going an extra mile,

508
00:39:36.100 --> 00:39:41.980
<v Sergei Egorov>finding the right investor is a major contributor to the success of your company.

509
00:39:42.140 --> 00:39:48.980
<v Sergei Egorov>Because your ideas, they will change 10 times, 100 times, a gazillion of times.

510
00:39:50.300 --> 00:39:53.040
<v Sergei Egorov>the right investor will help you change them

511
00:39:53.040 --> 00:39:57.740
<v Sergei Egorov>and will help you follow the right direction.

512
00:39:59.100 --> 00:40:02.300
<v Noah Labhart>We talked about a mistake, but a little bit different spin.

513
00:40:02.580 --> 00:40:05.500
<v Noah Labhart>If you could go back to the beginning, what would you do differently?

514
00:40:05.580 --> 00:40:08.240
<v Noah Labhart>Or where would you consider taking a different approach?

515
00:40:09.680 --> 00:40:12.500
<v Sergei Egorov>We started our company pretty late.

516
00:40:12.500 --> 00:40:24.940
<v Sergei Egorov>We gave it a go after the project being zero for six years and it was successful for a

517
00:40:24.940 --> 00:40:30.940
<v Sergei Egorov>whole four years, or at least it feels like four years ago, it got some traction, like

518
00:40:30.940 --> 00:40:31.440
<v Sergei Egorov>real traction.

519
00:40:31.840 --> 00:40:39.720
<v Sergei Egorov>And when you start something that late, you're getting a lot of questions like, why now?

520
00:40:39.720 --> 00:40:47.940
<v Sergei Egorov>why not three years ago, four years ago, when you solve that uptake. And you of course have an

521
00:40:47.940 --> 00:40:53.700
<v Sergei Egorov>explanation for everything, or maybe it wasn't just the right moment for you to start. But I do feel

522
00:40:53.700 --> 00:41:02.720
<v Sergei Egorov>that some projects could be more successful when it comes to commercial, commercialization of, let's

523
00:41:02.720 --> 00:41:09.480
<v Sergei Egorov>open source project it could be more successful if they were commercialized early also

524
00:41:09.720 --> 00:41:13.960
<v Sergei Egorov>match the expectations but in our case i think we are pretty well aligned with the expectations

525
00:41:13.960 --> 00:41:21.540
<v Sergei Egorov>on the open source versus products and everything. But, um, it just helps, it just helps, uh, to start

526
00:41:21.540 --> 00:41:29.660
<v Sergei Egorov>something when you see this, uh, I know, hyper growth, as opposed to just the rest of the market catching

527
00:41:29.660 --> 00:41:37.640
<v Sergei Egorov>up with the solution that you already created. So if we, if we were a bit more, um, ready to start

528
00:41:37.640 --> 00:41:44.340
<v Sergei Egorov>the company, let's say two years ago or three years ago, I believe it would be easier for us,

529
00:41:44.920 --> 00:41:51.780
<v Sergei Egorov>not to mention that we would hire more people, we would hire people back then and we would be

530
00:41:51.780 --> 00:41:57.320
<v Sergei Egorov>more successful maintaining some of the community contributions we were receiving. I'm not saying

531
00:41:57.320 --> 00:42:01.860
<v Sergei Egorov>that we have a problem right now because test containers is extremely popular, but on the other

532
00:42:01.860 --> 00:42:09.180
<v Sergei Egorov>hand, I think we took too long to convince ourselves that now is the time

533
00:42:09.180 --> 00:42:14.900
<v Sergei Egorov>to start a company for the project. And the motivation for starting the company

534
00:42:14.900 --> 00:42:20.720
<v Sergei Egorov>can vary. It can be just something, it can be money, you just want

535
00:42:20.720 --> 00:42:28.360
<v Sergei Egorov>to earn a lot of money. But in our case, our main motivation was to take it to

536
00:42:28.360 --> 00:42:34.760
<v Sergei Egorov>next level, to make Test Containers something officially supported, to stop telling something

537
00:42:34.760 --> 00:42:41.400
<v Sergei Egorov>that is like one of the most painful things you have to say as a maintainer. Sorry, we don't have

538
00:42:41.400 --> 00:42:47.360
<v Sergei Egorov>time for that. We maintain it in our spare time and unfortunately we don't have capacity to handle

539
00:42:47.360 --> 00:42:54.460
<v Sergei Egorov>this feature or this request or this conversation, something like that. And if we started the company

540
00:42:54.460 --> 00:43:02.000
<v Sergei Egorov>three years ago, let's say, who knows how it would go because we didn't have the experience

541
00:43:02.000 --> 00:43:02.880
<v Sergei Egorov>we had now.

542
00:43:03.040 --> 00:43:08.460
<v Sergei Egorov>But on the other hand, we had more capacity to handle everything.

543
00:43:09.380 --> 00:43:11.200
<v Noah Labhart>Hindsight's always 20-20, right?

544
00:43:11.380 --> 00:43:15.080
<v Noah Labhart>You wouldn't be where you are right now if it wouldn't have been for how you started.

545
00:43:15.260 --> 00:43:15.940
<v Noah Labhart>But I do.

546
00:43:16.060 --> 00:43:17.300
<v Noah Labhart>That's why I asked that question.

547
00:43:17.480 --> 00:43:22.260
<v Noah Labhart>Because there are things like, if I knew what I knew now, I probably would do things differently.

548
00:43:24.700 --> 00:43:28.860
<v Noah Labhart>Well, last question, Sergei. So you're getting on a plane and you're sitting next to a young

549
00:43:28.860 --> 00:43:32.620
<v Noah Labhart>entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to

550
00:43:32.620 --> 00:43:35.820
<v Noah Labhart>show it off to the world. Can't wait to show it off to you right there on the plane.

551
00:43:36.180 --> 00:43:39.320
<v Noah Labhart>What advice do you give that person having gone down this road a bit?

552
00:43:40.660 --> 00:43:45.940
<v Sergei Egorov>My first advice, because I really struggle with being short, as seen in this episode, I guess,

553
00:43:45.940 --> 00:43:56.240
<v Sergei Egorov>But my first advice I would give is to not be afraid and not underestimate what he or she has built.

554
00:43:56.460 --> 00:44:03.080
<v Sergei Egorov>Because there aren't many great companies out there, if you think about it.

555
00:44:03.520 --> 00:44:07.680
<v Sergei Egorov>I mean, successful? Yes. Great? Maybe.

556
00:44:08.240 --> 00:44:13.600
<v Sergei Egorov>And when you start exploring services for a particular domain you want to use,

557
00:44:13.600 --> 00:44:20.680
<v Sergei Egorov>you always discover that none of them are ideal. Some of them are perfect, some

558
00:44:20.680 --> 00:44:27.440
<v Sergei Egorov>of them are great, but none of them are ideal and exactly what you need. So when

559
00:44:27.440 --> 00:44:34.140
<v Sergei Egorov>you think about it, you realize that if you focus on the right thing, if you know

560
00:44:34.140 --> 00:44:39.560
<v Sergei Egorov>that what you're building will be, first of all, will have the quality you wanted

561
00:44:39.560 --> 00:44:45.980
<v Sergei Egorov>to see as a user yourself. But also if it's something uniquely well built, then you'll be fine

562
00:44:45.980 --> 00:44:54.180
<v Sergei Egorov>and that's something that you need to explain to, um, to anyone you would talk to, uh, about your

563
00:44:54.180 --> 00:44:58.180
<v Sergei Egorov>business when you will be selling your business, because you have to sell. Like your first sales

564
00:44:58.180 --> 00:45:03.880
<v Sergei Egorov>that you're making as a founder is you're selling your idea, um, and ideally not just you, but, uh,

565
00:45:03.880 --> 00:45:07.800
<v Sergei Egorov>together with someone because it's just impossibly hard to do it alone.

566
00:45:08.200 --> 00:45:12.820
<v Sergei Egorov>But having more confidence in what you're doing always helps,

567
00:45:12.940 --> 00:45:15.160
<v Sergei Egorov>not only because you look more confident,

568
00:45:15.360 --> 00:45:18.080
<v Sergei Egorov>meaning that people will be more willing to, let's say,

569
00:45:18.120 --> 00:45:22.040
<v Sergei Egorov>invest into your company or use your product at early stages or something.

570
00:45:22.280 --> 00:45:26.900
<v Sergei Egorov>But also it helps yourself just realizing that,

571
00:45:27.020 --> 00:45:30.560
<v Sergei Egorov>okay, I'm doing something important, something big here.

572
00:45:30.560 --> 00:45:35.700
<v Sergei Egorov>and if I myself is not confident about it,

573
00:45:35.760 --> 00:45:37.480
<v Sergei Egorov>then why would anyone else be?

574
00:45:37.660 --> 00:45:41.460
<v Sergei Egorov>So you have to be confident about the thing you're creating.

575
00:45:41.980 --> 00:45:43.080
<v Noah Labhart>That's great advice.

576
00:45:43.420 --> 00:45:45.500
<v Noah Labhart>Well, Sergei, thank you for being on the show today.

577
00:45:45.640 --> 00:45:47.580
<v Noah Labhart>Thank you for telling the creation story

578
00:45:47.580 --> 00:45:49.820
<v Noah Labhart>of AtomicJar and Test Containers.

579
00:45:50.000 --> 00:45:51.260
<v Sergei Egorov>Thank you so much, Noah.

580
00:45:51.300 --> 00:45:52.660
<v Sergei Egorov>I really enjoyed the conversation.

581
00:45:52.960 --> 00:45:54.660
<v Sergei Egorov>Some interesting topics were raised.

582
00:45:54.800 --> 00:45:56.280
<v Sergei Egorov>I wasn't asked before.

583
00:45:56.280 --> 00:45:57.360
<v Sergei Egorov>And

584
00:45:57.360 --> 00:46:00.760
<v Noah Labhart>this concludes another chapter of Code Story.

585
00:46:02.980 --> 00:46:06.040
<v Noah Labhart>Code Story is hosted and produced by Noah Labhart.

586
00:46:06.180 --> 00:46:10.960
<v Noah Labhart>Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice.

587
00:46:11.380 --> 00:46:16.460
<v Noah Labhart>Support the show on patreon.com slash Code Story for just five to ten bucks a month.

588
00:46:16.820 --> 00:46:19.020
<v Noah Labhart>And when you get a chance, leave us a review.

589
00:46:19.300 --> 00:46:21.360
<v Noah Labhart>Both things help us out tremendously.

590
00:46:23.640 --> 00:46:25.140
<v Noah Labhart>And thanks again for listening.

591
00:46:34.600 --> 00:46:37.400
<v Sergei Egorov>Thank you.
