Realtime Analytics
Enterprise software

Metaimpact delivers real-time visibility into data stack performance

Case study
Polaris
~120
ms
queries
2
×
better memory efficiency
10
%
cost savings

On this page

Metaimpact upgraded to Dimension Tables for ~120 ms queries, 2× better memory efficiency, and 10% cost savings, improving infrastructure performance visibility.

Background

Metaimpact™ is revolutionizing customer lifecycle management with an outcome-based collaboration tool for software buyers and suppliers. Formerly known as MetaCX, Metaimpact connects SaaS companies with their customers throughout the sales and delivery processes, aiming to drive shared success and better business outcomes.

The development team at Metaimpact manages real-time data and analytics for B2B customers across a broad range of use cases such as sustainability, healthcare, and economic development for IoT. This requires processing large volumes of customer event data with complex mappings that must be consistently and accurately updated.

They initially explored Google Bigtable, storing pre-computed results for real-time analytics, meaning that certain types of computations or aggregations are performed after ingestion but before querying. This was great for query performance, but inadequate for situations when the customer didn’t know in advance what questions to explore.

This led Metaimpact to switch to Imply Enterprise (on-premise) as a solution to ingest and transform streaming data from Kafka into customer-facing analytics. Although Imply Enterprise made an immediate impact on query speed and solved the issue of managing arbitrary queries across multiple data sources at scale, Metaimpact ran into a few challenges that ultimately led them to upgrade to Imply Polaris (fully managed SaaS).

Challenge

The first challenge was related to infrastructure management. Even with Helm chart-based distribution, the Metaimpact team was spending a lot of time dealing with version upgrades, rolling restarts and capacity management. They knew that Imply Polaris would solve this with a fully managed cloud solution, but before they could make the switch from Imply Enterprise, they had to find a better solution for managing upserts.

Handling complex mappings for thousands of rows of data was challenged by the lack of normalized identifiers, as Metaimpact’s customers weren’t always certain of the correct mapping at the time of ingestion. Denormalizing the data would have required expensive re-ingestion operations, which was infeasible not only due to the cost, but also because they wanted to avoid batch changes to maintain near-real-time updates. Injecting the data as inline tables was also ruled out, as this wouldn’t be able to scale to millions of rows.

Metaimpact initially explored Kafka-driven lookup tables. By using the Kafka ingestion format, updates would be applied in near-real-time, it would support a future state with millions of rows, and it avoided expensive join operations because all of the data would already be in-memory. However, they ran into two core challenges:

  1. With many individual mappings from their customers, they originally envisioned a separate lookup table for each customer-defined-map ー but at scale, initializing all of the lookup tables had the unintended effect of timing-out regular ingestion tasks.
  2. Next, they created a compound key approach, where the customer’s map identifier would prefix the key to be matched. This could be evaluated in the query with a simple expression like `LOOKUP(CONCAT(mappingId, '::', columnName), "combinedLookupTable")`. This was functional, but was memory inefficient because the map ID was a repeated string on every entry within the lookup column.

“Polaris Dimension Tables make it possible for us to perform live identity normalization without having to re-ingest raw events when identity mappings are updated. With support for multiple columns, they’re the logical successor to Lookup functions.”

– Jason Schmidt, Software Architect | Metaimpact

Solution

Metaimpact transitioned to Polaris Dimension Tables as a more efficient and scalable solution. Dimension Tables are designed to optimize the upserts of high-cardinality datasets by storing dimensions separately from fact data, joining large datasets in real time without the overhead associated with traditional lookup tables (notably, Kafka-based lookup tables do not support multi-field keys or multiple attributes).

With Dimension Tables, Metaimpact no longer needed a compound key. As the map ID, key and expected output could be stored in separate columns, the low cardinality of map IDs could be represented efficiently and wouldn’t lead to memory issues for a very long time.

