customer analytics software
June's logo
CustomersPricing
Changelog

Jun 30 2023

Leveling up our performance

We've been adding a lot of depth to our product over the last few months, and now need to make sure that we're not sacrificing performance in the process.

Last week we went on a team retreat in the French Alps, and we took the opportunity to work on some performance improvements.

The main things we worked on were:

  • Reducing the amount of queries we run at the same time
  • Only loading data when a chart is visible
  • Improving our caching strategy

Reducing the amount of queries we run at the same time

To make sure that we're not overloading our database, we've added a limit to the number of queries we run at the same time.

We've got tremendous performance improvements by queuing queries and running them in batches of not more than 10 at a time.

From an end-user perspective, there's no difference in the way the app works, but we're now able to handle a lot more traffic without any issues.

Only loading data when a chart is visible

In the past, when you opened a feature report, we were running 36 queries at the same time. This was causing a lot of issues, especially when we had a lot of users on the platform.

We've now changed the way we load data, and we're only loading data when a chart is visible on the screen. This means that now when a user opens a feature report, we're only running 6 queries at the same time, so the charts load a lot faster.

Improving our caching strategy

On top of all these changes, we've also improved our caching. This means that now we pre-compute a lot of data, so we don't have to run as many queries when a user opens a report.

Especially for our larger customers, this has made a huge difference in the way the app works. In the past we had to manually opt-in bigger customers to aggressive caching, but now we're able to do it for everyone automatically.

Improved Amplitude and Mixpanel data imports

In the past, a lot of our customers would get stuck when importing data from Amplitude or Mixpanel. This was because sometimes people would give us the wrong credentials, and we wouldn't be able to tell them what was wrong.

We've now added some validation to our data imports, so we can tell people what's wrong with their credentials before they start importing data.

This means that we show an error message right away if someone gives us the wrong credentials, so they can fix it without having to talk to us.

Other improvements

  • We introduced a user deletion API, so you can now delete users from your account using our API. You can find the documentation here.

Alberto Incisa della Rocchetta

Product & Growth

Ferruccio Balestreri

Engineer

Daniel Beere

Designer

Adis Banda

Engineer

Vinayak Mehta

Engineer

Enzo Avigo

Product

Let's meet for 30 mins

We're here to help you provide an exceptional experience to your customers.

Book a demo
Arrow-secondary
Barcode
JUN
Plane
OMG
FROMJune
TO"Oh my God!"
DEPARTURE