WEBVTT

NOTE S13 Bonus: Scaling Real-Time Search Data: Secure APIs for AI Infrastructure with Alaa Abdulridha, Engineering Director at SerpApi

1
00:00:00.000 --> 00:00:06.520
<v Alaa Abdulridha>That is our main goal at SerpApi, that everyone should know everything. We try to share knowledge.

2
00:00:06.780 --> 00:00:14.220
<v Alaa Abdulridha>The main challenges that we faced at SerpApi at the beginning is how do we scrape search engines

3
00:00:14.220 --> 00:00:21.480
<v Alaa Abdulridha>and provide the data through an API as organic results at the same time to keep these APIs safe

4
00:00:21.480 --> 00:00:29.620
<v Alaa Abdulridha>because at that time there was no such services as a SerpApi. It was kind of a new technology

5
00:00:30.000 --> 00:00:34.140
<v Alaa Abdulridha>Even it was a mystery how to secure these type of APIs

6
00:00:34.140 --> 00:00:37.620
<v Alaa Abdulridha>and what type of vulnerabilities that could introduce.

7
00:00:38.060 --> 00:00:39.660
<v Alaa Abdulridha>My name is Alaa Abdulridha.

8
00:00:39.800 --> 00:00:43.560
<v Alaa Abdulridha>I'm engineering director and cybersecurity researcher at SerpApi.

9
00:00:46.420 --> 00:00:48.400
<v Clip>This is Code Story,

10
00:00:49.180 --> 00:00:52.220
<v Noah Labhart>a podcast bringing you interviews with tech visionaries.

11
00:00:52.340 --> 00:00:53.720
<v Clip>It's been six months moonlighting.

12
00:00:53.740 --> 00:00:55.280
<v Clip>There's nothing on the back end.

13
00:00:55.520 --> 00:00:56.020
<v Clip>Who

14
00:00:55.900 --> 00:00:58.120
<v Noah Labhart>share what it takes to change an industry.

15
00:00:58.300 --> 00:00:59.900
<v Clip>I don't exactly know what to do.

16
00:01:00.000 --> 00:01:01.280
<v Clip>Many goes to get right.

17
00:01:01.880 --> 00:01:04.500
<v Noah Labhart>Who built the teams that have their back.

18
00:01:04.540 --> 00:01:06.140
<v Clip>A company is its people.

19
00:01:06.140 --> 00:01:07.520
<v Clip>The teams help each other achieve more.

20
00:01:07.520 --> 00:01:08.600
<v Clip>Most proud of our team.

21
00:01:08.920 --> 00:01:11.200
<v Noah Labhart>Keeping scalability top of mind.

22
00:01:11.520 --> 00:01:12.880
<v Clip>All that infrastructure was a pain.

23
00:01:12.880 --> 00:01:14.340
<v Clip>Yes, we've been fighting it as we've grown.

24
00:01:14.520 --> 00:01:15.320
<v Clip>Total waste of time.

25
00:01:15.580 --> 00:01:17.840
<v Noah Labhart>The stories you don't read in the headlines.

26
00:01:18.340 --> 00:01:20.040
<v Clip>It's not an easy thing to achieve, mind you.

27
00:01:20.060 --> 00:01:22.120
<v Clip>Took it off the shelf and dusted it off and tried it again.

28
00:01:22.500 --> 00:01:25.820
<v Noah Labhart>To ride the ups and downs of the startup life.

29
00:01:26.060 --> 00:01:27.580
<v Clip>You need to really want it.

30
00:01:27.640 --> 00:01:28.960
<v Clip>It's not just about technology.

31
00:01:29.080 --> 00:01:29.700
<v Clip>All this and more.

32
00:01:30.000 --> 00:01:37.540
<v Noah Labhart>on Code Story. I'm your host, Noah Labhart, and today how Alaa Abdulridha is fueling your

33
00:01:37.540 --> 00:01:43.100
<v Noah Labhart>ability to scrape search engines through one fast, easy, and complete API.

34
00:01:48.800 --> 00:01:55.060
<v Noah Labhart>Alaa Abdulridha is from southern Iraq, but now lives in Austin, Texas. Post-wars in Iraq,

35
00:01:55.160 --> 00:01:59.200
<v Noah Labhart>the country had poor infrastructure, which got him interested in building and creating things

36
00:02:00.000 --> 00:02:04.780
<v Noah Labhart>and secure his life. He left the country to study and ended up in Germany as a security engineer.

37
00:02:05.160 --> 00:02:10.280
<v Noah Labhart>But outside of tech, he enjoys playing RPG video games. In particular, he likes to play

38
00:02:10.280 --> 00:02:14.700
<v Noah Labhart>World of Warcraft and enjoys the open world and character development from scratch.

39
00:02:17.440 --> 00:02:22.340
<v Noah Labhart>Alaa's current company was built to scrape Google search engines in order to get around a blocker

40
00:02:22.340 --> 00:02:28.140
<v Noah Labhart>for a prior project. In the past, he used to participate in bug bounty hunting during his

41
00:02:30.000 --> 00:02:36.200
<v Noah Labhart>his exploits. His now founders came across his articles and invited him to join the company.

42
00:02:38.480 --> 00:02:42.180
<v Noah Labhart>This is Alaa's creation story at SerpApi.

43
00:02:46.780 --> 00:02:55.600
<v Alaa Abdulridha>SerpApi is a SaaS company. We provide an API. This API empowers developers and other companies

44
00:02:55.600 --> 00:02:59.980
<v Alaa Abdulridha>to gain access to the search data, like search engines data,

45
00:03:00.180 --> 00:03:03.660
<v Alaa Abdulridha>but in a consistent, structured, and at scale.

46
00:03:04.240 --> 00:03:08.220
<v Alaa Abdulridha>So they can use these data to train their AI models to,

47
00:03:08.340 --> 00:03:10.360
<v Alaa Abdulridha>for example, news agencies.

