Yeedu Hits $0.52/TB in TPC-DS Benchmark
Yeedu
HomeCase StudiesHow a Top 10 US Life Sciences Company Cut Drug-Discovery Costs by 90%
Customer Success Story

How a Top 10 US Life Sciences Company Cut Drug-Discovery Costs by 90%

Same Spark: drug-discovery workloads about 90% cheaper than Cloudera, license and cloud cost combined, with most jobs 2–4× faster. A 4-hour similarity job now runs in 1h 45m.

Industry

Life Sciences

Cloud

AWS

Workloads

Chemical Similarity, ML, Data Curation

Data Volume

2.4M × 2.4M Compounds

~90%

Lower Total Cost vs Cloudera

2–4×

Faster on Most Jobs

96.8%

Saved on a 4-Job Batch

How a Top 10 US Life Sciences Company Cut Drug-Discovery Costs by 90%

At a Glance

A top-10 US life sciences company runs its drug-discovery Spark workloads on Yeedu at about 90% lower total cost than on Cloudera, counting the Cloudera license and the cloud bill together, and most of its jobs run 2–4× faster. Its heaviest job, a chemical-similarity run that compares 2.4 million compounds against each other, now finishes in 1 hour 45 minutes instead of 4 hours, on the same Spark code.

On Cloudera On Yeedu
Platform Cloudera, Spark on Kubernetes, AWS Yeedu Turbo engine, AWS
Similarity job compute 100 × r5.24xlarge nodes 192 cores, 784 GiB
Similarity job runtime 4 hours 1h 45m (2.3× faster)
4-job batch $78.26 $2.47 (96.8% less)
License Cloudera license on top of the AWS bill No Cloudera license
Typical job speed Baseline Most jobs 2–4× faster
Total cost Baseline ~90% lower

What Chemical Similarity Is and Why It Gets Expensive

Chemical similarity measures how alike two molecules are. Drug-discovery teams use it to find compounds with similar biological activity, spot candidates for repurposing and flag likely toxicity before a compound goes further.

Each molecule is encoded as a fingerprint, a fixed-length bit string where each bit marks whether a structural feature is present. The Tanimoto coefficient scores two fingerprints by dividing the bits they share by the bits either one has set, giving a value between 0 (nothing in common) and 1 (identical).

The cost comes from the pairing. Comparing every compound with every other compound means n × n comparisons, so 2.4 million compounds produce about 5.76 trillion of them. Double the library and the work quadruples, which is why a job that's tolerable at one size becomes a budget problem at the next.

The Challenge

The company ran chemical-similarity matching on Cloudera, using Spark on Kubernetes on AWS. One full 2.4M × 2.4M run took 4 hours on 100 r5.24xlarge nodes, an AWS instance with 96 vCPUs and 768 GiB of memory each. The Cloudera license sat on top of the AWS bill for those nodes.

That wasn't the only workload. The same platform carried the research team's drug-discovery data curation and ML jobs, so the license and cloud costs covered the whole research data pipeline.

Four hours is also a scheduling constraint. A run that long can't be repeated casually every time a compound library changes or a chemist wants to try a different similarity threshold.

How Yeedu Ran the Same Spark Faster on Fewer Cores

Yeedu ran the similarity job unchanged on its Turbo engine and finished in 1 hour 45 minutes on 192 cores, about 2.3 times faster than the 4-hour Cloudera run. Three parts of the platform did the work.

Diagram of how the drug-discovery Spark workloads ran. The chemical-similarity job ran on 100 r5.24xlarge nodes on Cloudera, Spark on Kubernetes on AWS, and on Yeedu ran on 192 cores and 784 GiB with the vectorized Turbo engine. A batch of four jobs, an ML job, daily regeneration, search index and graph data, each had its own Cloudera allocation of 6 to 44 cores, and on Yeedu all four ran in parallel on one 32-core, 256 GiB instance, multiplexed in one Spark session. Same Spark code; the existing Hive metastore connected through BYOCatalog with no metadata copied.
The drug-discovery workloads before and on Yeedu: the same Spark code on far fewer cores, with four jobs sharing one machine.

Vectorized Execution

Tanimoto scoring is bit counting over fixed-width arrays, repeated trillions of times, which makes it a textbook CPU-bound workload. Yeedu's Turbo engine is a C++ execution layer that keeps Spark compatibility while processing data in vectors with SIMD instructions, so one instruction works on many values at once. It keeps working sets in L2 and L3 cache rather than the JVM heap. Yeedu reports 4–10× faster execution on CPU-bound stages like this one.

Job Multiplexing

Separately, four jobs that cost $78.26 on Cloudera ran together for $2.47 on one small Yeedu cluster, 96.8% less. The cluster was a single instance with 32 cores and 256 GiB, running all four jobs in parallel, and the $2.47 is $0.37 of AWS compute plus $2.10 of Yeedu license. Per job, that's roughly $0.62 against $19.57.

Job Type Cloudera resources Cloudera time Cloudera cost Yeedu time
ML job Machine learning 40 cores, 304 GB 4m 57s $0.92 3m 58s
Daily regeneration Machine learning 44 cores, 368 GB 3m 21s $0.73 4m 34s
Search index Machine learning 6 cores, 160 GB 17m 6s $3.31 8m 5s
Graph data Data curation 32 cores, 256 GB 82m 25s $73.30 7m 27s
All four $78.26 $2.47 together

