Best Architecture for Storing Shopify App Analytics Events at Scale?

Hi Shopify Developers,

We’ve been on the Shopify App Store since 2020, and as our merchant base and data volume have grown, we’re starting to face challenges with App analytics data storage costs. I want to inform that this is not about every visitors analytics, or sessions records. it about a feature which we can not expose here .

Our app generates a high volume of analytics events, and we’re looking for recommendations on the best architecture for storing and processing this data efficiently.

Our main requirements are:

  • High write throughput
  • Fast dashboard queries
  • Cost-effective long-term storage
  • Easy to scale as data continues to grow
  • Reliable for analytics and reporting

We’re currently evaluating options such as Firebase, MongoDb cluster but it charges per API requests.

I’d love to learn from developers who have built Shopify apps at scale.

Some questions:

  1. What database or architecture are you using for analytics/event data?
  2. Do you store raw events, aggregated data, or both?
  3. How do you handle data retention and archiving?
  4. What strategies have helped you reduce storage costs?
  5. If you were starting a Shopify app today, what stack would you choose and why?

We’re not looking for a one-size-fits-all answer—just hoping to learn from real-world experiences and best practices from the community.

1 Like