48
00:03:10.540 --> 00:03:11.960
<v Alaa Abdulridha>They use that for news monitoring.

49
00:03:12.320 --> 00:03:15.420
<v Alaa Abdulridha>SEO, government use as for background check.

50
00:03:15.600 --> 00:03:18.500
<v Alaa Abdulridha>If you have, let's say, an AI chatbot,

51
00:03:18.580 --> 00:03:22.020
<v Alaa Abdulridha>you want to give your chatbot real-time access

52
00:03:22.020 --> 00:03:25.220
<v Alaa Abdulridha>to the internet so it can do real-time searches for you.

53
00:03:25.600 --> 00:03:31.780
<v Alaa Abdulridha>not limited to search engines but for example Amazon, eBay, Walmart, Home Depot and so on.

54
00:03:32.060 --> 00:03:39.300
<v Alaa Abdulridha>That's what we do at SerpApi. We basically provide data for companies, for developers.

55
00:03:39.960 --> 00:03:46.300
<v Alaa Abdulridha>It's a very interesting story how our founder started SerpApi. He used to build other type

56
00:03:46.300 --> 00:03:53.460
<v Alaa Abdulridha>of applications. An application that is used to take a picture of food and it can identify the

57
00:03:53.460 --> 00:04:01.120
<v Alaa Abdulridha>type of food and such things. But our founder found an issue, faced an issue, a blocker.

58
00:04:01.180 --> 00:04:09.280
<v Alaa Abdulridha>The blocker was how can he collect this information and images from Google without limitation.

59
00:04:09.560 --> 00:04:15.260
<v Alaa Abdulridha>As if you keep searching in Google, manually you will get capture that checking if you

60
00:04:15.260 --> 00:04:22.880
<v Alaa Abdulridha>are a robot or not. So he decided to create an API. He scraped Google images and he created

61
00:04:23.460 --> 00:04:30.040
<v Alaa Abdulridha>Google images to connect it with his application so he can surpass that blocker.

62
00:04:30.800 --> 00:04:37.740
<v Alaa Abdulridha>It's very interesting story because at that time, no other companies or any other business

63
00:04:37.740 --> 00:04:41.100
<v Alaa Abdulridha>out there provided the same service, which is SerpApi.

64
00:04:41.480 --> 00:04:49.340
<v Alaa Abdulridha>And by the way, SerpApi is a shortcut for search engine results page about how I joined

65
00:04:49.340 --> 00:04:49.840
<v Alaa Abdulridha>SerpApi.

66
00:04:49.760 --> 00:04:52.500
<v Alaa Abdulridha>I remember that I used to do bug bounty hunting.

67
00:04:52.880 --> 00:04:56.860
<v Alaa Abdulridha>And bug bounty hunting, to explain it to the listeners,

68
00:04:56.960 --> 00:05:00.140
<v Alaa Abdulridha>is basically if you are a security researcher

69
00:05:00.140 --> 00:05:03.220
<v Alaa Abdulridha>and you want to do a freelance work,

70
00:05:03.360 --> 00:05:07.460
<v Alaa Abdulridha>you can find vulnerabilities on specific websites

71
00:05:07.460 --> 00:05:10.500
<v Alaa Abdulridha>that are available on a platform called HackerOne, for example.

72
00:05:10.740 --> 00:05:13.640
<v Alaa Abdulridha>You report these vulnerabilities to the companies

73
00:05:13.640 --> 00:05:15.740
<v Alaa Abdulridha>or directly to their security team,

74
00:05:15.780 --> 00:05:18.120
<v Alaa Abdulridha>and they will reward you with a monetary reward.

75
00:05:19.760 --> 00:05:21.140
<v Alaa Abdulridha>I used to write articles.

76
00:05:21.380 --> 00:05:24.640
<v Alaa Abdulridha>I was just a second year university student,

77
00:05:24.800 --> 00:05:27.260
<v Alaa Abdulridha>and I used to write articles and write-ups

78
00:05:27.260 --> 00:05:30.080
<v Alaa Abdulridha>about my findings, how do I find vulnerabilities,

79
00:05:30.640 --> 00:05:32.840
<v Alaa Abdulridha>how much money do I get from these vulnerabilities.

80
00:05:33.840 --> 00:05:36.840
<v Alaa Abdulridha>One of the targets that I worked on

81
00:05:37.620 --> 00:05:39.520
<v Alaa Abdulridha>as a bug bounty hunter was Facebook.

82
00:05:39.720 --> 00:05:44.080
<v Alaa Abdulridha>I managed to hack Facebook, and literally hack Facebook.

83
00:05:44.200 --> 00:05:46.240
<v Alaa Abdulridha>I was able to gain access

84
00:05:46.240 --> 00:05:49.020
<v Alaa Abdulridha>to their legal department, admin panel

85
00:05:49.760 --> 00:05:53.640
<v Alaa Abdulridha>multiple times and I was able to gain access to their internal network.

86
00:05:54.300 --> 00:05:59.440
<v Alaa Abdulridha>I wrote an article about that of two parts, how I hacked Facebook part one, how I hacked

87
00:05:59.440 --> 00:06:00.220
<v Alaa Abdulridha>Facebook part two.

88
00:06:01.160 --> 00:06:06.940
<v Alaa Abdulridha>The founder of SerpApi was one of the readers for that article and he reached out to me

89
00:06:06.940 --> 00:06:12.080
<v Alaa Abdulridha>and he mentioned that they have positions available at SerpApi and they are looking

90
00:06:12.080 --> 00:06:14.740
<v Alaa Abdulridha>for talented people to work at SerpApi.

91
00:06:15.780 --> 00:06:21.640
<v Alaa Abdulridha>And since then I gave it a try and I started working at SerpApi back in 2021.

92
00:06:22.320 --> 00:06:27.620
<v Alaa Abdulridha>I used to be a remote employee, used to work remotely from Ukraine.

93
00:06:28.360 --> 00:06:34.600
<v Alaa Abdulridha>And now I am in office, on-site working from the office from Austin, Texas.

