Stories · Energy & Utilities
AEP cuts its interval meter data pipeline cost 35% and runs it 17x faster
- Data Platform
- Energy & Utilities
- Amazon EMR
- Apache Iceberg
- AWS Glue
- Amazon Bedrock AgentCore
AEP SERVES
~5.6M
customers
11
states
What Mactores delivered for AEP
Cost
Before
100
Now
65 Five points below the 70 that a 30% cut would have reached.65, with the commitment at 70
Runtime
Before
17 hours
Now
15–20 minutes About 2% of the old run, so the bar is barely there.15–20 minutes
Each track is the figure from before the rebuild. Hover a Now bar for its value.
The customer
About AEP
- Customers About 5.6 million
- Service area 11 states
- Industry Energy · Utilities
- Pipeline in scope Non-VEE interval metering
The challenge · 01
The problem
- The symptoms 17-hour jobs and failed weekends Batch jobs ran for 17 hours, and the weekend batches failed outright.
- The earlier approach Months of tuning, no redesign For 9 to 10 months the previous team patched EMR configuration while the architecture stayed as it was.
Three goals for the engagement
- Find the root cause that some 18 months of earlier effort had not.
-
Rebuild the pipeline around its real workload.
-
Reach production with at least 30% lower cost and at least 50% better performance.
[Quote 1: what Linden Lab needed from AI, and why it chose Claude through Mactores given its commitment on resident content]”
How Mactores delivered · 02
AI agents found the fault in hours; engineers rebuilt the pipeline
Mactores ran the work on its agent-native delivery model, with AI agents on the diagnosis and forward-deployed engineers on everything that followed.
The diagnosis
Mactores AI agents
Under 2 hours
HiveQL on HDFS was structurally wrong for this workload.
Not an EMR version bugThe rebuild
Forward-deployed engineers
| Layer | Before | Change | After |
|---|---|---|---|
| Compute | Amazon EMR | → | Amazon EMR Kept |
| Job code | HiveQL | → | PySpark |
| Storage |
|
→ | Apache Iceberg on Amazon S3 In production |
The work
The AWS services behind the rebuild
This is Mactores’ Data Platform Modernization work in practice, with each service doing one job in the new pipeline.
- Amazon EMR
Runs the pipeline’s PySpark jobs
- Amazon S3 with Apache Iceberg
Stores the interval-metering tables
- AWS Glue Data Catalog
Keeps the table definitions the jobs read
- Amazon Bedrock AgentCore with Claude
Runs the AI agents that traced the fault
Delivery · 03
One week to a prototype, twelve to production
Week 1 · assessment Weeks 2 to 13 · production build
Each segment is one week.
Phase 1 · Week 1
Assessment
- AI agents
- Root-cause analysis of the failing jobs
- Engineers
- A working prototype by the end of the week
Phase 2 · Weeks 2 to 13
Production build
Forward-deployed engineers
- 01 Architecture for the rebuilt pipeline
- 02 HiveQL rewritten as PySpark on Iceberg
- 03 Code validation
- 04 Cutover through DEV, UAT and production
In production · 04
The outcome
| Target | Committed | Delivered |
|---|---|---|
| Cost reduction | At least 30% | 35% |
| Performance gain | At least 50% | 17x faster |
Day 1 EMR was trusted again as AEP’s analytics platform of record.
What we ship · Data Platform Modernization
Running a pipeline that tuning hasn’t fixed?
Mactores diagnoses slow or failing data platforms and takes the fix all the way to production on AWS.
Curious how AI agents speed up a diagnosis? See Mactores’ AI agent expertise.