Ursa: Augment Your Lakehouse With Kafka-Compatible Data Streaming Capabilities
Summary
- Kafka-compatible streaming: Ursa Engine brings Kafka-API compatibility to lakehouse architectures, unifying batch and real-time processing on Iceberg and Delta Lake.
- Real-time ingestion: Enterprises can stream data with familiar tools (Kafka clients), then run unified analytics—eliminating silos between streaming and batch systems.
- Enterprise scale: Open standards and interoperability enable organizations to handle massive data volumes (IoT sensors, connected vehicles, user logs) without vendor lock-in.
Ursa: Augment Your Lakehouse With Kafka-Compatible Data Streaming Capabilities

Talk by Gaurav Saxena, Director of Engineering, Automotive Industry ; Sijie Guo, Founder and CEO, StreamNative
As data architectures evolve to meet the demands of real-time GenAI applications, organizations increasingly need systems that unify streaming and batch processing while maintaining compatibility with existing tools. The Ursa Engine offers a Kafka-API-compatible data streaming engine built on Lakehouse (Iceberg and Delta Lake). Designed to seamlessly integrate with data lakehouse architectures, Ursa extends your lakehouse capabilities by enabling streaming ingestion, transformation and processing — using a Kafka-compatible interface. In this video, we will explore how Ursa Engine augments your existing lakehouses with Kafka-compatible capabilities. Attendees will gain insights into Ursa Engine architecture and real-world use cases of Ursa Engine. Whether you're modernizing legacy systems or building cutting-edge AI-driven applications, discover how Ursa can help you unlock the full potential of your data.
Here's more to explore:
Databricks named a leader in the 2024 Gartner® Magic Quadrant™for Cloud DBMS: https://www.databricks.com/resources/analyst-paper/databricks-named-leader-by-gartner
An open, unified approach to your data, BI and AI workloads: https://www.databricks.com/product/databricks-sql
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is Ursa Engine and how does it extend lakehouses?
Ursa is a Kafka-API-compatible streaming engine built on lakehouse foundations (Iceberg and Delta Lake). It enables real-time ingestion and transformation while maintaining the single-table simplicity and governance of lakehouses.
Why do enterprises need streaming on a lakehouse?
Traditional architectures split streaming and batch processing, creating data silos. Ursa unifies both patterns on a single lakehouse, reducing complexity, cost, and latency while enabling continuous AI model training.
What are the key enterprise challenges Ursa solves?
Regulatory compliance, spiraling multi-platform costs, handling massive data spikes from millions of IoT devices, and maintaining open standards for long-term flexibility—all covered in this video.
Who are the speakers on this streaming innovation?
Gaurav Saxena (Databricks Director of Automotive Engineering) and Sijie Guo (StreamNative Founder and CEO, Apache Pulsar creator) discuss real-world use cases and architecture.
Full transcript
Good morning everyone. Welcome to our session. Uh. Uh our topic is around augment your lakehouse with Kafka compatible data streaming capabilities. I delighted to introduce my co-speaker CJ go. uh he is also one of the original creators of Apachi Pulsar. Go with a quick agenda. I'm going to start with outlining the enterprise needs um that we face in handling high volume real-time data. uh then I'll hand it over to CJ who will explain how engine paired with Apache iceberg can directly address the challenges that we're going to talk about in the first two points on the slide deck you know so enterprises and they deal with a massive data streams uh from data coming from the IoT sensors in connected vehicles to the user log data now in this environment we can't wait for hours or or days for insights we need real-time processing However, moving real time uh often adds complexity.
Uh traditionally batch oriented ETL pipelines might have been fine at a smaller scales, but they simply break down uh with under high volumes and velocity that we see uh you know when you're operating at the scale of u uh you know fortune 500 companies. Um I'm from an automotive industry so I'm going to speak from the experience in the connected vehicle world. uh these are the four areas are very critical right so you have a regulatory requirements that demand strong governance uh specifically for safety and privacy and then you have a the spiring the spiral costs because if you're moving the same data back and forth between one streaming platform to the streaming platform uh the your cost has become exponential and then for as far as scalability um a single software update uh across millions of vehicles can generate a massive spike of telemetry uh in the data and so your platform should be able to handle that load.
And know finally, open standards and interoperability are uh for our long-term investments. They allow us to pivot as new technologies emerge. Uh you know, to put things in perspective, consider consider the connected vehicle uh program. Um there is a uh statistics that uh within this decade uh there will be 100 millions of vehicles uh talking to the connected platform. Um uh if you own Tesla or any of the recently built vehicles, you know, uh you want your vehicles to be performed uh better daily.
The overlay updates, you want uh the fleet and prognosises of the data from vehicles to the your cloud platform. you don't you can't have a a a a place where you can say you know you're keeping the maintenance window because uh uh it the software uh the vehicle is basically now nowadays software defined vehicles right so traditionally how you handle that is basically you have a large amount of Kafka clusters to manage injection uh synchronize synchronizing them with the downstream tools is a challenge so any delay in analyzing this data can directly affect traffic management predictive maintenance and ultimately driver safety you know plus data spikes uh can happen unpredictably so we need a flexible infrastructure to allow to handle it all the times many organizations bring uh you know they bridge Kafka with data lakehouse uh solutions uh using connectors like Kafka connect uh pulsar IO or custom scripts but there is a big challenge here the challenge here is that uh let's say you have a Kafka cluster and then you have a uh you know iceberg.
So you have now two separate schemas and if there is a data movement between those two schemas and then you have a an error handling how will you it poses an operational challenges around that and u let's say you have you know thousand topics in a Kafka cluster and you have uh you know how do you how do how do you want to map that those topics to a particular number of tables in the in the in the iceberg. So there could be a a a cost here associated with it because depend depend number of connectors that you are that you are spinning up and uh so that's like a high operation overhead and the ETL pipelines are very brittle here because it adds a latency uh so kind of similar to what I spoke so you have the different apps talking to you know the different brokers on the Kafka and then on the connector side you're talking to like datab bricks snowflake a traditional ETL pipeline right but uh they are the five uh costs associated with that pipeline that I say I I uh mentioned there.
One of them is the interzone data transfer. Second is the expensive database data uh disk based replication. Third being overprovision compute. Uh fourth is connector overheads and the uh duplicate data copics copies. I'll break down each further. So in the first one with a high availability is essential. We know that uh that most Kafka users deploy across multiple zones. But there's a catch. Every time an application sends data, Kafka replicates it between zones and apps clients need to send data to Kafka across multiple zones leading to additional networking costs.
Now the Kafka ensures durability by storing three copies of data across zones. That's great for reliability, but you're paying for those replicas both in storage costs and interzone data transfer. And in Kafka both compute and storage are tightly coupled. If you need more storage you have to scale compute as well whether you need extra processing power or not. Now moving data from Kafka to cloud storage requires connectors.
These connectors need extra compute resources and they are network costs each time data flows through them. And if you're leveraging multiple analytical systems, you end up storing the same copy of data multiple times. Once in Kafka, then again in every analytics platform that's an exponential increase in storage costs. With that, I will pass the mic to CJ go from stream native to discuss uh how this is going to going to handle the challenges that we talked about so far.
Thank you GR. Um so uh I think everyone here is has come to uh database summit is all about uh lakehouse. Uh so there's a uh obviously there's an increasing uh interest about building an open lake house and uh there's a open standard has be a rising uh like iceberg is a probably the most common one uh delta is another uh another popular one. So those are kind of the open uh table formats and you can build your uh future proof uh lakehouse uh uh ecosystem based on that and uh both system have been kind of running at uh very large scale. uh it can support uh continuous ingestion uh very like ideal sweet uh shoot for the uh the kind of the streaming uh data massive streaming data uh needs that uh grow just mentioned about um I mean automotive industry is one of the example uh but there are so many different uh industries like security uh uh like obserability I think a lot of these uh streaming data need to kind of get into uh kind uh lake house uh for much cheaper uh storage options and uh for analytics purpose there and also both of the system uh there's another kind of increasing topics on the data catalog side is uh uh the entire uh open deck house uh architecture including a really strong uh governance features to ensure this high uh data quality and compliance.
So with all this coming all together is uh kind of we we have to kind of looking back into the entire pipeline. uh while we have a really good foundation on the uh lakehouse side how we can solve the entire uh data ingestion all the way from your uh data source uh through Kafka through connectors into uh lakehouse and solve some of the challenges that uh grow uh just mentioned about the uh the limitation or cost drivers of the entire pipeline and that's uh what we kind of have been kind of working with uh quite a lot of uh industries like uh what uh and also fortune 500 companies including uh GR's company on uh solving some of the challenge that we are seeing is uh we're building uh Kafka compatible uh lakehouse native data streaming engine.
So an a simple idea to kind of uh explain that is the eventually since your data destination is lakehouse and uh we probably don't need an additional uh system to just store one copy in uh on a local disk and then move the data uh outside of the disk and then put into iceberg. So if we already using object storage as the storage medium uh we can probably just build the entire system based on that. So we follow some of the principle that uh the entire lakehouse ecosystem uh have been doing on uh data lake and uh warehouse side is to decompose the entire system into uh module modules.
So the way how we decompose it is into looking into the uh data storage side is can we introduce a streaming extension to the open lakehouse format. So in that way uh it can accept some of these uh streaming requirements like a pan uh faster pan and be able to kind of replay the entire uh semantic based on uh the streaming uh requirements there. And then we have the broker layer uh became the more more or less a routing layer.
So you can uh receive the data, batch the data and then uh write the data into the up uh to the data storage side. Then you have the metadata side uh to managing all the streaming uh semantic mostly are kind of the offset requirements because for in order to supporting uh Kafka compatible uh protocol you need to have some of the uh concept is called offset. So maintaining some of the offset uh in the metadata side maybe those metadata can pushing towards more the catalog side.
So it could be part of the concept of catalog. So in that way we kind of formalize the kind of three layers. One is the uh data storage there uh that is a kind of augmentation over the existing uh lakehouse. The broker layer uh became uh status. So it would just focus on routing uh and uh some of the quarter control to making sure you managing the entire traffic and on top of broker you can support different protocols there.
So that we uh uh support both kind of two popular pro protocol there. One is the Kafka, the other one is pulsar. Uh for people who doesn't know about pulsar essentially is uh uh kind of unified matching streaming uh protocol. So it allows you not just using it as a streaming system but also as a matching queue uh which is uh flexible for uh some of the uh end userf facing business application. So to put all these together um it's Kafka API compatible but to a certain extent is more multi-protocol protocol flexible because you can plug in into different protocol.
Um the because the data is being pushing towards more using object storage as the storage medium. Uh you don't store data with within the broker. So broker became stay list and more important it's actually leader list is because it doesn't have the concept of leader that need to replicate across different disk because everything just go to uh object storage uh the storage there is lakehouse native because all the data once it's getting in it's actually landed uh directly as an iceberg table or uh delta table uh it have a really nice uh simple way to integrate with catalog to making sure all your streaming data is actually being governance by the same uh catalog.
Uh there uh so how we I think uh if you uh have kind of following data streaming ecosystem you probably already hear uh some of the kind of a trend that uh in the data streaming ecosystem is about public to iceberg uh integration and that including uh some of the uh uh vendors in the data streaming space that conference had a concept of uh table flow. So you get a cafka topic you can turn on table flow uh and writing to iceberg table or delta lake table.
Uh in uh rep panda also have a similar concept called uh u iceberg topic essentially is you write a copy to rep uh rependa and uh rependa uh can persist the data again into a iceberg table but really uh kind of peel peel the onion to kind of see what's behind these uh integrations there. essentially is a connector running uh aside not either inside the broker or outside the broker. For example, conference uh table flow is using flink is reading from a cafka topic and writing to iceberg and uh rependa is essentially implementing some sort of connector logic as part of broker to reading uh one data uh reading a data from the uh rependa topic and write to iceberg.
So it's not really uh kind of a clean uh topic to iceberg uh integration and the way how we uh we did is quite different from uh lo uh poaches there because we if we feel uh we have to kind of using some of the connectors then we can use the original pipeline that grow just show is just putting up some of the connectors it doesn't need to kind of move some of the complexity within the broker itself. uh so we kind of step back looking into what exactly needed uh from a storage layer uh perspective.
So this is a diagram a very uh kind of simple diagram to visualize the needs of a data streaming uh system like Kafka like uh data streaming system. So all the concept is very simple. It's a it's a data stream. Um sometimes it's called a log uh topic partition. You you have a sequence of records you append to a log and get offset. You are able to kind of retrieve the record from offset. Uh from implementation perspective essentially break down the log into multiple segments and you have some sort of uh offset index to reference where I can fetch the uh the record based on the index.
So that is a very simple obstruction and if you take a look at how it was implemented within taga it's very simple is both your data and your index are local to the broker and you have many brokers uh the data both data uh both the segments in index are kind of replic replicate uh across different brokers there. So that is a very simple dispace uh ka broker. Um and if you introduce the concept of t storage the concept is still similar is just like you moving some of the segments from uh local disk to remote and then you update some of the index to reference the segments in the uh uh in the uh uh in the object storage.
So the entire concept is still segment and index. And um there's another system called pulsar. Uh pulsar essentially is doing uh things quite differently is uh it doesn't directly store all the segments of a given partition within the same nodes. It's actually break down the entire segments into uh different storage nodes there but moving the entire kind of offset index towards the metadata storage side. So you can uh have kind of two layers. one layer is the uh entire offset index is moving towards the uh metadata storage and you have the segments is uh breakdown into the storage there.
Uh but the segments doesn't tie to a given broker. It's actually uh the segments is distribute across uh different storage nodes which is called bookie. I'm not going to details on the pulsar uh side but I just want to kind of visualize how that how does the entire uh data streaming storage uh evolve and if you're putting the tier storage concept into the picture it's also uh very simple it's just the some of the segments that has been stored in disk we can simply just uh moving into object storage and update the index in the metadata side.
So that's kind of the how the current data streaming system work. Um but they operate on both kind of a two concept. One is the segment uh in uh open lake house is actually the a set of file data files is a set of pocket files there and the other concept is actually offset index and in uh lakehouse format you you will see in delta is a delta log and uh iceberg you have the man manifest file it's also kind of sort of index that is reference uh what are the data files has been used by this lakehouse table and you You can see uh in data streaming is very similar.
It's just the uh a bunch of the segments uh you you you can view as a a bunch of different files there and then you have an offset acting as metadata index to reference those uh uh segments. So we kind of looking into how uh the entire streaming uh uh formats uh kind of evolve and looking into how lakehouse kind of evolved. uh we find there some common uh uh sim uh similarity between these two systems. There is uh in the lakehouse side is you have a bunch of the pocket files and then you have the lakehouse meta data that is reference those uh pocket files and in the streaming side you have it's the same same thing you have bunch of the segment files and you have the offset index.
So we're kind of moving in a way is um can we just leverage the same uh concept in the lakehouse side is if we append the data in uh to the right log for this given stream which it has its own index which is the offset index but over time uh do we can leverage some of the comp uh work to compact the uh row base uh streaming data into column based uh like p file file and then building the metadata around these pocket files and that's kind of the entire concept of uh stream uh essentially is an architect layer uh over the existing lakehouse table.
So if you see in the right side of the uh the screen is it's entire like the pocket files and lakehouse metadatas there we just adding this uh real time uh streaming data as an extension augmentation over the lakehouse tables there. So that's kind of the entire philosophy we build uh like as the storage there for uh streaming. And to give you some more concrete ideas uh there is the for given stream when you start kind of appending the data let's say you have a ka producer uh sending to a broker broker append the records into uh a given partition and that is how it would look like you uh it basically break down into different what we call write headlo uh objects right objects you can think about it's a low based uh format so we just append uh different rows into the file Um the the role can be uh interpreted based on the uh Kafka schema the schema information coming from the Kafka topic which can be a JSON probab uh right object is kind of a low based uh data file low base uh segments there and you keep a pen and then there's a background uh complexion work uh essentially what it does is the it just take the uh right objects and doing the compaction and the compaction here is not a lakehouse uh uh table compaction.
It's more like a the streaming compaction is it take the uh right headlock objects and leverage the information uh coming from a schema registry and convert the row base uh sorry uh the each records uh from uh given uh Kafka schema into p schema and then rewrite some of the raha object into p. So in that way uh you can see over the time it will became a mix of between uh pocket files and right hand log uh objects there.
So pocket file essentially is the ready to use uh like a column data which can be used as a lakehouse table and right log is still kind of the latest uh streaming data which can be used for uh streaming uh requirements there. Uh but if you want to replay the entire stream, you can still uh kind of seek to the earliest offset and uh read the data from the column col column of a mat. But because the entire Kafka protocol right now is still kind of a row based uh protocol.
So you still need to uh read the entire col uh uh columns and then convert a column data back into uh row format which could be a JSON depending on the schema information in the schema registry. But that conversion is uh can be done in the uh broker layer on uh forming that uh kind of structure for realizing the kaka schema uh which kind of it would burn a little bit more CPU but you are saving tons of the uh network traffic uh IO traffic uh reading the historic data from the object storage.
So that's kind of the last step is just like repeated this again is you keep compacting those uh right lock object and merging into these large uh pocket files. It's very similar to like table uh compaction for maintenance but it's more applying for the streaming uh world there. So to put all these uh kind of a together uh essentially is the uh with you have an kind of extension over the existing lakehouse format with uh right hand log objects which is more for streaming and then we can integrate uh with uh external catalog for registing uh register those uh p objects as a table information into the catalog.
So those data can be immediately discovered by um catalog services that can be used by the downstream applications there. And one thing to call out is uh in the streaming semantic you can think about it's more like a pen only table. So you really append everything into a stream. Uh so the table being present uh by the uh comp uh produced by the compaction essentially is a kind of append only table. uh we call it an internal table.
So it's an internal table to the stream. Uh but sometimes you probably don't want to keep all his data. You want to do upsert. Uh we have the we using the same mechanism is during uh compaction of the right highlock objects. We actually do uh upsert and uh produce more uh compacted uh pocket files and then write to external object storage. we call external table because uh those those are the uh data that is really be uh compacted by upsets.
It's it's actually not streaming uh data anymore. Uh it's produced more like a uh more compact structure uh for a table. So we support uh both modes is like a pen only uh table. Uh you can use it as a kind of upsert table. It's just using the uh for example you're reading CDC uh uh from Kafka using Kafka protocol and then once those CDC uh change streams in blending into a Kafka topic you can use these uh external table modes to really compact the uh data based on the certain keys there and then it will produce uh more like a compacted table structures in the iceberg side.
Uh so that's the kind of the entire uh concept of the storage. But if you really really putting uh all these together you'll find the way how we designed the is actually an argumentation over existing uh lakehouse tables there. So lakehouse you have the meta data which either is delta and snap uh data log in the delta table or a manifest snapshot in the uh iceberg table. uh and underneath is all the pocket files there and I know uh iceberg v3 uh essentially is pushing the consolidation uh or unification of the iceberg in delta.
So you see uh some of the underlying data type is also uh consolidate in the in the in the uh data file side and I I think there there are more changes is going to happen within the data uh delta lake and iceberg side to making sure the uh metadata is also interparable uh between formats there but those kind of formats is still focused on more uh lakehouse concept it's a table centric uh concept there and what we adding here is to kind of adding additional uh like uh row based uh format into the uh lakehouse uh system and adding additional uh like uh uh offset index to the meta data side.
So in that way it's actually being uh can be used as uh a kind of a kafka like uh data streaming capability there. So it's more like a augmentation rather than a replacement uh over the existing lakehouse. and to uh put uh uh the put all this together and kind of a reality on helping uh Fortune 500 uh companies implementing this essentially you can think about uh essentially bring in additional uh metadata plus uh Kafka compatible brokers.
So that would sit sit on uh on top of your existing lakehouse and those could be served as the ingestion there. So you can get data through existing uh Kafka protocol and those data can land into iceberg side and those data uh can be used for your streaming application. uh your existing uh fling job, Spark streaming uh structure streaming job can continue work there and uh the uh there will be kind of a conversion uh of kind of compaction that is happening between the streaming layer and the lakehouse there uh to produce different uh type of uh kind of what we call data products there.
So to really putting this uh into the kind of reality is the now you will became uh having the same set of the data uh same copy of the data and that data can be served uh as a cafka topic. So in that way you can produce uh through Kafka topic and consume uh through Kafka topics there but the same copy of data is actually being uh uh materialized or being viewed as a iceberg table. So your downstream uh uh query engines can query those uh like uh iceberg table or delta table there.
And so this will be uh just one data product uh one same copy of the data and being consumed either as a stream or as a table and then uh put putting back into the uh the first slice uh in your current lakehouse system. it will became uh kind of unified data products. Um each of them can be either used as a stream or as a kind of a a table there. So this um I think a lot of people would uh kind of be curious is that you you already have uh Kafka system uh you already have a lakehouse and a lot of people probably already uh setting up some of the uh pipeline using connectors and uh if you want to kind of use what what is the kind of a simple way we do have uh kind of migration tool called universal linking uh but it's very similar to the concept of uh Mino maker but uh it's done entirely different.
Minomaker is a broker to broker replication. So everything is going through network uh which is very expensive. So if you want to move from one of the existing uh Kafka deployment to another deployment, you probably going through uh network hops multiple times there. And uh since the entire system we're building uh is based on lakehouse is running on object storage. So the entire replication uh here is we are using object storage as the replication there.
So the way how it does is you already have a cluster uh you just can you can create a link and the link itself essentially is just reading your Kafka data and writing into object storage and when you're writing into object storage because it going through the uh format it can actually materialize your Kafka data directly as as an iceberg table. So the for the first step uh it doesn't go through the network. uh if you want to move move from an existing tubcut deployment uh you're actually moving the data into object storage and which give you a very nice property here is that if you want to exam uh if your data is actually being uh kind of fully replicate you can just uh looking into the iceberg table and then figure out what what exactly has been replicate and if you don't want to migrate you can still using as a way to build uh your realtime lakehouse uh there.
It can be acting as a tool to just reading your existing uh Kafka topic and writing uh to object storage and uh eventually uh making your Kafka topic available as an iceberg table there. And then the last step is not the least important step is when you feel comfortable. Okay, the data is entirely replicated in object storage. If you want to start consuming uh using the uh brokers there, you can then spinning up a a broker and then start consuming the data in the lakehouse side.
But the first two is the most important one is is actually using the object storage for replication, save your cost and be able to uh kind of roll rolling out the entire system uh based on your own path. Um to uh I think that's kind of all the information we want to kind of share. Uh the idea here is um right now we kind of uh we see a lot of consolidation that is happening in the lakehouse side and uh data streaming has been treated as a silo to a certain extent. uh while uh a lot of conversation uh I I I attend some of the open uh lakehouse mini summits yesterday.
A lot of discussion is how to make uh lake uh iceberg much faster so that you can ingest it data within minutes um kind of pushing towards seconds and which has been kind of done by the uh data streaming ecosystem through Kafka through puls through uh many different of the mesh streaming streaming system and we see these two ecosystem is actually start kind of converge uh through some of the uh open standards there. So we hope uh the uh approach that we are taking here.
Uh it could be some extension that can be add to uh iceberg or delta lake uh can become the real time uh extension or real time part of the iceberg uh spec. So hopefully that will simplify uh people building a real time uh streaming uh lakehouse there. But uh until that point, I think th this uh the experience that we're sharing here could be used as a reference for uh people looking into building uh their own uh realtime uh lakeouses system.
And we have some uh bunch of the resources there uh to help uh people to uh learn a bit more. We also have some of the blog post and podcast if you want to uh learn about this uh subject more. Uh and I think that would be all the kind of presentation from uh graph and me and now it's ready for uh Q&A. Thanks thanks so much for the presentation. Uh so when storing data into the delta format uh are you dealing with uh small parket files issues uh considering that these are small segments coming from the stream how you're handling the performance in the delta uh that uh I think the question is about how we uh dealing with the small small files there so there's kind of two uh part uh if we are looking into more like a internal table which is managing by uh streaming system there.
Uh we have the stream compaction when we do the compaction when we converting the right head uh right object into pair files we taking that file size into consideration and over time we also merge some of the smaller uh pocket files into large pocket files there. Uh we have a mode called external table. External table here is more like uh we uh upsert into an external table. External table could be uh like datab bricks uh un a table managed by uh databicks unity catalog would be a table managed by uh AWS S3 tables.
So in that way uh those iceberg uh uh of iceberg or delta vendors uh will kind of managing the table maintenance for that the given tables there. So thank you. One more question. Um so in terms of replayability of the um stored data right so we are storing those uh segments in in the table can we replay the stream from these tables? Uh yes we um I think the question is if we can read the entire history uh through streaming uh for the entire tables right after the stream is stored in the table can we read can we read the data from the tables as a stream?
Yes. Uh so uh can we read the table as a uh uh can we read the table as a streams there? Uh we we can is because the in the metadata side we'll manage the additional metadata called offset index. So that offset index essentially give uh the ability to formalize a table as a stream. So in that way uh all the nice properties that you see in uh Kafka streaming uh you can get from there because it has an uh offset being associated there uh and maybe a little bit more uh deeper into the uh stream streaming offset.
Essentially it doesn't uh store each index for each records uh but it's reference each p file and p file would also have its own uh uh what it what it's called rec uh record count. So essentially is the within p file we can use the record count uh and plus the uh the offset index towards the uh the p file we can use this to compute uh calculation where we can get to uh read the records there. So all the nice properties you can get from KKA would just uh remain in the same.
Hey, thanks for the talk today. Um question about what what type of latency and availability are you assuming given that we're kind of going all in on on iceberg to read and whatnot. What type of latency are you seeing for consumption? uh consumption should be uh really fast. Um is because especially if you're telling read um because you have a broker, your broker would actually have a cache um or buffer. So if you're telling read the entire stream, it's actually buffer in the broker side.
So there's no latency uh kind of delay, but you you do have you do see a right latency increase because you um the we are using object storage as the storage medium. So um a typical S3 uh object right you will be seeing in a range between 200 millisecond to 5 500 millisecond. Okay. So your right latency will see uh a bit higher. Uh but if you're using S3 express as the right hand lock uh you would probably be lower the latency towards in the range between 20 to 50 millisecond uh there.
But obviously uh S3 uh express drone one is uh is much expensive than uh S3. But the nice property here is essentially is the uh you can use uh S3 express drone one as the right hand log objects there and then over time it uh the data will be compact into the standard S3. So you can still using the standard S3 for the entire um uh HO data and use uh S3 uh express one from the right hand lot which you can lower the entire latency.
So so we're thinking like tens of milliseconds when fully optimized. So like if we're thinking about fraud or marketing use cases where I really need kind of that real time data or near real time it would be suitable or would you recommend a kind of a a latency specific model for that? a really good one. Uh we we designed it the system in a in a great way is the right law object can be actually dis based. So in that way you can still you can you can think about that disk being acting as a cache or fast right and then you can lower the if you're using disk you can lower the entire latency into uh within 10 millisecond. uh but uh S3 express strong one you can you can only get closer to 200 uh two 20 millisecond uh but I think with uh over time I think AWS is probably going to lower that within 10 millisecond once that get there you probably just entirely using AWS S3 as the I think we are run out of time and I'm happy to connect uh uh the graph and me u in in the hallway thank
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.