94
00:06:34.860 --> 00:06:37.440
<v Alaa Abdulridha>And I started as a junior engineer.

95
00:06:37.660 --> 00:06:42.340
<v Alaa Abdulridha>Now I am engineering director and responsible for the cybersecurity certificates.

96
00:06:42.340 --> 00:06:51.280
<v Alaa Abdulridha>gates. And just recently, actually, we got SerpApi certified SOC 2, Type 2 SOC 3, and ISO 27001,

97
00:06:51.440 --> 00:06:55.880
<v Alaa Abdulridha>ISO 27701. And we are working on GDPR at the moment.

98
00:06:58.700 --> 00:07:03.260
<v Noah Labhart>I'm curious about when you were invited to join the company, what was your

99
00:07:03.260 --> 00:07:09.420
<v Noah Labhart>quote unquote MVP, right? I ask a lot about MVPs on this show, but what was the first project you

100
00:07:09.420 --> 00:07:12.440
<v Noah Labhart>you were pulled into that you had to jump in on,

101
00:07:12.520 --> 00:07:13.860
<v Noah Labhart>create something from nothing.

102
00:07:14.120 --> 00:07:16.680
<v Noah Labhart>Tell me about that process and how you went about it

103
00:07:16.680 --> 00:07:19.220
<v Noah Labhart>and what sort of tools you were using to bring it to life.

104
00:07:20.580 --> 00:07:23.840
<v Alaa Abdulridha>So they wanted someone who can combine

105
00:07:23.840 --> 00:07:28.820
<v Alaa Abdulridha>between software engineering and cybersecurity at SerpApi.

106
00:07:29.340 --> 00:07:32.920
<v Alaa Abdulridha>That is our main goal at SerpApi,

107
00:07:33.040 --> 00:07:34.480
<v Alaa Abdulridha>that everyone should know everything.

108
00:07:34.740 --> 00:07:36.340
<v Alaa Abdulridha>We try to share knowledge.

109
00:07:37.160 --> 00:07:44.400
<v Alaa Abdulridha>The main challenges that we faced at SerpApi at the beginning is how do we scrape search

110
00:07:44.400 --> 00:07:50.780
<v Alaa Abdulridha>engines and provide the data through an API as organic results at the same time to keep

111
00:07:50.780 --> 00:07:57.360
<v Alaa Abdulridha>these APIs safe because at that time there was no such services as a SerpApi.

112
00:07:57.940 --> 00:08:05.120
<v Alaa Abdulridha>It was kind of a new technology, even it was a mystery how to secure these type of APIs

113
00:08:06.340 --> 00:08:10.000
<v Alaa Abdulridha>of vulnerabilities that could introduce by these APIs.

114
00:08:10.340 --> 00:08:12.020
<v Alaa Abdulridha>And yeah, it was fun.

115
00:08:12.080 --> 00:08:13.700
<v Alaa Abdulridha>It was challenging a bit

116
00:08:13.700 --> 00:08:17.540
<v Alaa Abdulridha>because we managed to find a new vulnerability

117
00:08:17.540 --> 00:08:20.360
<v Alaa Abdulridha>that can hit such type of APIs

118
00:08:20.360 --> 00:08:23.400
<v Alaa Abdulridha>like SSRF server-side request forgery.

119
00:08:24.050 --> 00:08:25.940
<v Alaa Abdulridha>And it's the same vulnerabilities

120
00:08:25.940 --> 00:08:27.860
<v Alaa Abdulridha>that I used to hunt for before.

121
00:08:28.020 --> 00:08:31.320
<v Alaa Abdulridha>It just comes in a different way, I could say.

122
00:08:32.860 --> 00:08:35.880
<v Noah Labhart>So in how you were approaching that,

123
00:08:36.480 --> 00:08:47.520
<v Noah Labhart>Give me a decision or trade-off you had to make in how you approached it, how you went about solving that problem and being the quote-unquote guy to go take it on, and how you coped with those decisions.

124
00:08:48.600 --> 00:08:58.400
<v Alaa Abdulridha>It wasn't easy at the beginning because I had to coordinate with multiple software engineers, multiple engineers at the team.

125
00:08:58.400 --> 00:09:02.980
<v Alaa Abdulridha>and not all security engineers, not all software engineers

126
00:09:02.980 --> 00:09:06.100
<v Alaa Abdulridha>are familiar with security vulnerabilities,

127
00:09:06.600 --> 00:09:10.200
<v Alaa Abdulridha>especially when it comes to technical vulnerabilities like that.

128
00:09:10.520 --> 00:09:17.600
<v Alaa Abdulridha>And it was something rare and it was difficult to explain the proof of concept

129
00:09:17.600 --> 00:09:21.860
<v Alaa Abdulridha>that I came with for these vulnerabilities so we can address them properly.

130
00:09:22.100 --> 00:09:25.620
<v Alaa Abdulridha>Because in the eyes of the software engineers,

131
00:09:25.900 --> 00:09:27.900
<v Alaa Abdulridha>these issues were not vulnerabilities.

132
00:09:28.400 --> 00:09:36.560
<v Alaa Abdulridha>unless I managed to introduce a proof of concept that has a significant security impact there.

133
00:09:36.720 --> 00:09:39.260
<v Alaa Abdulridha>And I successfully managed to do that.

134
00:09:39.480 --> 00:09:42.300
<v Alaa Abdulridha>I believe nowadays we have competitors.

135
00:09:42.440 --> 00:09:48.160
<v Alaa Abdulridha>Most of these competitors, they follow the same security practices in their APIs to secure them.

136
00:09:48.680 --> 00:09:51.540
<v Alaa Abdulridha>And it became like a standard.

137
00:09:51.640 --> 00:09:57.740
<v Alaa Abdulridha>After a while, these procedures that I used to take many years back,

138
00:09:58.400 --> 00:10:04.900
<v Alaa Abdulridha>became standard when we develop or we introduce a new API just before that API goes into production.

