For more than a decade, scaling analytics meant spreading work across ever-larger clusters of machines. DuckDB, the open-source analytical engine built to squeeze maximum performance from a single computer, has spent eight years challenging that assumption, and Amazon Web Services Inc. has acquired the team behind it.
The deal reflects a broader rethink of where data gets processed in the cloud. Hardware has advanced so far that many jobs once routed to distributed systems now fit comfortably on one host, according to Andy Warfield (pictured), vice president and distinguished engineer at AWS.
“A cool thing about working in computing and with systems is that the physics change,” Warfield said. “If you compare the average compute instance in AWS now versus where we started when EC2 launched 20 years ago, it’s about a 50x increase, right? In terms of average capabilities on the host.”
Warfield and Hannes Mühleisen (pictured), co-creator of DuckDB and co-founder of DuckLabs, spoke with theCUBE Research’s Dave Vellante, chief analyst at theCUBE Research, during an exclusive CUBE Conversation. They explored the engineering logic behind the acquisition, how far single-node analytics can stretch and what the deal means for the open-source project. (* Disclosure below.)
DuckDB and the case for single-node analytics
Before DuckDB arrived, data teams tended to jump straight from Excel to Apache Spark, with nothing in between, according to Mühleisen. Distributed systems can crunch through a petabyte of data when properly managed, but setting them up, configuring them and keeping them from getting stuck are areas where teams struggle, he explained.
“We saw that the amount of data that you could process on a single node was really underestimated because of the lack of suitable software for it. And so we set out to build that software,” Mühleisen said.
That bet has since found support in the data. An analysis of Amazon Redshift usage data found that the vast majority of queries in the dataset processed relatively small amounts of data, Mühleisen noted. MapReduce and Spark took a sledgehammer approach to scale and could always reach for more compute, so single-node performance was never their focus, Warfield explained. When most jobs are short enough to run on one host, embedding the engine inside the application itself removes a layer of infrastructure.
“You don’t have to configure that external distributed system. You don’t have to send bytes over the wire. You don’t have to have this dependency to answer really short questions,” Warfield said.
The team has also pushed the engine toward cloud-scale data engineering. Its 2.0 release, shipped in October, reworked how the engine reads remote data after users increasingly placed it inside larger pipelines that pull from and write back to Amazon S3. The result is a large performance boost for that common pattern, according to Mühleisen.
“We basically rewrote the way we communicate with data that’s not local, that’s sitting remotely on another server, like on S3, and just making sure that we can essentially fill up whatever bandwidth you have to the absolute brim,” Mühleisen said.
The acquisition, which AWS announced in August, has raised questions in the open-source community about who sets the roadmap. DuckLabs joined as an open-source-focused AWS subsidiary that remains in Amsterdam, while the code remains under the stewardship of the independent DuckDB Foundation, which AWS did not acquire, Warfield explained. Customers have asked him directly how AWS will avoid adding friction or slowing the project down.
“Their job is to do a great job of the open source project,” Warfield said. “We view it as an SDK that really drives builders to do new things with data. But we’re also gonna make sure that DuckDB is a gateway into AWS being the best place to host those workloads.”
Warfield and Mühleisen will join theCUBE again during AWS re:Invent. Here’s the complete video interview:
(* Disclosure: Amazon Web Services Inc. sponsored this segment of theCUBE. Neither AWS nor other sponsors have editorial control over content on theCUBE or SiliconANGLE.)