Three of the four finished sooner on Yeedu even while sharing one machine. The graph-data curation job went from 82 minutes to under 8, about 11× faster. The daily regeneration job took longer, 4m 34s against 3m 21s, and still cost a fraction of its Cloudera price because it shared the cluster with the others.

Multiplexing is what lets four jobs share one small cluster. It runs several spark-submit jobs inside one shared Spark session, so they share a single cluster and its cache instead of each paying for its own.

Bring Your Own Catalog

The company's existing Hive metastore was connected through BYOCatalog, Yeedu's federated catalog layer. Tables stayed registered where they already were, no metadata was copied, and governance stayed in the existing system.

The Results

Drug-discovery workloads on Yeedu cost about 90% less in total than they did on Cloudera, most jobs run 2–4× faster, and the flagship similarity job runs 2.3 times faster.

  • ~90% lower total cost, Cloudera license and cloud compute combined
  • Most jobs 2–4× faster across curation and ML
  • 2.3× faster chemical similarity: 4 hours down to 1h 45m on 192 cores
  • 96.8% saved on a 4-job batch through multiplexing: $78.26 down to $2.47
  • About 11× faster on the graph-data curation job, 82m 25s down to 7m 27s
  • Same Spark code, with the Hive metastore connected as-is

Where does a 90% figure come from when Yeedu's general guidance is up to 60%? Two cost lines fell together. The Cloudera license no longer applies to these workloads, and the cloud compute under them shrank because the same work runs on far fewer cores for less time. The license is what takes this case past the compute-only figure, so a team that pays no platform license today should model compute savings on their own.

Real-Time Similarity for Small Batches

Full-library runs are only part of a chemist's day. Most questions involve a handful of compounds: is this new molecule close to anything already in the library?

Yeedu's published benchmark of this workload, which used 2048-bit Morgan fingerprints across roughly 2.4 million ChEMBL compounds, reports sub-second similarity results for batches of 1 to 100 compounds from a familiar SQL editor. That puts interactive screening in the hands of computational chemists without a separate high-performance computing queue. The full method is in Accelerating chemical similarity for drug discovery with Yeedu Turbo Engine.

Adoption Effort

The company brought its drug-discovery workloads to Yeedu without rewriting them, because Yeedu runs standard Spark.

  • Same Spark code, no rewrite
  • License and cloud savings captured in one move
  • Hive metastore connected through BYOCatalog, with no metadata migration

Conclusion

All-pairs chemical similarity is one of the most compute-hungry jobs in drug discovery, and it scales with the square of the library. This company cut its cost and runtime together without touching the science or the code.

  • About 90% lower total cost than Cloudera, license plus cloud
  • Most jobs 2–4× faster
  • The 2.4M × 2.4M similarity job dropped from 4 hours to 1h 45m
  • A 4-job batch fell from $78.26 to $2.47 through multiplexing
  • The Turbo engine's vectorized, cache-aware execution suits fingerprint scoring
  • The existing Hive metastore stayed in place through BYOCatalog

To compare your own similarity or ML pipeline on Yeedu, write to sales@yeedu.com.

Frequently Asked Questions

How did a life sciences company cut its Cloudera costs by 90%?

It ran its drug-discovery Spark workloads on Yeedu, which removed the Cloudera license from those workloads and cut the cloud compute under them. The Turbo engine ran the same code on 192 cores and 784 GiB in 1h 45m, against 4 hours on 100 r5.24xlarge nodes, and multiplexing let small jobs share one cluster.

What is the Tanimoto coefficient?

The Tanimoto coefficient is a similarity score for two molecular fingerprints: the number of bits both share divided by the number of bits set in either. It ranges from 0 to 1, and drug-discovery teams use it to find structurally similar compounds.

How long does a 2.4M × 2.4M chemical similarity job take on Yeedu?

About 1 hour 45 minutes on 192 cores and 784 GiB of memory in this deployment, for roughly 5.76 trillion pairwise comparisons. The same job took 4 hours on Cloudera across 100 r5.24xlarge nodes.

Did the Spark code need to change?

No. Yeedu executes standard Spark, and the Turbo engine keeps Spark compatibility, so the similarity, curation and ML jobs ran with the same code.

What is job multiplexing in Yeedu?

Multiplexing runs many spark-submit jobs inside one shared, long-lived Spark session. The jobs share one cluster and its cache, which is how a 4-job batch fell from $78.26 on Cloudera to $2.47 on a single small Yeedu cluster.

Does Yeedu work with an existing Hive metastore?

Yes. BYOCatalog, Yeedu's federated catalog layer, reads Hive Metastore, Unity Catalog and AWS Glue directly, so tables stay registered where they are and no metadata is duplicated.

Can Yeedu speed up drug-discovery workloads besides chemical similarity?

Yes. This company runs its data curation and ML jobs on Yeedu too, and most of them run 2–4× faster than on Cloudera. The 4–10× figure Yeedu reports applies to CPU-bound stages, and multi-threaded execution, Smart Scheduling and caching speed up the rest.

Keep a copy of this case study

Get the PDF by email, with the numbers, the setup and the code changes in one file.

Join our Insider Circle

Get exclusive content crafted for engineers, architects, and data leaders building the next generation of platforms.

No spam. Just high-value intel.