139
00:10:05.120 --> 00:10:11.640
<v Alaa Abdulridha>All these steps or methodologies have to be taken as measures before we release that API.

140
00:10:13.420 --> 00:10:20.420
<v Noah Labhart>Okay, so as you've been at SerpApi, I'm really curious about how you've progressed and matured

141
00:10:20.420 --> 00:10:25.460
<v Noah Labhart>at the company, maybe in that project, but also other projects, how you've gone from the

142
00:10:25.460 --> 00:10:28.320
<v Noah Labhart>the engineer to the engineering director,

143
00:10:28.600 --> 00:10:30.120
<v Noah Labhart>all of the things that you've worked on.

144
00:10:30.240 --> 00:10:33.540
<v Noah Labhart>And I think to kind of wrap that in a little bit of a box,

145
00:10:33.640 --> 00:10:35.680
<v Noah Labhart>it's alongside what I'm asking is,

146
00:10:35.780 --> 00:10:38.340
<v Noah Labhart>how does SerpApi build roadmaps?

147
00:10:38.440 --> 00:10:40.660
<v Noah Labhart>How do you guys decide that,

148
00:10:40.700 --> 00:10:42.520
<v Noah Labhart>okay, this is the next most important thing

149
00:10:42.520 --> 00:10:43.440
<v Noah Labhart>to build or to address?

150
00:10:45.400 --> 00:10:47.960
<v Alaa Abdulridha>So when it comes to building things,

151
00:10:48.160 --> 00:10:50.720
<v Alaa Abdulridha>it's different than when it comes to

152
00:10:50.720 --> 00:10:52.960
<v Alaa Abdulridha>the career growth of SerpApi.

153
00:10:52.960 --> 00:10:59.060
<v Alaa Abdulridha>As for career growth, we really support every opportunity and we provide many opportunities

154
00:10:59.060 --> 00:11:00.380
<v Alaa Abdulridha>to career growth.

155
00:11:00.660 --> 00:11:03.760
<v Alaa Abdulridha>So it was all about knowledge.

156
00:11:03.960 --> 00:11:08.300
<v Alaa Abdulridha>This is a very important thing that everyone at SerpApi share knowledge.

157
00:11:08.480 --> 00:11:10.100
<v Alaa Abdulridha>We share everything with each other.

158
00:11:10.300 --> 00:11:17.820
<v Alaa Abdulridha>We try to teach each other anything that we know and the other person might not be familiar

159
00:11:17.820 --> 00:11:18.320
<v Alaa Abdulridha>with.

160
00:11:18.080 --> 00:11:25.340
<v Alaa Abdulridha>For example, I tried to educate the team and share my knowledge and security with the rest of the team members.

161
00:11:25.580 --> 00:11:30.040
<v Alaa Abdulridha>And when I joined as a junior engineer, it was the same thing for them.

162
00:11:30.140 --> 00:11:36.460
<v Alaa Abdulridha>They used to share their software engineering knowledge with me and I used to learn from the best at SerpApi.

163
00:11:36.980 --> 00:11:43.220
<v Alaa Abdulridha>As for the challenges that we face, we face a huge amount of challenges.

164
00:11:43.220 --> 00:11:51.160
<v Alaa Abdulridha>But most of the things that we want to support, let's say we have a new API we want to support.

165
00:11:51.540 --> 00:11:56.640
<v Alaa Abdulridha>We just recommend that idea or we post it on our public roadmap.

166
00:11:56.800 --> 00:11:58.440
<v Alaa Abdulridha>We have a public roadmap on GitHub.

167
00:11:58.680 --> 00:12:02.440
<v Alaa Abdulridha>Anyone, all our clients, anyone interested can see that roadmap.

168
00:12:02.680 --> 00:12:08.680
<v Alaa Abdulridha>We basically post the idea of introducing a new product on our public roadmap.

169
00:12:08.680 --> 00:12:15.120
<v Alaa Abdulridha>If we see that our clients that are interested about this product, we're

170
00:12:15.120 --> 00:12:16.600
<v Alaa Abdulridha>going to go ahead and build it right away.

171
00:12:16.840 --> 00:12:21.100
<v Alaa Abdulridha>Sometimes some of the products are being requested by our clients directly.

172
00:12:21.360 --> 00:12:26.260
<v Alaa Abdulridha>They send us email, they contact us through our website chat and they ask,

173
00:12:26.340 --> 00:12:30.860
<v Alaa Abdulridha>can you please for this product or this feature or introduce a new API?

174
00:12:31.220 --> 00:12:32.300
<v Alaa Abdulridha>We do that.

175
00:12:32.480 --> 00:12:36.480
<v Alaa Abdulridha>So that's how we, we take it from public roadmap into production.

176
00:12:39.200 --> 00:12:42.880
<v Noah Labhart>So I'm curious about how you build teams, right?

177
00:12:42.980 --> 00:12:46.900
<v Noah Labhart>What do you look for in those people to indicate they're the winning horses to join you at

178
00:12:46.900 --> 00:12:47.400
<v Noah Labhart>SerpApi?

179
00:12:48.660 --> 00:12:52.680
<v Alaa Abdulridha>We are very interested in hiring very talented people.

180
00:12:52.760 --> 00:12:54.060
<v Alaa Abdulridha>We have many open positions.

181
00:12:54.380 --> 00:13:01.620
<v Alaa Abdulridha>Either you are junior or senior, director, executives, we are hiring all that.

182
00:13:02.560 --> 00:13:05.440
<v Alaa Abdulridha>We even recently started hiring interns.

183
00:13:05.780 --> 00:13:07.240
<v Alaa Abdulridha>We go to universities.

184
00:13:08.680 --> 00:13:10.520
<v Alaa Abdulridha>events there, we help students,

185
00:13:10.920 --> 00:13:12.760
<v Alaa Abdulridha>create hackathons to support them.

186
00:13:12.920 --> 00:13:15.460
<v Alaa Abdulridha>We sponsor many events, different universities

