Frontastic
  • Product
    • Why Frontastic
    • Features
    • Product Tour
    • Use cases
    • Pricing
  • Partners
  • Resources
    • Documentation
    • Blog
    • Events
  • Company
    • About
    • Jobs
  • Contact
  • Get a guided demo
  • Menu Menu
You are here: Home1 / Tech Talk2 / Performance optimization: How to improve data aggregation
Optimizing image delivery

How to optimize data aggregation

Performance is key for all sites. Not only does it improve SEO, but it increases sales and customer happiness. But companies must recognize the challenges that are involved. In this series, we’ll go through the main areas of site performance, how you can improve the performance of your site, and the trade-offs you’ll have to make when it comes to performance versus customer experience.

In this article of the series, we’ll look at optimizing data aggregation.

Why do I need to aggregate my data?

The heavy lifting of collecting and preparing all data required for the frontend happens in the backend. Given the amount of data it takes to power an eCommerce site, especially the amount of data from different APIs, the backend needs to be super quick to deliver this to your users to ensure they don’t have a slow user experience.

How do I aggregate my data?

Aggregating your data is a hugely underestimated task, and it’s quite a complex part of every modern frontend stack. It’s even more complex if your business model is based on multiple data sources and not just to display data from a single endpoint. For example, marrying content from a CMS with product data.

Frontastic provides the middle layer to aggregate all the data you want to see in your frontend, based on the API configuration done by storefront managers. Since we also let storefront managers attach arbitrary data to a single page, use complex queries on the backend systems, and use data from any number of systems, optimizing and monitoring the fetching of this data is a central aspect of Frontastic.

How does data aggregation work with Frontastic?

The 1st optimization we apply is only fetching the data streams which are actually used by the Tastics (frontend components) on a page.

The 2nd, and maybe most important, optimization is that we fetch all data streams in parallel. One of the key benefits of Frontastic is that it enables you to start with multiple product data streams and then combine it with content from a CMS and any additional custom data (for example, recommendations or products), basically whatever powers your business domain. This can be data from many different systems. While we favor fast API first systems, you still don’t want to wait for the sequential loading of all this data.

The 3rd optimization is that we automatically limit the number of retrieved items if the Tastics (frontend components) include settings for this. If multiple Tastics use a single product data stream but each of them only displays 3 products, we’ll only fetch 3 products from the API.

But the performance still depends on the API performance. It will only be as fast as the slowest API response, plus very few milliseconds for the internal processing of the data. On top of this, Frontastic handles errors in those APIs gracefully.

What else should I watch out for when handling data aggregation?

Frontastic also allows you to configure caching for each of these APIs. This can be beneficial, but caching can also be dangerous. Especially if you have products that can quickly run out of stock at any time, and you don’t want any listings to include these products. In such a case, we expose a granular caching configuration to storefront managers because we believe they know best about how quickly specific products might sell out.

Besides all the out-of-the-box optimizations Frontastic already implements, we also give you the tools to further optimize the data stream handling, but this will be the topic of another post.

Portrait Catherine Jones

Catherine Jones

Catherine’s the Technical Writer at Frontastic. She’s worked in many different positions at different levels but always with a customer focus and is always looking to create the best experience for users.

Stay In The Loop

Subscribe to our newsletter to keep up to date on all the latest Frontastic news.

Related

Performance optimization: How to optimize your data

Tech Talk
Performance is key for all sites. Not only does it improve SEO, but it increases sales and customer happiness. But companies must recognize the challenges that are involved. In this article, we'll go through how to optimize your data.
Read more
February 25, 2021
https://www.frontastic.cloud/wp-content/uploads/2021/02/data_optimization.png 630 1200 Helen https://www.frontastic.cloud/wp-content/uploads/svg/Frontastic-Logo-Gradient.svg Helen2021-02-25 12:47:312021-02-25 14:18:09Performance optimization: How to optimize your data
Pillars of eCommerce

The four pillars of eCommerce: Creating a flawless online experience

Tech Talk
Technology never stands still. In all industries, businesses have to adapt quickly if they want to stay ahead of the competition, and in 2021 that means putting the customer first by offering a flawless online experience. Our partner emporix shares interesting insights in this blog post.
Read more
February 24, 2021
https://www.frontastic.cloud/wp-content/uploads/2021/02/pillars.png 630 1200 Helen https://www.frontastic.cloud/wp-content/uploads/svg/Frontastic-Logo-Gradient.svg Helen2021-02-24 09:44:092021-02-24 09:46:49The four pillars of eCommerce: Creating a flawless online experience

How to optimize image delivery

Tech Talk
Performance is key for all sites. Not only does it improve SEO, but it increases sales and customer happiness. But companies must recognize the challenges that are involved. In this series, we'll go through the main areas of site performance, how you can improve the performance of your site, and the trade-offs you'll have to make when it comes to performance versus customer experience.
Read more
February 11, 2021
https://www.frontastic.cloud/wp-content/uploads/2020/12/Perfromance-Optimizing-image-Li.png 1260 2400 Helen https://www.frontastic.cloud/wp-content/uploads/svg/Frontastic-Logo-Gradient.svg Helen2021-02-11 06:12:082021-02-11 07:59:56How to optimize image delivery

Categories

  • Product and Functionalities
  • Company News
  • Tech Talk
  • Partnerships and Integrations
  • Insights
  • Remote Work
  • What others say

Product

  • Why Frontastic
  • Features
  • Product Tour
  • Use cases
  • Pricing

Company

  • About
  • Jobs

Resources

  • Blog
  • Documentation
  • Events

Connect

  • Contact
  • Partners

Get our newsletter

  • LinkedIn
  • Facebook
  • Twitter
MACH Alliance Logo
Data Privacy | Imprint | © Frontastic
Scroll to top
  • Ready to innovate?

    Fill in the details below and we’ll find a personalized plan that works for you.

  • We store your name, your email address and your message in our CRM ProsperWorks to ensure a timely and reliable processing. Without your consent, we will not use your e-mail address for newsletters or similar but to answer your request. Of course we can also delete your data if you want us to. Just let us know!
    If you select this checkbox, we will regularly send you news. Of course you can unsubscribe at any time using the link in the newsletter.
  • Seeing is Believing

    Fill in the details below to take a personalized guided demo.

  • We store your name, your email address and your message in our CRM Copper to ensure quick and reliable processing. The data transfer is encrypted. Without your consent, we won’t use your email address for newsletters or similar but just to answer your request. By clicking on “Request Demo” you confirm that you’ve also read our data privacy terms and that you consent your data is processed as described.
  • We save your name and email to send you regular news. For this purpose we use the service Mailchimp, to which we transfer your data. Of course you can always unsubscribe from the newsletter using the link at the end of the newsletter.
  • Let’s get together

    Fill in the details below to join us on our mission to create extraordinary digital customer experiences.

  • We store your name, your email address and your message in our CRM ProsperWorks to ensure a timely and reliable processing. Without your consent, we will not use your e-mail address for newsletters or similar but to answer your request. Of course we can also delete your data if you want us to. Just let us know!
    If you select this checkbox, we will regularly send you news. Of course you can unsubscribe at any time using the link in the newsletter.