There were a few hurdles to overcome to switch to Dimension Tables, but Metaimpact found it to be a very reasonable transition:

  1. Metaimpact switched from the inline functional syntax `LOOKUP(expression, lookupTableName)` to a JOIN syntax. Since they were still working on the transition from Imply Enterprise to Polaris, they needed a format that would support both lookup tables and Dimension Tables. They gave the Dimension Table the same name as the combined lookup table had, and the only difference was needing to prefix the lookup table name with the “lookup” string.
  2. Next, they extended the split in their code to begin taking advantage of the structure of the Dimension Tables, so that they could limit the number of rows processed within the Dimension Table itself.
  3. Metaimpact identified an opportunity to optimize Dimension Table queries, which initially led to broadcast joins on every row. By moving to a CTE query with an upfront filter, they reduced the number of sub-query rows from each customer map to streamline the process. This allowed the query engine to focus on relevant rows, significantly enhancing JOIN efficiency and ensuring smooth query execution.
  4. Finally, they successfully transitioned to running all of their queries on Polaris, and around the same time, Imply included Dimension Tables in the Imply Quickstart they use for local development. This meant they could fully retire lookup tables!

Impact

By switching to Dimension Tables with Imply Polaris, Metaimpact improved memory efficiency by at least 2x. By reducing data costs, this effectively lengthens the runway for Metaimpact to expand their Imply node size.

The integration with Polaris also simplified management and support, allowing Metaimpact to use Dimension Tables like any other data source and benefit from Imply’s expert assistance. Beyond Dimension Tables, the switch to Polaris significantly reduced the amount of time that their team spent on infrastructure management due to benefits such as elastic autoscaling, committer-led support, automatic updates, and high availability that eliminated the aforementioned rolling restart issue. Taking these time savings into account, Imply Polaris reduced their total costs (TCO) by over 10% compared to Imply Enterprise.

Metaimpact is now fully operational on Imply Polaris, benefiting from faster, more scalable analytics with real-time computation under 120 ms average query speed. They anticipate future improvements as Imply continues to innovate upserts and other core capabilities.

*This story was written by Larissa Klitzke (Senior Product Marketing Manager, Imply) in collaboration with Jason Schmidt (Software Architect, Metaimpact).

Imply supports real-time computation at scale under 120 ms avg. query speed

Dimension Tables have provided a more flexible, scalable, performant, and future-proof solution for our needs. The transition to Imply Polaris was far better than any other database migration we have experienced in the past.

Jason Schmidt

Software Architect, Metaimpact

More case studies

See how other teams keep more data and spend less.

Managed services provider
Lipsum topic
IT services

Managed services provider expands security data coverage with Imply Lumi

Security data retention extended from 90 days to one year

IT services
Security data retention extended from 90 days to one year
1
year
of security data retention, up from 90 days

Security data retention extended from 90 days to one year

Global asset manager
Lipsum topic
Financial services

How a 15T+ AUM brokerage runs SPL queries up to 50× faster with Imply Lumi

Analytical SPL queries ran up to 50× faster

Financial services
Analytical SPL queries ran up to 50× faster
>80
%
smaller on-disk footprint than Splunk

Analytical SPL queries ran up to 50× faster

Large mobile telecommunications carrier
Lipsum topic
Telecommunications

Large mobile telecoms carrier deploys Imply Lumi for security data at scale

Telecommunications
>75
%
of SPL performance tests were faster with Lumi than Splunk

Over 75% of SPL performance tests were faster with Lumi than Splunk

Leading telecommunications provider
Lipsum topic
Telecommunications

How a leading telecoms provider reduced investigation delays in Splunk by eliminating manual log restoration

Immediate access to historical telemetry for investigations and audits

Telecommunications
Immediate access to historical telemetry for investigations and audits
4–5
days
of setup to restore three months of logs, now an immediate query

Immediate access to historical telemetry for investigations and audits

A leading university
Lipsum topic
Education

How a leading university accelerated security investigations in Splunk by eliminating week long data retrieval

Immediate access to approximately 95TB of historical data with no week long retrieval or rehydration workflows

Education
Immediate access to approximately 95TB of historical data with no week long retrieval or rehydration workflows
~95
TB
of historical data, now immediately accessible

Immediate access to approximately 95TB of historical data with no week long retrieval or rehydration workflows

BTG Pactual
Lipsum topic
Financial services

How BTG Pactual scales security investigations without replacing Splunk

Financial services
60
%+
lower cost per GB for observability data

60%+ lower cost per GB for observability data

RixEngine
Lipsum topic
Advertising

RixEngine delivers real-time observability for global ad exchanges

Advertising
8
hours
of engineering resources per week