187
00:13:15.460 --> 00:13:17.060
<v Alaa Abdulridha>around Texas, California.

188
00:13:18.220 --> 00:13:23.720
<v Alaa Abdulridha>Anyone sees ability in themselves to work

189
00:13:23.720 --> 00:13:25.400
<v Alaa Abdulridha>with SerpApi as engineer,

190
00:13:25.640 --> 00:13:30.000
<v Alaa Abdulridha>and they are actually excited about doing what we do.

191
00:13:30.180 --> 00:13:31.120
<v Alaa Abdulridha>They have it in them.

192
00:13:31.280 --> 00:13:34.900
<v Alaa Abdulridha>Then we will be very excited to welcome these people.

193
00:13:35.000 --> 00:13:37.000
<v Alaa Abdulridha>We will share all our knowledge with them,

194
00:13:38.680 --> 00:13:42.300
<v Alaa Abdulridha>we will have them either they're engineers or interns.

195
00:13:42.560 --> 00:13:49.940
<v Alaa Abdulridha>And currently I manage a team of four, three engineers, juniors, seniors, and one intern.

196
00:13:50.280 --> 00:13:54.200
<v Alaa Abdulridha>We recently hired one intern and she's part of my team.

197
00:13:54.300 --> 00:13:54.920
<v Alaa Abdulridha>She's doing great.

198
00:13:55.140 --> 00:13:58.140
<v Alaa Abdulridha>I'm sharing all my knowledge with her and with the rest of the team.

199
00:13:58.300 --> 00:14:02.900
<v Alaa Abdulridha>And we are looking forward to welcome more teams as we are growing very fast.

200
00:14:03.040 --> 00:14:06.020
<v Alaa Abdulridha>Last year we were around 13 engineers at SerpApi.

201
00:14:06.020 --> 00:14:15.260
<v Alaa Abdulridha>Today we are around 68 or 65, and we were aiming to hit 100 engineers by the end of this year.

202
00:14:17.780 --> 00:14:25.820
<v Noah Labhart>So I'm curious about scale for the product, but also scale for the projects that you've worked on and the things that you lead.

203
00:14:26.000 --> 00:14:30.640
<v Noah Labhart>I'm curious if there's been interesting areas where you've had to fight scale as you've grown.

204
00:14:30.640 --> 00:14:31.900
<v Noah Labhart>own.

205
00:14:32.020 --> 00:14:40.520
<v Alaa Abdulridha>We started with very minimum amount of API engines, like 30 API engines or less. At the

206
00:14:40.520 --> 00:14:48.700
<v Alaa Abdulridha>moment, we have more than 120 API engines. Each API engine is handling millions, hundreds of millions

207
00:14:48.700 --> 00:14:56.780
<v Alaa Abdulridha>of requests per hour. So that's why I call it, I call at scale. If we combine all the search engines,

208
00:14:56.780 --> 00:14:59.720
<v Alaa Abdulridha>We will have billions of queries per hour.

209
00:14:59.880 --> 00:15:02.560
<v Alaa Abdulridha>All that amount of data is being used.

210
00:15:02.680 --> 00:15:05.940
<v Alaa Abdulridha>And we have more around 120 API engines.

211
00:15:06.080 --> 00:15:07.760
<v Alaa Abdulridha>And we have different teams.

212
00:15:07.940 --> 00:15:12.560
<v Alaa Abdulridha>And we try to share knowledge about each API.

213
00:15:12.920 --> 00:15:15.120
<v Alaa Abdulridha>An API might not be developed by me.

214
00:15:15.200 --> 00:15:19.260
<v Alaa Abdulridha>And I might never have worked on the API before.

215
00:15:19.440 --> 00:15:25.760
<v Alaa Abdulridha>But I try to get the knowledge of the API from the person who developed it.

216
00:15:26.780 --> 00:15:30.320
<v Alaa Abdulridha>multiple APIs at SerpApi, like Amazon API, Home Depot,

217
00:15:30.580 --> 00:15:33.920
<v Alaa Abdulridha>and I pass all that knowledge to my colleagues.

218
00:15:34.220 --> 00:15:36.860
<v Alaa Abdulridha>So we always keep these APIs maintained.

219
00:15:37.260 --> 00:15:41.960
<v Alaa Abdulridha>We keep our SLI very high, and our latency as well.

220
00:15:42.060 --> 00:15:45.760
<v Alaa Abdulridha>We take the latency and the response times

221
00:15:45.760 --> 00:15:46.880
<v Alaa Abdulridha>very seriously.

222
00:15:47.080 --> 00:15:50.960
<v Alaa Abdulridha>We try to keep the response times as minimum as possible.

223
00:15:51.280 --> 00:15:53.560
<v Alaa Abdulridha>And at the moment, after all that,

224
00:15:53.560 --> 00:15:56.880
<v Alaa Abdulridha>but we are the lead in the search data in the world.

225
00:15:58.200 --> 00:16:00.200
<v Noah Labhart>As you step out on the balcony

226
00:16:00.200 --> 00:16:02.880
<v Noah Labhart>and you look across all that you've built thus far,

227
00:16:03.590 --> 00:16:06.040
<v Noah Labhart>at SerpApi, what are you most proud of?

228
00:16:07.080 --> 00:16:10.280
<v Alaa Abdulridha>I'm proud of multiple things.

229
00:16:10.460 --> 00:16:12.920
<v Alaa Abdulridha>Some of the API engines that I built,

230
00:16:13.060 --> 00:16:16.780
<v Alaa Abdulridha>the compliance that I have been worked on,

231
00:16:16.840 --> 00:16:17.900
<v Alaa Abdulridha>cybersecurity compliance,

232
00:16:18.620 --> 00:16:21.720
<v Alaa Abdulridha>and I'm so proud that I have been maintaining

233
00:16:23.560 --> 00:16:32.060
<v Alaa Abdulridha>and managing them. They are very talented and they are the best. And mostly the biggest challenge

