ShopScale

How ShopScale uses Kurai to power their newest projects.

Industry

E-commerce & Retail

Location

Austin, TX

Employees

85

Identity Provider

ShopScale

Workloads

Recommendation Engine, Real-time Personalization, Redis, Python

About

ShopScale is an e-commerce platform serving 2,000+ mid-sized retailers with 500,000+ products across fashion, electronics, and home goods. They process $200M+ in GMV annually and compete with Amazon by offering personalized shopping experiences.

Challenge

ShopScale's basic 'customers who bought this also bought' recommendations weren't driving conversions. Average order value (AOV) was stagnant at $72, and cart abandonment was 68%. They needed personalized recommendations but lacked ML expertise.

Solution

Kurai built a hybrid recommendation engine combining collaborative filtering, content-based filtering, and real-time personalization. Using Python scikit-learn, Redis caching, and FastAPI, we deployed a system serving 50K recommendations/second with 40ms latency.

Results

32% increase in average order value ($72 → $95)...

28% reduction in cart abandonment...

15% increase in conversion rate...

$12.5M annual revenue increase...

ML-Powered Recommendations: 32% AOV Increase

The Problem

ShopScale was stuck in the middle. Too big for basic recommendations, too small for Amazon’s proprietary ML. Their existing system used simple collaborative filtering:

# Old approach: item-to-item similarity
def get_recommendations(user_id):
    purchases = get_user_purchases(user_id)
    similar_items = find_similar(purchases)
    return similar_items[:10]

Results? Underwhelming:

  • AOV stuck at $72 (industry avg: $85)
  • Cart abandonment: 68%
  • Conversion rate: 2.1% (industry avg: 3.2%)

CTO Lisa Park: “We were leaving money on the table. Every unc personalized impression was lost revenue.”

The Solution

Kurai built a three-tier recommendation system in 10 weeks:

Tier 1: Real-time Personalization

from sklearn.metrics.pairwise import cosine_similarity
import redis
import numpy as np

# Hybrid scoring function
def score_item(user, item, context):
    # Collaborative filtering (40%)
    cf_score = collaborative_filter_score(user, item)

    # Content-based (30%)
    cb_score = content_similarity(user.preferences, item.features)

    # Contextual (20%)
    context_score = context_relevance(item, context.time, context.device)

    # Popularity boost (10%)
    popularity_score = item.global_popularity

    return (
        0.40 * cf_score +
        0.30 * cb_score +
        0.20 * context_score +
        0.10 * popularity_score
    )

Tier 2: Batch Training Pipeline

  1. Nightly model retraining (2M user-item interactions)
  2. Feature engineering: 150+ features per user/item
  3. Matrix factorization: SVD for dimensionality reduction
  4. A/B testing: 5% traffic to new models before rollout

Tier 3: Multi-Armed Bandit

  • Exploration vs. exploitation balance
  • Thompson sampling for cold-start
  • Contextual bandits for seasonal items

Infrastructure:

  • Model serving: FastAPI + Uvicorn (async)
  • Caching: Redis Cluster (6 nodes, 50K QPS)
  • Feature store: PostgreSQL + materialized views
  • Monitoring: Evidently AI for model drift detection
  • Cloud: AWS (m5.2xlarge instances, auto-scaling)

The Results

Immediate Impact (Month 1):

  • AOV: $72 → $88 (+22%)
  • Cart abandonment: 68% → 52%
  • Conversion rate: 2.1% → 2.8%

After Optimization (Month 3):

  • AOV: $72 → $95 (+32%)
  • Cart abandonment: 68% → 49%
  • Conversion rate: 2.1% → 3.1%
  • Recommendations CTR: 3.2% → 8.7%

Revenue Impact:

  • Previous annual revenue: $180M
  • New annual revenue: $192.5M
  • Increase: $12.5M/year

Performance:

  • Latency: P50 15ms, P95 40ms, P99 85ms
  • Throughput: 50K recommendations/second
  • Uptime: 99.97% (SLA guaranteed)
  • Cache hit rate: 92%

Recommendation Types

  1. Homepage Personalization (38% of impressions)

    • “Recommended for You” based on browsing history
    • 12.3% CTR (vs. 4.1% baseline)
  2. Product Page (45% of impressions)

    • “Customers Also Bought” + “Complete the Look”
    • 9.7% add-to-cart rate (vs. 2.9%)
  3. Cart Abandonment (12% of impressions)

    • Email recommendations based on cart contents
    • 18.4% recovery rate (vs. 8.2%)
  4. Post-Purchase (5% of impressions)

    • Cross-sell recommendations
    • 22% repeat purchase rate

Customer Feedback

“Our AOV jumped $20 in three months. The recommendations feel scarily good—it’s like the system knows what I want before I do.” — James Wilson, ShopScale Merchant

What’s Next

Phase 2 includes:

  • Visual search: “Shop the look” from uploaded photos
  • Voice recommendations: Integration with Alexa/Google Home
  • Social proof: Show friend purchases in recommendations
  • Dynamic pricing: ML-optimized discounts per user

Technology Stack

  • ML Framework: scikit-learn + LightFM
  • Serving: FastAPI + Uvicorn (async)
  • Caching: Redis Cluster with Sentinel
  • Database: PostgreSQL 15 with pgvector
  • Queue: RabbitMQ for batch jobs
  • Monitoring: Prometheus + Grafana
  • Experiment tracking: MLflow
  • Infrastructure: AWS ECS + DynamoDB

Key Metrics

MetricBeforeAfterImprovement
AOV$72$95+32%
Cart abandonment68%49%-28%
Conversion rate2.1%3.1%+48%
Rec CTR3.2%8.7%+172%
Add-to-cart rate2.9%9.7%+234%

ROI Breakdown

  • Investment: $450K (development + infrastructure)
  • Annual revenue increase: $12.5M
  • Annual infra cost: $120K
  • Net ROI: 2,578% in Year 1

Timeline

  • Week 1-3: Data pipeline and feature engineering
  • Week 4-6: Model development and offline testing
  • Week 7-8: Real-time serving infrastructure
  • Week 9: A/B testing (10% traffic)
  • Week 10: Full rollout

Lessons Learned

  1. Cold start is hard: New users got poor recommendations; solved with popularity-based fallback
  2. Cache everything: 92% cache hit rate reduced load by 10x
  3. Measure business metrics: ML accuracy matters, but revenue matters more
  4. A/B test everything: One “better” model actually hurt revenue by 4%

ShopScale’s recommendation engine now drives $1M+ in revenue monthly. They’re expanding to fashion-specific features like “shop the look” and size recommendations.

Trusted by Industry Leaders

Empowering innovators, shaping the future

David Gutierrez

David Gutierrez

CTO at TechFlow AI

"The RAG system they built for us reduced our support tickets by 60%. Their expertise in LLM integration is unmatched."

Pierluigi Camomillo

Pierluigi Camomillo

VP Engineering at DataScale

"They migrated our monolith to microservices seamlessly. We saw a 40% cost reduction and significantly improved scalability."

Ella Svensson

Ella Svensson

Founder at MediSort Health

"Their ML-powered patient triage system transformed our operations. 70% faster triage with 94% accuracy—sim incredible results."

Alexa Rios

Alexa Rios

Chief Product Officer at ShopMax

"The recommendation engine they built increased our AOV by 32%. Highly recommended for any e-commerce business looking to leverage AI!"