Decreased infrastructure costs by 50%+ due to efficient data compression, tiered storage, streamlined cluster management, and a 70% reduction in bandwidth usage

Roblox
Lipsum topic
Gaming

Roblox delivers real-time visibility across millions of gaming experiences

Gaming
10
M+
gaming experiences

Delivered real-time analytics across 10M+ gaming experiences

PepsiCo
Lipsum topic
Food & beverage

PepsiCo delivers real-time operational visibility across sales, supply chain & marketing

Unified real-time analytics across retail, marketing, and supply chain operations

Food & beverage
Unified real-time analytics across retail, marketing, and supply chain operations
Subsecond
queries on billions of rows

Unified real-time analytics across retail, marketing, and supply chain operations

The R&A
Lipsum topic
Sport

The R&A delivers real-time observability during major sporting events

Sport
250
million
new rows every 15 minutes

Ingested 250 million new rows every 15 minutes

Orb
Lipsum topic
Enterprise software

Orb delivers real-time observability into billing operations

Enterprise software
Up to 30
hours
a month on scaling their workload

Able to scale and handle event volume that doubles or triples every few months

Zillow Group
Lipsum topic
Real estate

Zillow Group delivers real-time visibility for self-serve analytics

Real estate
5
-minute
onboarding to Imply Polaris

5-minute onboarding to Imply Polaris

Yahoo
Lipsum topic
Media & streaming

Yahoo delivers real-time visibility into user behavior at massive scale

Media & streaming
>100
billion
events daily

Ingesting more than 100 billion events daily

Walmart
Lipsum topic
Retail & e-commerce

Walmart delivers real-time visibility into competitor pricing

Walmart processes over 1B events daily with near subsecond query latency to monitor competitor pricing, enabling teams to respond instantly to market shifts.

Retail & e-commerce
Walmart processes over 1B events daily with near subsecond query latency to monitor competitor pricing, enabling teams to respond instantly to market shifts.
>1
billion
events processed daily

Walmart processes over 1B events daily with near subsecond query latency to monitor competitor pricing, enabling teams to respond instantly to market shifts.

WalkMe
Lipsum topic
Enterprise software

WalkMe delivers real-time observability across device performance

Replaced Elasticsearch for real-time arithmetic operations

Enterprise software
Replaced Elasticsearch for real-time arithmetic operations
Billions
of client devices monitored

Replaced Elasticsearch for real-time arithmetic operations

Twitch
Lipsum topic
Media & streaming

Twitch delivers real-time visibility for usage and performance

Media & streaming
~80
billion
events each day

Ingesting ~80 billion events each day

TrueCar
Lipsum topic
Automotive

TrueCar delivers real-time observability with dashboards & anomaly detection

Automotive
20
million
records ingested daily

20 million records ingested daily

Splunk
Lipsum topic
Enterprise software

Splunk delivers real-time observability for data investigation & monitoring

Enterprise software
500
million
rows ingested per minute

500 million rows ingested per minute

Salesforce
Lipsum topic
Enterprise software

Salesforce delivers edge observability across releases & performance

Enterprise software
47
%
total savings in storage footprint

47% total savings in storage footprint

Reddit
Lipsum topic
Media & streaming

Reddit delivers real-time analytics for ad campaign performance

Media & streaming
2-3
x
faster queries, from 2s to subsecond

2-3x faster queries, from 2s to subsecond

PayPal
Lipsum topic
Financial services

PayPal delivers real-time visibility into the user journey

Financial services
>5.5
billion
events per day

Ingesting more than 5.5 billion events per day

NTT
Lipsum topic
Telecommunications

NTT delivers real-time observability for global IP traffic

Telecommunications
>100
thousand
events each second

Druid required fewer resources to ingest, store, and query data vs. time-series databases

Confluent
Lipsum topic
Enterprise software

Confluent delivers real-time observability into streaming cluster operations

Enterprise software
>5
million
events per second

Ingesting more than 5 million events per second

Rakuten
Lipsum topic
Retail & e-commerce

Rakuten delivers real-time visibility across event streams

Hundreds of unique concurrent users

Retail & e-commerce
Hundreds of unique concurrent users
Millions
of records processed per second

Hundreds of unique concurrent users

Curious what this would look like in your environment?

Talk to the team about the stack you have today.