234
00:16:32.060 --> 00:16:39.260
<v Alaa Abdulridha>that I faced was the compliance. I had to work on the cybersecurity compliance from scratch,

235
00:16:39.440 --> 00:16:42.040
<v Alaa Abdulridha>going through audits wasn't easy.

236
00:16:44.900 --> 00:16:47.880
<v Noah Labhart>So let's flip the script a little bit. Tell me about

237
00:16:47.880 --> 00:16:51.640
<v Noah Labhart>a mistake you made and how you and your team responded to it.

238
00:16:52.060 --> 00:16:52.700
<v Noah Labhart>We

239
00:16:52.700 --> 00:17:00.020
<v Alaa Abdulridha>haven't made really huge mistakes, but we've been working on some APIs,

240
00:17:00.280 --> 00:17:08.040
<v Alaa Abdulridha>and some of the mistakes that happen at SerpApi sometimes is updating the JSON keys

241
00:17:08.040 --> 00:17:11.360
<v Alaa Abdulridha>where we are not supposed to update the JSON keys.

242
00:17:11.540 --> 00:17:17.120
<v Alaa Abdulridha>We deal with that very seriously, so we try to share knowledge about that.

243
00:17:17.880 --> 00:17:25.020
<v Alaa Abdulridha>key to resolve these issues is to share knowledge so I wouldn't say it was really a huge incident or

244
00:17:25.020 --> 00:17:31.080
<v Alaa Abdulridha>a challenge that I faced but it's something about it's very interesting to to see that once the

245
00:17:31.080 --> 00:17:37.400
<v Alaa Abdulridha>customers start start using our service let's say Naver API they expect that the structure of our

246
00:17:37.400 --> 00:17:46.420
<v Alaa Abdulridha>JSON always always consistent the same and we try to do that mostly but sometimes the search engine

247
00:17:47.880 --> 00:17:51.820
<v Alaa Abdulridha>in a way that forced us to update the JSON structure.

248
00:17:52.200 --> 00:17:55.500
<v Alaa Abdulridha>And one day, one of the engines, which is Naver API,

249
00:17:55.740 --> 00:17:57.100
<v Alaa Abdulridha>we had to update the JSON structure

250
00:17:57.100 --> 00:17:59.980
<v Alaa Abdulridha>and we had to go and inform all the clients

251
00:17:59.980 --> 00:18:01.940
<v Alaa Abdulridha>who are using Naver API.

252
00:18:02.380 --> 00:18:05.420
<v Alaa Abdulridha>Before we pushed the update for production,

253
00:18:05.660 --> 00:18:09.460
<v Alaa Abdulridha>we had to contact each client and explain to them that,

254
00:18:09.500 --> 00:18:13.020
<v Alaa Abdulridha>hey, we're going to update our JSON structure,

255
00:18:13.280 --> 00:18:15.040
<v Alaa Abdulridha>so please keep that in mind

256
00:18:15.040 --> 00:18:17.600
<v Alaa Abdulridha>in case you hard-coded the structure in your code.

257
00:18:17.880 --> 00:18:24.300
<v Alaa Abdulridha>or in your application so we do not break it but it wasn't really a deal breaker for most of our

258
00:18:24.300 --> 00:18:29.900
<v Alaa Abdulridha>customers because most of the their applications were not hard-coded without json structure

259
00:18:31.140 --> 00:18:37.240
<v Noah Labhart>okay so like ai adjacent infrastructure right which is we talked about scale and now we talked

260
00:18:37.240 --> 00:18:41.560
<v Noah Labhart>about maybe mistakes but mistakes can often be lessons learned as well tell me about some of

261
00:18:41.560 --> 00:18:45.700
<v Noah Labhart>the lessons you've learned from operating this ai adjacent infrastructure at scale

262
00:18:47.880 --> 00:18:54.160
<v Alaa Abdulridha>I believe that the most important thing when it comes to infrastructure is compliance.

263
00:18:54.480 --> 00:18:57.160
<v Alaa Abdulridha>This is the thing that I learned the most.

264
00:18:57.320 --> 00:19:05.180
<v Alaa Abdulridha>As we all know that building a convincing AI demo is increasingly easy.

265
00:19:05.720 --> 00:19:14.580
<v Alaa Abdulridha>But building an AI system that remains current, secure, reliable and trustworthy in production is an infrastructure problem.

266
00:19:14.820 --> 00:19:17.420
<v Alaa Abdulridha>And let's focus on secure, reliable.

267
00:19:17.880 --> 00:19:23.980
<v Alaa Abdulridha>I believe that the thing that every business owner should keep in mind is compliance.

268
00:19:24.180 --> 00:19:29.480
<v Alaa Abdulridha>Because you will get to a level once you start your startup.

269
00:19:29.620 --> 00:19:34.360
<v Alaa Abdulridha>You will get into a level where you will be required to work on compliance.

270
00:19:34.480 --> 00:19:40.380
<v Alaa Abdulridha>And you do not want to deal with all that compliance at once and into a short amount of time.

271
00:19:40.380 --> 00:19:47.940
<v Alaa Abdulridha>You will get some clients who will be insisting on only contracting with a compliant company,

272
00:19:48.140 --> 00:19:54.480
<v Alaa Abdulridha>security compliant company, ISO security compliant, SOC 2, type 2 security compliant, SOC 3.

273
00:19:54.640 --> 00:20:00.880
<v Alaa Abdulridha>And we really did not see that coming at the beginning, but later we had to work on it.

274
00:20:00.900 --> 00:20:03.600
<v Alaa Abdulridha>And we had to work on it in a very short period of time.

275
00:20:03.680 --> 00:20:06.780
<v Alaa Abdulridha>We had to, I had to improvise to get that done.

276
00:20:06.780 --> 00:20:18.040
<v Alaa Abdulridha>I had to go through every single documentation the company has, rewrite policies, then set everything up for audit and go for audit.

