# Turning Academic Open Source into Startup Success ft Databricks Founder Ion Stoica

Markdown copy of https://realalpha.app/v/S_osYy3tsf8/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

Ion Stoica says founders should pursue problems that will matter more tomorrow, then build reliable systems that solve them in production.

- Show: Training Data
- Hosts: Stephanie Zhan & [Sonya Huang](https://realalpha.app/people/sonya-huang/)
- Guest: [Ion Stoica](https://realalpha.app/builders/ion-stoica/) is a professor of computer science at UC Berkeley, cofounder of Databricks and Anyscale.
- Published: Jan 14, 2025
- Length: 1 h

## The best minutes

- [25:20](https://realalpha.app/v/S_osYy3tsf8/?t=1520) [Databricks bet on Spark partnerships, even with competitors](https://realalpha.app/s/databricks-bet-on-spark-partnerships-even-with-competitors/) (4 min)
- [39:28](https://realalpha.app/v/S_osYy3tsf8/?t=2368) [New systems put researchers close to the next problems](https://realalpha.app/s/new-systems-put-researchers-close-to-the-next-problems/) (6 min)
- [45:02](https://realalpha.app/v/S_osYy3tsf8/?t=2702) [AI needs software for heterogeneous hardware and autonomy](https://realalpha.app/s/ai-needs-software-for-heterogeneous-hardware-and-autonomy/) (4 min)

## Also worth watching

- [20:05](https://realalpha.app/v/S_osYy3tsf8/?t=1205) [Databricks found its first users needed data engineering first](https://realalpha.app/s/databricks-found-its-first-users-needed-data-engineering/) (5 min)
- [49:25](https://realalpha.app/v/S_osYy3tsf8/?t=2965) [AI research has lost its academia-government-industry partnership](https://realalpha.app/s/ai-research-has-lost-its-academia-government-industry/) (4 min)
- [9:23](https://realalpha.app/v/S_osYy3tsf8/?t=563) [Enterprise AI buyers want control when they move to deployment](https://realalpha.app/s/enterprise-ai-buyers-want-control-when-they-move-to/) (4 min)

Skip the AI product-positioning discussion and compound-AI explainer, plus the closing rapid-fire questions.

## Full analysis: Ion Stoica says AI products must work beyond demos

- AI demos can show an impressive instance, but products must work across cases, Stoica said.
- His Spark history supports watching users and solving real problems, while infrastructure forecasts remain predictions.
- Budget for data work, deployment control, and reliability before calling a pilot a product.

Its 6 sections, what it means for you and what to watch are on [the page](https://realalpha.app/v/S_osYy3tsf8/#analysis), free with an account:

- [9:37](https://realalpha.app/v/S_osYy3tsf8/?t=577) Enterprise deployment demands more than a convincing demo
- [20:11](https://realalpha.app/v/S_osYy3tsf8/?t=1211) Customers showed Databricks where the work began
- [25:23](https://realalpha.app/v/S_osYy3tsf8/?t=1523) Partnerships helped Spark spread without guaranteeing Databricks
- [39:31](https://realalpha.app/v/S_osYy3tsf8/?t=2371) Adopted systems can reveal the next research problem
- [45:08](https://realalpha.app/v/S_osYy3tsf8/?t=2708) AI demands software that hides growing infrastructure complexity
- [49:51](https://realalpha.app/v/S_osYy3tsf8/?t=2991) AI research has lost its three-way partnership

## Summary

Ion Stoica is a UC Berkeley computer science professor and co-founder of Databricks and Anyscale. The episode describes how research projects Spark and Ray led to the companies, and Stoica discusses connecting research with industry from the start.

Stoica argues that AI companies must move beyond impressive demos to reliable products that solve valuable problems in production. He explains how Databricks grew from serving data scientists into data engineering, and how partnerships helped Spark spread while Databricks aimed to become the best place to run it. He says researchers and founders should choose important problems by following trends and building systems that expose new needs. He also sees complex infrastructure, autonomous AI applications, and access to research resources as major challenges.

### Minute by minute

- [1:41](https://realalpha.app/v/S_osYy3tsf8/?t=101) **AI returns Databricks to its roots.** Stoica says Databricks has aimed to help customers get value from their data, and Spark began in part to scale machine learning. He sees AI as a return to that focus, but says impressive demos are not products: production requires accuracy, reliability, fewer hallucinations, and valuable use cases.
- [5:47](https://realalpha.app/v/S_osYy3tsf8/?t=347) **Enterprises want control over models.** Stoica says Databricks released an open model to serve enterprise needs for privacy, auditability, and control, including the ability to host models in customers’ own environments and fine-tune them. He points to Mosaic’s data and training infrastructure as an advantage for optimizing models, including for coding assistants.
- [9:13](https://realalpha.app/v/S_osYy3tsf8/?t=553) **Customer data shapes AI deployment.** Stoica says enterprises often want to fine-tune models or use retrieval with their own data, then deploy within their own VPCs to protect security and confidentiality. He says companies may start with proprietary models, but once an application proves its value, control, security, cost, and model choice matter more.
- [17:14](https://realalpha.app/v/S_osYy3tsf8/?t=1034) **Compound AI works like software.** Stoica describes compound AI systems as applications made from multiple models, agents, and tools. A system might route math and programming prompts to different models, or use search and calculators; he compares the approach to combining software components.
- [19:27](https://realalpha.app/v/S_osYy3tsf8/?t=1167) **Databricks expanded beyond data science.** Stoica says Databricks initially built a hosted Spark product for data scientists, but many customers lacked the data needed for machine learning. They used Spark for data engineering instead, prompting Databricks to serve that need more directly before expanding into further data and AI products.
- [24:57](https://realalpha.app/v/S_osYy3tsf8/?t=1497) **Microsoft partnership accelerated growth.** Stoica says Databricks pursued partnerships to make Spark a standard, including with Microsoft, despite the possibility that partners could compete. Building Azure Databricks took tens of engineers a year, he says. He believes the company would have succeeded without the partnership, but taken longer.
- [30:35](https://realalpha.app/v/S_osYy3tsf8/?t=1835) **Commit to a credible path.** Stoica says Databricks simplified its strategy to making Spark win and making Databricks the best place to run it. He argues that a small company needs conviction and must commit to a promising path, even when other routes to success might exist.
- [33:45](https://realalpha.app/v/S_osYy3tsf8/?t=2025) **Choose the problem, not just the field.** Stoica says problem choice distinguishes researchers who are already strong problem-solvers. He credits Berkeley’s experimental culture, interdisciplinary labs, and close industry ties with helping researchers see important technical needs and take risks in new areas.
- [40:13](https://realalpha.app/v/S_osYy3tsf8/?t=2413) **Building systems reveals new problems.** Stoica traces Spark to needs exposed by big-data work: Hadoop was too slow for a Netflix recommendation challenge, and in-memory processing helped address analytics bottlenecks at Conviva. He says that when people use a new system, its builders are well positioned to understand the next problems in that area.
- [45:02](https://realalpha.app/v/S_osYy3tsf8/?t=2702) **AI needs simpler infrastructure and systems.** Stoica says AI demand is outgrowing single processors while computing infrastructure grows more distributed and heterogeneous, so software must hide that complexity from developers. He also says moving AI applications from human assistance toward autonomy requires greater reliability, predictability, and accuracy.
- [49:25](https://realalpha.app/v/S_osYy3tsf8/?t=2965) **Research needs broader support.** Stoica says collaboration among academia, government, and industry has weakened, leaving universities with fewer resources than large companies. He worries this could limit work on new model architectures and argues that open source and broader access can help innovation, even as scarcity can also spur it.
- [53:42](https://realalpha.app/v/S_osYy3tsf8/?t=3222) **Nvidia and new lab projects.** Stoica expects Nvidia’s market share to fall, partly because of concerns about monopolistic behavior, and names Google’s TPUs as a leading competitor. He highlights vLLM and Chatbot Arena as projects from his lab, citing vLLM’s rapid growth and the value of observing how models perform.
- [55:44](https://realalpha.app/v/S_osYy3tsf8/?t=3344) **Distillation can lower inference costs.** Stoica expects companies to keep building larger models, while using distillation to reduce the cost of serving them. He says smaller models trained on larger models’ outputs have worked well, and sees that as evidence of the importance of training data.
- [57:06](https://realalpha.app/v/S_osYy3tsf8/?t=3426) **Build for production, not hype.** Stoica says he wants AI systems to become more predictable, accurate, verifiable, and easier to debug. His advice to founders is to focus on a real problem rather than hype, understand it, and test whether a valuable version can reach customers in production.

## Transcript

Training Data, hosted by Stephanie Zhan and Sonya Huang, with Ion Stoica.

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[0:00](https://realalpha.app/v/S_osYy3tsf8/?t=0) in general this was our approach we are going to be aggressive also about partnerships even though the partners could compete and overlap because you have to trust yourself that at least when it comes to spark you can build the best products we are you know kind of saying internally well you know if someone else is building a better product for spark then we deserve to lose right So that's kind of always was the confidence that we can build the best products for Spark. And eventually, if Spark wins, we are going to win. Hi, everyone. Welcome to Training Data. Today, we're excited to welcome Jan Stojka, Professor of Computer Science at UC Berkeley and co-founder of both Databricks and AnyScale.

[1:01](https://realalpha.app/v/S_osYy3tsf8/?t=61) He has a uniquely exceptional career as a leading professor and founder of companies at truly legendary scale. Today, we dig into questions like Databricks positioning in AI, how research projects like Spark and Ray have led to the founding of Databricks and AnyScale, how he ties his research projects closely to industry from day one, new projects out of his lab like VLLM, MemGPT, LMSys, and Vicuna, and what research fields he's thinking about next. Jan, thank you so much for joining us today. We're really excited to have you on the pod. To kick things off, we'd love to hear a little bit about where Databricks aspires to fit into the overall ecosystem, especially with some of the recent launches. What are you personally most excited about first thanks for having me here so um i think with databricks always we wanted to provide the platform an intent platform which helps our customers get most of the value out of their data and one of the best ways today to get value out of the data it's using this kind of new developments in AI including large language model and and everything else and the one thing is that to note that this was always our vision from day one actually Spark was created one of the main

[2:32](https://realalpha.app/v/S_osYy3tsf8/?t=152) reason to create it, Matej, when I built it, it was to solve, to speed up classical machine learning algorithms, right, and to scale them up, right, and so in some sense, for us, it's full circle. We started with AI, I use machine learning, it's not classic machine learning, and right now we are back and doing more and more AI because to take advantage and to create value out of the data. So you mentioned that, you know, you were founded around. you know, enabling classical machine learning, how do you see the current AI moment as same and how do you see it as different? And I'm curious, what are the specific things you're doing for this moment in time, like the mosaic acquisition, things like that?

[3:21](https://realalpha.app/v/S_osYy3tsf8/?t=201) Yeah. So certainly the momentum around AI, it's on a different level today, right? You just look at the investments out there, right? That should tell the, you know, big part of the story. Um, so I think that, um, obviously is like, um, what, what the way we are looking at is that, uh, taking advantage and being successful is AI, um, it's not, it's not easy, right? It's like the AI ecosystem is growing in complexity. It's not just a simple call to a model, right? You need, you have so many techniques now, like rag and raft and, right? to improve the accuracy of your application using AI, right?

[4:12](https://realalpha.app/v/S_osYy3tsf8/?t=252) Obviously, everyone is excited about AI because it solves so many problems and there are so many, you know, generate so many headlines. But still, it's not what you want. You want a product of AI. A lot of things still we are seeing today are fantastic demos, right? And demos are inspirational. and when people see demos what you know whatever charge gpt solve this kind of problems olympics math problem it's very easy to think that wow doing that is going to do everything right so but going from demo to production it's a like i said it's a big step a demo means that you need to find an instance at least an instance to be really impressive right in production so is like is there exists such instance right but when you go from the demo to the product when you have a product it has to work for all cases right so that's kind of the big gap so that's why where the effort is to improve the accuracy improve reliability of course eliminate hallucinations as much as you can and really also to find where it provides the best value you know because, you know, you can apply AI to 1,000 use cases, but which are the use cases which are going to provide you the biggest value?

[5:37](https://realalpha.app/v/S_osYy3tsf8/?t=337) I think that's what we are also trying to help our customers with. So to navigate that, how to successfully apply AI to their product, to improve their services, to their business. In that vein, one of the most interesting things that I thought came with the Databricks AI launch which was the new open general purpose LLM created by Databricks, dBricks. What was the reason behind training your own models, open sourcing them? And what do you think are some of the best use cases for that model? Yeah. So I think the main, if you look at like our main market, it's enterprise. enterprise customers they do have a lot of concerns about data privacy confidentiality and obviously they kind of want control is not only that they want auditability right they want to be able to audit what data is used what results have been have been used and what decision have been made with what data the decision have been made and so that's why in in general the enterprises Everything being equal, migrate towards the open source models we can host, you know, on their machines or in their VPC and so forth.

[6:57](https://realalpha.app/v/S_osYy3tsf8/?t=417) So it's one of the reasons for releasing the D-Bricks is to help our customers. And then the customers say, you know, in many of these cases, they start from this model and then fine tune with their own data and to optimize for their particular use case. Right. So and it's again, so our enterprise customers, they want, you know, open source models. They want kind of control, as much visibility as they can. They want privacy and confidentiality, especially in the, you know, in the recent light of, you know, of the breaches, which are widely published. The other thing is that, you know, the DNA of Databricks was, has been open source.

[7:46](https://realalpha.app/v/S_osYy3tsf8/?t=466) It's not only Spark, but Delta and MLflow and many others. The other thing I thought was fascinating about DeepRx is its excellent programming abilities. What do you think has made it such a capable code model, especially even compared to something like CodeLama 70B? Look, I think it's about, obviously, it's about data and how you train it. And it's one thing, I think, you know, one of the major databricks advantage is Mosaic, right? We have also the entire infrastructure for training. We have not only about the data, but the entire infrastructure of training and fine-tuning. And that makes it much easier and most cost-effective to optimize models for different use cases.

[8:37](https://realalpha.app/v/S_osYy3tsf8/?t=517) And obviously, the co-pilot programmability is one of the very important use cases in these enterprises. Because software engineers are still very expensive. Yes, interesting. So making the people you have, and it's not only about that. It's like hiring top software engineering is very difficult, right? If you are a large company, like maybe, I don't know, 4G or something like that. And so making those people productive, it's extremely important and critical for their business. You mentioned Mosaic as a key part of the strategy. I guess, what do you think are your most important chess pieces in this kind of AI battleground?

[9:22](https://realalpha.app/v/S_osYy3tsf8/?t=562) I imagine Mosaic is one of them. And, you know, are most of your enterprise customers looking to train their own models? And how does, you know, how does Mosaic and your other acquisitions fit in with your customer needs? Yeah. So I think there are, it's like, there are a few enterprises who would like, so it's again, it's pre-training. And then it's fine-tuning and using the model on your own hardware, in your own VPC, on your own machines, you know, you rent it your own. So as you may expect, there are a few which are doing pre-training, but there are still a few doing want to pre-training on their data, have enough data.

[10:09](https://realalpha.app/v/S_osYy3tsf8/?t=609) A lot of them, they want to do fine-tuning, right? Because, look, if you are an enterprise, right, and a company, right, and you want to improve your business, right, what do you have? What do you have and which others don't? The thing you have which others don't is the data, the data about your business, about your users, right? Right. So, therefore, because this is something you have and others do not, you want to take advantage of that, right? So how do you take advantage of that? Again, there are many ways and you try different ways to do it, right? One is about fine-tuning user data and you have an open source model, you fine-tune on that, right? The other one to use a rack, right? And things like that. And so you are going to do any of those, but then you want to do, like I said, in your own VPC, right? To preserve security, to have you know 10 for security perimeter perimeter you want to do it in order to protect confidentiality of your users and obviously right now with gdpr the california consumer privacy act and so forth they're all of regulation and the number of regulation is going to increase so the the fact that you can of having an open source models you can fine tune you can use this drag

[11:38](https://realalpha.app/v/S_osYy3tsf8/?t=698) in your own VPC, it's a very compelling value proposition. And are you finding that most of your customers want to go that approach versus, you know, OpenAI and the very powerful closed source models in the market? I think enterprises, and still we are still early on, and there are many enterprises obviously using OpenAI for different use cases, different applications. And I'm sure OpenAI and Microsoft Azure will come with new products to provide better confidentiality, better security. But at the end of the day, what I was saying is that everything being equal, right?

[12:25](https://realalpha.app/v/S_osYy3tsf8/?t=745) **Ion Stoica:** As an enterprise, I will prefer more control.

[12:31](https://realalpha.app/v/S_osYy3tsf8/?t=751) security and strategic, right? It's like it's less kind of locking or things like that, right? So I think that's what we are saying. So if as open source models are going to catch up with the proprietary models, in particular in the use cases which matter for the enterprises, it doesn't need to be, you know, perfect, right, for all the particular use cases, you just need to be very competitive where it matters, then, you know, enterprises will prefer these solutions on which they have, you know, more control and more secure. And how far away do you think we are from that moment? Like, do you think we're there today where all else is equal?

[13:21](https://realalpha.app/v/S_osYy3tsf8/?t=801) Or when do you think we crossed that threshold? In terms of the open source versus proprietary? Yeah, open source being, you know, on par, or all else being equal for the core use cases? So you have a lot of use cases, you know, it's again, it's the open source plus the data. And right now the application are more complex. It's not just a call to a large language model. You have this kind of, you know, it's what it called, you know, you compose, you have, you know, application which build from many components and that's what it's called compound AI. And so actually it turns out that, you know, if you can, you know, you can build an applications for doing, you know, recommendation or things like that or, you know, for programming for a particular copilot for a particular tool, you can actually do better than even something like OpenAI on the latest ChatGPT because you have more data. And the other things about, you know, Databricks, which I think there are also announcements about that, is that with a kind of Unity catalog and things like that you have access and you know also about the structure of the data which helps you tremendously to improve the accuracy of your applications right so it's not only the model

[14:59](https://realalpha.app/v/S_osYy3tsf8/?t=899) right it's everything else you have around it and the quality of the data you you feed it in so i think that's uh it's it's it's a data stupid like you'd say right like at the end of the day It sounds like control and security are two primary areas of things that enterprises really care about that you've noticed. And Databricks, obviously, has a tremendous advantage with having access to data as well to help these companies use models. Control and security for the customers. Exactly. What about some other factors have you noticed that they also care about? about is how much does cost matter how much does diversity of other models matter i think um obviously cost is important and um it's like this right first of all you know you want to you know it's the initially the important thing is about the value yeah right can you provide the value right it's like so that's the first thing and at that stage cost is not as important right Right. And in here, actually, in some of these early stages where people also try to use the most powerful model like OpenAI and things like that.

[16:14](https://realalpha.app/v/S_osYy3tsf8/?t=974) But once you cross that and you have a use case, which you conclude that is good, add value to your business. Now you want to scale it up. Right. And now you are talking about having more control and more security and all of these things, protect confidentiality of the data, privacy of your users and so forth. And now basically people consider how they are going to deploy it. And this is where having multiple choices and having, like you said, more control, security, it matters. and where open source models and platforms like Databricks are very valuable, right? And again, it's also all the other components which are together in Databricks, like I mentioned, like Unity Catalog and everything else to increase the value of your applications.

[17:09](https://realalpha.app/v/S_osYy3tsf8/?t=1029) Yeah, super interesting. I'd love to talk to you about compound AI systems. I think you guys probably coined or popularized the term And it seems like that's a lot of what the industry is latching on to now. Maybe for our audience, can you explain what is a compound AI system and what our enterprise is thinking about when they're building these? Yeah. So a compound AI system, it basically consists of multiple components, multiple calls to light-language models or agents. And it's very much you can think about when you write a program, you have multiple components you have different function procedures to do different things and then you then put them together to create the program the same is very similar here right you can use maybe one model to parse the data to extract the data you can use and then you can use for instance depending of the prompt, you may use a model, you know, if the prompt is about mass problems, right? It's like you can use one model. If the prompt is about maybe about programming, you may use a different model, right? And then you may use, for instance, about formatting the result, right? That's another one you may use it for instance now more and more you are talking about agents and with agents you

[18:41](https://realalpha.app/v/S_osYy3tsf8/?t=1121) have to you know you call external services or functions like search or you can use a calculator and things like that so now you have different models you can do a better job and they are small models actually to take the prompt and convert it to a function call right so that's kind of what it is but the way to think about is like this the conceptual is like you write a program has different components and make it easier to develop and deploy and manage the same thing you want to apply to AI applications. So like a collection of smaller components that work together where some of the parts is greater than the one monolith that you're replacing.

[19:30](https://realalpha.app/v/S_osYy3tsf8/?t=1170) I'd love to dive a little bit into the Databricks story quickly, which I think is an incredible legendary journey over the last decade, but with a lot of nuances that I think maybe many folks don't yet understand. From today, it looks like you were building the right company at the right place at the right time. But the actual nuance is that Databricks was originally started originally for data scientists. It happened to cater well to machine learning workloads because of all the work that you were doing in data. And over time, you made the right strategic decisions to actually really grow with the AI market.

[20:05](https://realalpha.app/v/S_osYy3tsf8/?t=1205) Can you share a little bit of some of the learnings and journey that got you to where Databricks was today? Yeah, I do think that, very happy to. I do think that a lot of things, it's also about being the right time and the right place and things like that. It's being lucky or I think that's all of this is true. and there are many things needs to go right to be successful some of the things you control some of the things you do not control when we started indeed we are focusing to build a product a cloud product hosted product for data scientists right we have this kind of notebook and and we have provided hosted spark and and and we targeted data scientists and we targeted data scientists it was one of the reason we targeted data scientists because again we all have like i mentioned spark early on also targeting machine learning application machine learning workloads And at that time, there were not many data scientists.

[21:19](https://realalpha.app/v/S_osYy3tsf8/?t=1279) It was like 2013. However, when you look around, most of the universities already have data science programs, right, degrees. You're starting to offer data science degrees and you're saying, okay, we are, it seems a good, you know, pass forward, a good market. And I remember you're looking at LinkedIn to see how many data scientists are there because our users, not initially, they're not as many. Thousands. Especially when you compare. with the database analyst and engineers and so forth. He started to build and I think it was, you know, a reasonable, you know, good product. And then, you know, we started to grow quickly in terms of the number of, you know, customers.

[22:09](https://realalpha.app/v/S_osYy3tsf8/?t=1329) Initially we had small customers and, but then, you know, after, and still, you know, the interactive analysis of data science has been for a long time. it's actually one of the biggest workloads, in particular in terms of revenue, because the interactive workloads are priced higher than batch workloads. And I remember that we sold to these companies to use Databricks, and they are aspirationally buying it to do data you know to the data science ai and when um you know after a few months we go to them because we didn't go much you know earlier uh because we saw that they are doing well their usage was growing and everything seems good so no no reason to worry so we went back to them and said you know to see what they are doing maybe we can write a blog post or whatever they are doing right is like marketing and everything the surprise is that very few are doing actually machine learning at that time and we ask them what what happens right or still well it turns out that

[23:23](https://realalpha.app/v/S_osYy3tsf8/?t=1403) **Ion Stoica:** obviously that in order to do machine learning you need data like we discussed early on and they

[23:29](https://realalpha.app/v/S_osYy3tsf8/?t=1409) realize that for the particular applications they wanted they don't have the data they need so they need to now to put maybe to add new logs you know to collect new logs in their products and things like that um and also they need to clean up the data uh you know curate the data and so forth so now the we are lucky because spark was very good also for data engineering right for data processing right it's a data processing tool at the end of the day and so they are using using spark for for uh for data engineering um and and then obviously we we start focusing also on serving data engineers much more than before um and uh and you know that's how we started and and then obviously when later now you know got the you know data engineering right and still have all these data scientists exploring and starting to build models and then it is a very natural extension to start to add more products for our user, for our customers like I mentioned to get more value out of their data and that meant building machine learning models and using the open source models.

[24:57](https://realalpha.app/v/S_osYy3tsf8/?t=1497) Very interesting. I want to talk about the Databricks Microsoft. partnership. I think that was the stuff of legends. And I think still probably one of the only case studies of a successful, like truly transformative partnership. Maybe walk us through what that partnership was. Was it a bet the company moment at the time? Do you think Databricks would have become what it became if you hadn't struck that partnership? Maybe just talk about that. Look, obviously, the partnership with Microsoft was a great partnership for us. The one thing I want to say, and this is most visible, from day one, we were actually very focused on the partnerships.

[25:42](https://realalpha.app/v/S_osYy3tsf8/?t=1542) Our idea was always, you know, like we know we make Spark successful, you know, hopefully de facto standard for data processing. And then we make Databricks the best place to run Spark. So early on, actually, you know, we started, you know, a few months in the life of the company, we had this kind of partnership with Cloud Data. And then we had with Hortonworks. And this partnership was mainly because we are, you know, to advance Spark, right? Because Spark, it was created in Hadoop ecosystem, right? And these are the Hadoop companies, right? Right. And so we had this partnership, our data stacks and so forth.

[26:31](https://realalpha.app/v/S_osYy3tsf8/?t=1591) So this was like in the first year or so, we had all this partnership. Despite the fact that some of these companies, we knew that they could become our competitors. right because you know just making them is making and helping them um to um to deploy to manage and to sell spark based services right it's like so so in some sense you know uh the microsoft is like It fits our kind of approach of trying to, you know, to strike as much, you know, do partnerships with other, being aggressive, doing partnership with other, you know, organizations in the ecosystem. Even though, again, in some cases, it was not a clear cut whether they are going to compete with us or not.

[27:32](https://realalpha.app/v/S_osYy3tsf8/?t=1652) Just growing the ecosystem and growing Spark, that was the priority. We even had, at some point, a partnership with Snowflake. So it was very... It requires a lot of heavy lifting. left lifting so we always look for a partnership which has which are meaningful right and I think great negotiation you know Ali and so forth did a fantastic job there but at the end of the day we also need to commit to it. It's like it took to build the Azure Databricks. So we are an IWS before that. It took, you know, tens of engineers one year and you are a small company at that point. So it was a huge commitment and a huge bet also from our perspective to do that.

[28:28](https://realalpha.app/v/S_osYy3tsf8/?t=1708) and yeah and we you know I think engineering and everyone executed very well and it was a successful product right and you know Microsoft was great partners you know and yeah this is what happens

[28:48](https://realalpha.app/v/S_osYy3tsf8/?t=1728) **Ion Stoica:** we are obviously a bit lucky but in general this was our approach we are going to be aggressive also about partnerships even though the partners could compete and overlap because you have to

[29:03](https://realalpha.app/v/S_osYy3tsf8/?t=1743) trust yourself that at least when it comes to spark you can build the best products we are you know kind of saying internally well you know if someone else is building a better product for spark then we deserve to lose right so that's kind of always was the confidence that we can build the best products for Spark, and eventually if Spark wins, we are going to win. Do you think that Databricks would have become the company it is today without that Microsoft partnership? I think so. It maybe would have taken a little bit longer, but yeah, I think so, right? We would have still have a good, very good offering on Azure, like we have with GCP.

[29:46](https://realalpha.app/v/S_osYy3tsf8/?t=1786) It would have taken a bit longer, but I don't see any fundamental change in dynamics, right? Because one of the advantages of Databricks, of course, is once Spark won't, and we could provide the best product for Spark, we are in a very strong position. And compared with other clouds, remember that one of our advantage, like everyone else's advantage, like Confluent and so forth, is that you can provide a service on multiple clouds, right? And multiple clouds is, you know, multi-cloud has been, you know, more and more very strategic for, especially for large enterprises. We do not want necessarily to be locked in or to want the one choice.

[30:37](https://realalpha.app/v/S_osYy3tsf8/?t=1837) I love the confidence and conviction that you have in Spark and your own execution abilities internally, but that married with the practicality and aggressiveness of winning as a business and pursuing the right partnerships and doing whatever it takes to win. Yeah, yeah. I mean, you try to simplify things. That's what I was saying. Initially, when I said, look, we have to make Spark win. You know, there are many, I remember, we look at all these combinations, it's like Spark Queens, the product fails, right? Spark loses, but we have a product which is successful or both fail. No, that's not very interesting or both are successful, right?

[31:21](https://realalpha.app/v/S_osYy3tsf8/?t=1881) And we convince ourselves that, you know, we need to bet on Spark to win because that's the most likely way also for the product to win. Again, for better or worse, right? But sometimes, you know, there could be many ways to success, right? And in retrospect, you cannot go back and, you know, and try other alternatives. Maybe there are better alternatives at that point. But it's important to commit to one sink, which hopefully it's a reasonably good solution, a good pass forward, right? Again, there are many, many passes to the peak, right? The most important is to commit to one, which leads to the peak, right?

[32:00](https://realalpha.app/v/S_osYy3tsf8/?t=1920) It's like not the shortest one, not the easiest one. It may not be, but it has to be one to get there. And to the highest peak. And that's why I said, okay, spark has to win, right? Right. And we have to build, you know, the best need to be the best place for Spark. And then we are saying, you know, to be the best place for data and AI, we need to eventually we knew and we assume that if you are to be hugely successful, you are going to, you know, to go beyond Spark. Yeah. Right. It's like that's why the name of the company, Databricks, is not Spark Labs or something like that. Yeah, yeah. Interesting.

[32:35](https://realalpha.app/v/S_osYy3tsf8/?t=1955) So that's kind of, you try to simplify it. Once you do that, then you start to execute. Okay, so you want to make Ray successful as an open source. So you want everyone to use it. So that's why you do Cloudera and try Horton, and so forth to do this partnership. Because at that time, there are other solutions. You know, people knew that Hadoop MapReduce, you know, these times have passed, so to speak. So they are talking about new systems. There are like TES, which actually Hortonworks has this project and so forth. So that was very important. And then it was also for data science. It was kind of when we bet it's like it's a niche and, you know, and we saw that we can build the best product for it.

[33:27](https://realalpha.app/v/S_osYy3tsf8/?t=2007) So, you know, so that's kind of. And you need to have ultimately confidence in what you bet on, right? You have to bet, right? Because you are a small company, right? If you don't bet, how you are going to win, right? Everyone, right? And then you need to have some level of conviction, right, to do it. And, yeah. I'd love to kind of pull on that thread and switch gears a little bit into tying a lot of the entrepreneurial path that you have with a lot of the academic and research background that were the roots for the beginnings of these companies. You have a very unique career as both a leading professor and a founder of multiple unicorn and decacorn companies.

[34:10](https://realalpha.app/v/S_osYy3tsf8/?t=2050) I don't think there's anyone who comes close to pursuing both disciplines at the scale of success that you have. Maybe specifically, you know, Ray with any scales, Ray 2. AnyScale, Spark 2 Databricks. Take us into your head, what is the process in which these research fields start to ruminate in your mind? When do you kind of continue to give them resources to develop? And then when do you know that it's the time to then start a company to pursue that in a better, more open and fast way? That's a good but hard question. So I think that And by the way, I like to preface, you know, to say that, to start with saying that it's obviously also a lot of luck involved and, you know, being in a place like Berkeley and having fantastic students and colleagues around you, you couldn't do without that, right?

[35:14](https://realalpha.app/v/S_osYy3tsf8/?t=2114) It's like, it's their merit probably more than mine. so um but one thing i think is that i've been always trying to focus um it's on the problem yeah right and actually when um even to my students i'm telling them is like the most one of the most important things you need to do is to figure out what problems you are going to work on yeah right because it's like everyone which comes to berkeley or this top schools, they are one thing they have in common, they are good problem solvers, right? They have good grades, good scores, you know, write papers, paper is about solving a problem. So therefore, if all of them are good problem solvers, the differentiator is a problem you are working on, right?

[36:04](https://realalpha.app/v/S_osYy3tsf8/?t=2164) Yes. So you start with that. And also, I think it's like, especially at Berkeley, you get exposed of kind of not only new ideas, but willingness to take risks and get into new areas. In some sense, and this is what I like about Berkeley, if you look traditionally, Berkeley, among top schools, they are the first to open new areas is like, of course, the RISC processor, it was with Stanford as well, but databases, networking, sensor networks, even in open source with the Unix BSD, you know, TCP IP, right, part of the SCIB. So they are always kind of more, you know, a little bit trying to experiment.

[37:05](https://realalpha.app/v/S_osYy3tsf8/?t=2225) So I think that's kind of, you know, that's kind of culture. I really resonated with it. And then the other thing that happened with Berkeley, we have these labs, which are like five-year labs, which basically each lab has kind of a vision. And, you know, it's a group of faculty coming together, which believe in that vision and with their students and try to make it happen over, you know, five years. And this, you know, has a lot of great, you know, impact, you know, like all the way it started. This tradition started 40, 50 years ago with Dave Patterson, Randy Katz and others. And they built, you know, risk rate, redundant area of inexpensive disk.

[37:49](https://realalpha.app/v/S_osYy3tsf8/?t=2269) Now network of forestation is commodity. You know, this is everyone is building now this huge cluster of commodity machines, servers. and again and many more so there are this kind of elements and these labs are it's a very strong relation with industry right connections they are funded since I came when I came actually this was one change happened before these labs were also supported by government in particular DARPA but it was at the point in which that kind of at least that particular DARPA funding dried yeah So kind of when I came to Berkeley, there was this kind of now we need to go and remember, you know, getting more money from industry.

[38:39](https://realalpha.app/v/S_osYy3tsf8/?t=2319) I remember from Google, first time we got, and it was unheard by then because you were asking for $500,000 per year, right, for four years. But, you know, we got, and this is what we got. So now you have also this kind of very tight connection with the industry. It's a very good environment to see the problems, right? To understand the problems, right? And then you can see that. And you try to think about also about, obviously, about trends, right? Because trends are important, right? You have to be aligned with the secular trends, right? You need to bet on the right trends because these are things you cannot change, right?

[39:20](https://realalpha.app/v/S_osYy3tsf8/?t=2360) Or it's very hard to change. So you are not aligned. And it's not good. And these trends, actually, there are multiple trends. And the multiple trends kind of open gaps between them. And these are kind of opportunities for problems. Like, for instance, for, you know, big data. It was clear you have more and more data. And the amount of data people collecting were just growing. Right? It was pretty clear, right? It's like Google has seen that years before and they built all the systems. But now everyone wants to emulate that, right? That's why Hadoop was created, right? And then you see, you start to see, again, you look at that and you are working in that area and we are, you know, we have all these Hadoop people coming to our retreats on this kind of labs and we are, you know, friends with them.

[40:18](https://realalpha.app/v/S_osYy3tsf8/?t=2418) And we started to see problems. and use it and then you try to use them and then you just like for instance um there are two things which happened with Hadoop one thing it's about um a group in in in our lab oh by the way and the other thing what happens in these labs they are interdisciplinary yeah right because people You know, we are in this kind of rad lab, it was people from machine learning, systems, databases, networking, right? So there are these groups of Michael Jordan students which wanted to compete to this Netflix challenge. that Netflix released some data basically and asked for people to provide recommendations, come up with recommendation, to build recommendation algorithm systems so that, you know, to beat their own recommendation.

[41:09](https://realalpha.app/v/S_osYy3tsf8/?t=2469) So they come to us and, okay, it's a lot of data. What can we do about it, right? We want to, and, you know, told them to do, yes, Hadoop. But Hadoop was very slow, right, because, you know, And then, you know, Matei put together something quickly for solving this problem in which the data was kept in memory. The other thing I've seen is about, like, I have a previous company, Conviva, and it's about an analytics company. And kind of it was very slow and we tried to do it, you know, it's like you took four auto queries and there is no way to do it. And again, keeping the data in memory was a solution.

[41:50](https://realalpha.app/v/S_osYy3tsf8/?t=2510) It's one solution. So that's kind of how we started. That's one thing, right? And you look at the trends, yeah, it's obvious, right? It's like on one hand, you know, have more and more data growing faster than the more slow. So you need to have, it's not going to fit on one machine, and therefore you need to use multiple machines. And then the only other question is that, are you going to have data sets that are going to fit, important data sets are going to fit in memory, right? It's like, that's kind of the first question. And they are, because people, when they even for when they are doing for instance ad hoc query you notice that when you look at the data from different cluster had to cluster from yahoo and microsoft and and and others and and we notice that in a lot of cases actually when you do queries and you're doing analytics they are doing not on the very rare on the huge on all the data you do say for the most recent data you want to see what happens yesterday what happens last week something like that so once you get that and you know you have a lot of cases you know the data is fitting in memory and memory is still growing quite quickly um at that time you know that's you kind of you're pretty you know you you connect the dots yeah right and then it's about

[43:05](https://realalpha.app/v/S_osYy3tsf8/?t=2585) solving the problem and and the other thing is happens and why why they are related uh you know i'm talking about academy and industry because i'm telling you know people you know some people you know there are people in academia push back and say you know it's a lot of engineering here well this is not you should do in in academia but one thing is what i've what i've always found it is very satisfying if you build a system right in a new area and that system it's used by other

[43:34](https://realalpha.app/v/S_osYy3tsf8/?t=2614) **Ion Stoica:** people then you can you are in the in the best position to understand the new problems in that area because people are going to use your system in different ways, right?

[43:48](https://realalpha.app/v/S_osYy3tsf8/?t=2628) And then, you know, you understand that, right? And going back, if you know the problem, you are also in a good position to solve it, right? So actually, it directly helps you with your research, right, to be ahead. Because otherwise, what is the choice? Well, you are finding the problems, right? Of course, there are problems, very good problems in theory, which are not solved by, you know, decades and so forth. But other things that people do, they go to Google and Microsoft and so forth, spend time and to understand what is the problem they have, right, because to solve. But that's kind of a little bit unsatisfying, right, because you go to someone to learn about their problems.

[44:29](https://realalpha.app/v/S_osYy3tsf8/?t=2669) But the question is, why don't people solve those problems? Maybe they don't solve the problems because maybe, you know, they're not as important as their given time and maybe, you know, maybe for the right reasons they are, you know, too much in the future. But this is a thing, right? You have to focus about the problem, on the problem, and you have to focus on the trends. And the way they're connected, you want to solve a problem, ideally, which is going to be more important tomorrow than today. What are the problems that you're most excited about right now? Like Spark, Ray, what's going to be the next Databricks or any scale?

[45:08](https://realalpha.app/v/S_osYy3tsf8/?t=2708) So a few things. So I still think that it will be going to be a lot of work. Right now what happens is that we need to resync most of the software stack. Why? Because it's, again, going back to the trends, is that the demands of this application, in particular AI application and so forth, growing much quicker than capabilities of a single processor, a single node, even if you consider accelerators, right? So on our hand, this happens. On the other hand, the infrastructure becomes much more complex. You need to run that application not only on one node, but on many nodes. It's distributed. But it's not only that, it's becoming very heterogeneous, right?

[45:57](https://realalpha.app/v/S_osYy3tsf8/?t=2757) Because in order to breeze a gap between the demand and capabilities of hardware, people build accelerators. Like that's why NVIDIA is a trillion dollar company, right? But now the infrastructure becomes even more complex, right? It's not only distributed heterogeneous. When we started Spark, it was homogeneous. All the nodes are the same, some storage, some CPUs, that sort. But right now, look at the heterogeneity. You have NVIDIA and you have many others. You have TPUs from Google. Every cloud, it's having their own chip. Now you have AMD and Intel say that it's everything. It's about AI, right?

[46:45](https://realalpha.app/v/S_osYy3tsf8/?t=2805) So that's kind of what happens. So now you have a huge gap between this application and this very complex infrastructure. actually just growing in complexity. And then it's not only about the compute, it's about networking. You have InfiniBand and you have all of this, you know, RDMA and so forth, right? So huge heterogeneity. And the software stack has to abstract away that complexity for the developers. There is no way around. You want a single machine or you have this operating system to abstract away the complexity, right? That's why, that's what makes it easy, right? To develop all this application.

[47:21](https://realalpha.app/v/S_osYy3tsf8/?t=2841) Now it's extremely hard. So something is going to happen there. I think the other one is about this building application. You're talking about compound AI. We're talking about compound AI and things like that. Right now, this application, AI application, in particular, large language models. Everyone is talking about large language models. The application are like assistance for humans. Humans are in the loop. If you are thinking about customer support, if you are talking about co-pilot, if you are thinking about q a question and answering uh even summarization you have a human helping a human to be much more productive which is a fantastic application um but uh they cannot

[48:05](https://realalpha.app/v/S_osYy3tsf8/?t=2885) **Ion Stoica:** they cannot be autonomous they are not theater autonomous and to to to go from having the human in the loop to being autonomous is a huge gap right because it's autonomy to be to have something

[48:18](https://realalpha.app/v/S_osYy3tsf8/?t=2898) autonomous you need to have someone which um you know it's uh it's it's running kind of you know it's it's more deterministic it's more reliable right it's like far more accurate right um and you know you need to get there because if you don't get there you know you are still limited to having the system where is a human it's in the loop and the human is a bottleneck who becomes a But like, it's, you know, it's just a certain number of people on the planet. And I think that there is about, a lot of work will be about how to make, I would say, at least some aspects of this lag language, building the lag language model application, more like an engineering discipline, right?

[49:05](https://realalpha.app/v/S_osYy3tsf8/?t=2945) Where you can, you know, build much easier systems from smaller components. Okay. So the two next Databricks will be distributed compute across heterogeneous hardware and autonomous compound AI systems. Noted. I'd love to tell you another thread that you mentioned just now of kind of how funding constraints drive what you're working on. And I'm curious what you think right now of there's been a lot spoken about kind of the almost the brain drain in AI right now because the universities don't just don't have the funding that you could get if you went to work at one of the big research labs. How do you think about that?

[49:44](https://realalpha.app/v/S_osYy3tsf8/?t=2984) What do you think is ideal? Does it does operating under constraints force creativity for you? Like, what do you make of all that? Yeah, that's that's a great question. And. It's true. I mean, it's challenging. It's very challenging. challenging. And when I came to the United States, I came to do my PhD and I graduated from Carnegie Mellon University. I am originally from Romania. So one thing was admired, people admired about the United States is like, is that how well this kind of, this, you know, the collaboration and the partnership, the three-way partnership between academia and government and industry are working, right?

[50:35](https://realalpha.app/v/S_osYy3tsf8/?t=3035) And prime examples at that time was obviously the internet, right, which was DARPA project. And, of course, academia had a huge impact. And also industry was, you know, it was whatever, third industrial revolution, people were saying.

[50:55](https://realalpha.app/v/S_osYy3tsf8/?t=3055) **Ion Stoica:** And that, when it comes to AI today, that kind of partnership is broken.

[51:01](https://realalpha.app/v/S_osYy3tsf8/?t=3061) It's like industries, every company is doing this research in silos, right, even, you know, they don't talk to each other as much. Academia, like you said, doesn't have resources. And the government doesn't invest as much, right? So I think that's something to be very concerned about, right? And that's why I'm also a big proponent of open source models. And U.S. and California kind of will lose in long term if this doesn't, is not fixed. So what happens now, unfortunately, in academia, one thing that happens is that, of course, there are some, you know, bigger universities and labs which can still afford to maybe train and spend one, two millions maybe to train some models.

[51:54](https://realalpha.app/v/S_osYy3tsf8/?t=3114) It's still there, not in the same league like OpenAI, right? It's like OpenAI and Microsoft, they are talking about building the data centers about $100 billion, right? And I think there is, the danger is that you are going to, some of the academics are going to give up and try to innovate around the ages. Now, you can still innovate in this application and things like that, and, you know, I think there's a lot of innovations there. But clearly, you know, it will be harder to come up with new model architectures and, you know, innovate. It will be harder. It's not impossible. Nothing is impossible.

[52:45](https://realalpha.app/v/S_osYy3tsf8/?t=3165) people. So yes, it's a challenge right now. I mean, there are people like, you know, and which are better fortunate, more fortunate position, maybe I'm one of them in which have access to resources outside academia, right. But, you know, it's, you do want. to level the playing field in order to maximize the innovation. The innovation comes from everywhere. Now, this being said, it's true that, you know, scarcity and always in the past, scarcity, you know, spurs innovation, right, as well. But the concerns about not having access to resources to play the same game, like in industry, it's a concept.

[53:44](https://realalpha.app/v/S_osYy3tsf8/?t=3224) I'd love to switch gears into some rapid fire questions, if you're ready for it. Sure, go ahead. Will anyone take meaningful market share from NVIDIA over the next five years? I think they, it will be, they will be at the minimum because they are going to, it's probably that it's, because NVIDIA will not like to be accused about monopolistic behavior. So their market share has to decrease under some percentage, whatever, 70, 80%. So that one will be one of the reasons. But I think that if I have to name one company to, of course, there are clouds and for strategic reasons, they are going to push their agenda to build their chips.

[54:34](https://realalpha.app/v/S_osYy3tsf8/?t=3274) Like still probably the biggest competitor right now in terms of the market share, it's Google with TPUs. Yeah. Probably that will continue for a while. What's one project or a student in your lab right now that you'd want to highlight? you know i'm going to cheat here because i think that both vllm and childbot arena has been tremendous it's like i'm not talking about skypilot because skypilot is like they started a company um so i'm not talking about but i think vllm has been amazing it's like it's one year old project and i haven't i've never seen such a rapid growth and of course it's also part of the ai AI is kind of compressing the time so there is something about that. And I think the other one is chatbot arena because it just is fascinating to see the development in the space and to see how these different models, where they are strong, where they are weaker and I think that having a front seat at that to see that kind of development in the of the ecosystem and in the space it's fascinating do you think the foundation models will commoditize the foundation model whether they are like a gpt-4 or a clod do you think do you think there's a market to be made and you know uh providing these models over time or do you think it commoditizes i think people will continue to

[56:04](https://realalpha.app/v/S_osYy3tsf8/?t=3364) to build larger and larger models. I think when it comes to serving, it looks like model distillation works quite well. By the way, The list where you train a smaller model on the outputs from the bigger model has been a lot of success with that. By the way, this in some way, it says that it shows how important the data, right, for training a model, right? Going back early on in our conversation, right? Because you have higher quality data from the big model and you use that to train the small model and it's working very well. So I think using multiple distillation models to reduce the cost of inference is going to be a way forward.

[56:49](https://realalpha.app/v/S_osYy3tsf8/?t=3409) But yes, I think for advancing and pushing the frontier, so to speak, right? Pun intended. You are still going to see a lot of, you know, a lot of effort on bigger and bigger models. What are you most excited to see in the world of AI in one, five, and ten years? What I'm most excited about AI. Yeah. Look, there is no question it's transformational, right? I think that it will change a lot of things, everything maybe. I think the most excited I am about it, it's about how do you make these AI, more systems, more predictable, accurate, verifiable? how you can debug these systems. All of this is kind of in realm of software engineering-like techniques. This is what I think is exciting.

[57:50](https://realalpha.app/v/S_osYy3tsf8/?t=3470) What advice do you have for founders building in AI? It's the same thing. Focus on the problem. Don't focus on the hype. Hype is emotional. It's not reliable. Just look at the facts. And look at the problem. try to understand the problem and try to be truthful to yourself. It's, it's, it's about, if you build an application, it's about production. It's not about the demo, right? It's beyond the demo. Of course, the demo are important. Don't get me wrong. I'm very important, but the production is the way the mindset you have to have. And, um, yeah, and it's, it's a dangerous thing is that so much hype and you think you can solve everything and you can do everything probably in certain number of years. But now just focus on exactly what problems you are going to solve. Convince yourself it's a good problem. Convince yourself that you can solve it, or at least you have, you can have an MVP, right? You can solve a smaller version of that problem, which is still very valuable for your customers. That's what I will say. Nothing, no silver bullet. Amazing. Thank you so much, Sian, for joining us today. I've loved hearing a lot about your own thinking and reasoning behind your own journey. A lot of the thought process behind finding the right problem to solve,

[59:15](https://realalpha.app/v/S_osYy3tsf8/?t=3555) building the right systems to actually be in a position to understand the best problems, and then applying that even to many of the bold decisions that you've had to make in founding multiple companies from research into commercialization and the incredible success of Databricks today. Thank you. Thank you for having me. Thank you.