277
00:20:18.240 --> 00:20:32.360
<v Alaa Abdulridha>And it wasn't an easy process to go through all that because when you go through audit, every single control you have, every single security layer you have will be tested by an auditor, external auditor.

278
00:20:35.740 --> 00:20:37.000
<v Noah Labhart>Let's move forward then.

279
00:20:37.040 --> 00:20:37.960
<v Noah Labhart>This will be exciting.

280
00:20:38.160 --> 00:20:41.040
<v Noah Labhart>What does the future look like for SerpApi for?

281
00:20:41.220 --> 00:20:45.760
<v Noah Labhart>What you're building for the platform, for the product, where the industry is going,

282
00:20:45.880 --> 00:20:46.640
<v Noah Labhart>all the things there.

283
00:20:47.780 --> 00:20:53.460
<v Alaa Abdulridha>AI systems will increasingly use tools and retrieval to interact with live information.

284
00:20:54.720 --> 00:20:59.820
<v Alaa Abdulridha>And I would say here that data is the future.

285
00:20:59.820 --> 00:21:20.320
<v Alaa Abdulridha>And since we know that most of the AI agents uses data and rely on data in training their models and empowering their models to have real-time access to the search data, the internet data, that's why I believe the data is the most valuable asset in the future.

286
00:21:20.320 --> 00:21:30.060
<v Alaa Abdulridha>And let's focus here on not any type of data, but the high quality data, especially the search data, the high quality search data.

287
00:21:30.200 --> 00:21:40.100
<v Alaa Abdulridha>Because nowadays we see that many AI models have been trained on huge data sets, but they suffer of hallucinating.

288
00:21:40.240 --> 00:21:48.580
<v Alaa Abdulridha>They are not reliable, they are hallucinating, and that makes them not trustworthy for the customers and for the users.

289
00:21:50.320 --> 00:21:57.460
<v Alaa Abdulridha>focusing on SerpApi is to provide a very high quality amount of data for AI companies so they

290
00:21:57.460 --> 00:22:04.360
<v Alaa Abdulridha>can train their AI models in the perfect way and reduce that hallucination to the minimum.

291
00:22:04.580 --> 00:22:12.520
<v Alaa Abdulridha>The AI is just a movement without an intelligence and when you add the data to it then you are

292
00:22:12.520 --> 00:22:19.020
<v Alaa Abdulridha>adding the intelligence to that model to that movement. So I believe that we will be focusing

293
00:22:20.320 --> 00:22:26.920
<v Alaa Abdulridha>at the moment to provide the biggest amount of high quality data to the customers so they can

294
00:22:26.920 --> 00:22:32.360
<v Alaa Abdulridha>use it to train their AI models, to empower their AI models to have access to their real-time

295
00:22:32.360 --> 00:22:33.140
<v Alaa Abdulridha>internet data.

296
00:22:34.140 --> 00:22:40.640
<v Noah Labhart>In the future of where we're going with AI generated code, right? It introduces some

297
00:22:40.640 --> 00:22:45.040
<v Noah Labhart>failure modes that are something that we're not used to. It's a bit new, even for strong teams.

298
00:22:45.040 --> 00:22:47.020
<v Noah Labhart>what's the role in data there?

299
00:22:47.240 --> 00:22:50.560
<v Noah Labhart>And I think you've kind of touched on it a little bit here and there,

300
00:22:50.620 --> 00:22:53.140
<v Noah Labhart>but tell me about the role of data and search and AI systems

301
00:22:53.140 --> 00:22:57.340
<v Noah Labhart>and why moving faster generates this new failure modes.

302
00:22:58.320 --> 00:23:00.140
<v Alaa Abdulridha>So as I mentioned before,

303
00:23:00.300 --> 00:23:05.900
<v Alaa Abdulridha>the most important thing when it comes to AI is the quality of the data.

304
00:23:06.020 --> 00:23:11.360
<v Alaa Abdulridha>If the data is low quality, then the model will be hallucinating,

305
00:23:11.780 --> 00:23:14.540
<v Alaa Abdulridha>will produce a very bad quality code.

306
00:23:15.040 --> 00:23:20.740
<v Alaa Abdulridha>But if we provide and train the AI model on very high quality data,

307
00:23:21.100 --> 00:23:25.900
<v Alaa Abdulridha>that AI model will give a better quality code,

308
00:23:26.260 --> 00:23:29.320
<v Alaa Abdulridha>better quality results, less hallucinating.

309
00:23:29.580 --> 00:23:32.060
<v Alaa Abdulridha>And then once you have that,

310
00:23:32.260 --> 00:23:35.980
<v Alaa Abdulridha>then the AI system or AI model can be trusted.

311
00:23:36.600 --> 00:23:40.700
<v Alaa Abdulridha>And it will not only lead to a better quality code,

312
00:23:40.820 --> 00:23:44.440
<v Alaa Abdulridha>but it will even decrease the amount of time

313
00:23:45.040 --> 00:23:48.500
<v Alaa Abdulridha>being taken to finish that task by the AI model.

314
00:23:48.920 --> 00:23:53.540
<v Alaa Abdulridha>And I believe that AI coding compress build time

315
00:23:53.540 --> 00:23:57.120
<v Alaa Abdulridha>and also can compress review time as well at the same time.

316
00:23:59.540 --> 00:24:00.720
<v Noah Labhart>Alaa, let's switch to you.

317
00:24:00.800 --> 00:24:02.480
<v Noah Labhart>Who influences the way that you work?

318
00:24:02.660 --> 00:24:05.780
<v Noah Labhart>Name a person or many persons or something you look up to and why.

319
00:24:07.280 --> 00:24:10.920
<v Alaa Abdulridha>The first one is our company founder, Julian Khaliqi.

320
00:24:11.000 --> 00:24:13.680
<v Alaa Abdulridha>He's the one who inspired me to work in the field

321
00:24:15.040 --> 00:24:19.400
<v Alaa Abdulridha>He onboarded me at SerpApi and he shared all his knowledge with me at the beginning,

322
00:24:19.580 --> 00:24:20.520
<v Alaa Abdulridha>back in 2021.

323
00:24:21.160 --> 00:24:27.340
<v Alaa Abdulridha>I learned most of my knowledge from him and other team members, so he was a huge inspiration

324
00:24:27.340 --> 00:24:28.060
<v Alaa Abdulridha>for me.

325
00:24:28.160 --> 00:24:31.400
<v Alaa Abdulridha>I always looked up to him and I'm still looking up to him.

326
00:24:31.560 --> 00:24:35.760
<v Alaa Abdulridha>He's a very smart, talented person, the best engineer I have seen in my life.

327
00:24:36.000 --> 00:24:39.900
<v Alaa Abdulridha>The second person when it comes to cybersecurity, Dan Kaminski.

328
00:24:39.900 --> 00:24:46.000
<v Alaa Abdulridha>He is one of the people who used to inspire me in the cybersecurity world.

329
00:24:46.100 --> 00:24:53.880
<v Alaa Abdulridha>When I was a kid, when I started my journey, I was in high school and I read about a vulnerability

330
00:24:54.400 --> 00:24:56.600
<v Alaa Abdulridha>that he discovered in 2008.

331
00:24:56.980 --> 00:25:01.760
<v Alaa Abdulridha>And I read about that vulnerability just back in 2011 or 2012.

332
00:25:02.200 --> 00:25:07.880
<v Alaa Abdulridha>I was still just a middle school student and I was shocked about how did he find that vulnerability

333
00:25:07.880 --> 00:25:09.880
<v Alaa Abdulridha>and the complication of that vulnerability.

334
00:25:10.220 --> 00:25:14.160
<v Alaa Abdulridha>And the vulnerability is even difficult to understand.

335
00:25:14.320 --> 00:25:17.240
<v Alaa Abdulridha>And he had a hard time to explain that vulnerability

336
00:25:17.240 --> 00:25:19.480
<v Alaa Abdulridha>to other people in the world.

337
00:25:19.640 --> 00:25:23.560
<v Alaa Abdulridha>And basically, that vulnerability changed the entire DNS

338
00:25:23.560 --> 00:25:27.020
<v Alaa Abdulridha>or how the world is dealing with DNS today.

339
00:25:27.560 --> 00:25:31.220
<v Alaa Abdulridha>So I would say that he changed the entire internet.

340
00:25:31.420 --> 00:25:35.440
<v Alaa Abdulridha>He changed the encryptions when it comes to DNS handling.

341
00:25:35.440 --> 00:25:40.600
<v Alaa Abdulridha>And yeah, he was a huge inspiration for me as well.

342
00:25:40.840 --> 00:25:44.660
<v Alaa Abdulridha>Unfortunately, he passed away a few years ago,

343
00:25:44.760 --> 00:25:47.940
<v Alaa Abdulridha>but yeah, he was one of my inspirational people.

344
00:25:50.360 --> 00:25:51.960
<v Noah Labhart>Let's move into the last question.

345
00:25:52.120 --> 00:25:53.500
<v Noah Labhart>So you're getting on a plane

346
00:25:53.500 --> 00:25:54.960
<v Noah Labhart>and you're sitting next to a young entrepreneur

347
00:25:54.960 --> 00:25:56.700
<v Noah Labhart>who's built the next big thing.

348
00:25:57.020 --> 00:25:58.180
<v Noah Labhart>They're jazzed about it.

349
00:25:58.220 --> 00:25:59.300
<v Noah Labhart>They can't wait to show it off to the world.

350
00:25:59.380 --> 00:26:01.500
<v Noah Labhart>Can't wait to show it off to you right there on the plane.

351
00:26:02.100 --> 00:26:03.500
<v Noah Labhart>What advice do you give that person?

352
00:26:03.540 --> 00:26:04.820
<v Noah Labhart>Knowing where the industry is,

353
00:26:05.440 --> 00:26:10.500
<v Noah Labhart>Knowing where it's going with all the things with AI and the advent of all the technology,

354
00:26:10.760 --> 00:26:11.940
<v Noah Labhart>what advice do you give that person?

355
00:26:12.600 --> 00:26:14.840
<v Alaa Abdulridha>That's a really great question, actually.

356
00:26:15.460 --> 00:26:21.780
<v Alaa Abdulridha>And I would advise that if that person works in our field,

357
00:26:21.920 --> 00:26:27.660
<v Alaa Abdulridha>then I would advise to solve a painful problem you have experienced.

358
00:26:28.200 --> 00:26:34.240
<v Alaa Abdulridha>And I would say validate it early, instrument the system, speak to users,

359
00:26:35.440 --> 00:26:40.000
<v Alaa Abdulridha>And treat reliability and security as product features.

360
00:26:40.320 --> 00:26:42.680
<v Alaa Abdulridha>That's a very important thing to note there.

361
00:26:43.180 --> 00:26:44.300
<v Noah Labhart>That's fantastic advice.

362
00:26:44.520 --> 00:26:46.220
<v Noah Labhart>Thank you for being on the show today.

363
00:26:46.400 --> 00:26:49.100
<v Noah Labhart>Thank you for telling your creation story at SerpApi.

364
00:26:49.580 --> 00:26:50.220
<v Noah Labhart>Thank you.

365
00:26:51.800 --> 00:26:54.720
<v Noah Labhart>And this concludes another chapter of Code Story.

366
00:27:02.540 --> 00:27:05.660
<v Noah Labhart>Code Story is hosted and produced by Noah Labhart.

367
00:27:05.760 --> 00:27:10.560
<v Noah Labhart>Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice.

368
00:27:11.160 --> 00:27:13.380
<v Noah Labhart>And when you get a chance, leave us a review.

369
00:27:13.660 --> 00:27:15.720
<v Noah Labhart>Both things help us out tremendously.

370
00:27:18.500 --> 00:27:20.020
<v Noah Labhart>And thanks again for listening.
