Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messaging: Persons on Events #251

Open
5 tasks
joethreepwood opened this issue Oct 21, 2024 · 3 comments
Open
5 tasks

Messaging: Persons on Events #251

joethreepwood opened this issue Oct 21, 2024 · 3 comments
Assignees
Labels
marketing Issues/PRs related to marketing and content.

Comments

@joethreepwood
Copy link
Contributor

Here we go again.

Short version: We want to make some ClickHouse changes which will speed things up, but also create some data changes. We tried this before and got some complaints, which stalled it. Now, we're trying again.

The new approach is slightly different to the old one. Namely: we're not changing the way we merge users. However, all filters which are based on person properties will be affected.

We don't want to give users a way to opt-out of this, but we do need to give the biggest customers some warning. This is because the impact will be the most visible to the largest teams, but this is ultimately a necessary step for performance improvements.

The basic gist of the comm is:

  • We're making a change to speed things up.
  • Check the blog for more info.
  • If you do see any data changes, get in touch and we'll help you fix.

Here's what we need to do...

  • Publish an updated blog post to the changelog - @joethreepwood
  • Send an email to all users who do not have POE enabled and who spend $20k plus, giving one week warning - @joethreepwood
  • An in-app announcement notification directing to the changelog when this is live - @joethreepwood
  • Individual message from the AE for AE-managed accounts - @simfish85

And here's what I need...

  • Org_IDs (or cohort) for the users we want to message

In the meantime, I'll work on changelog and email copy here for a 👍 and final decision from @timgl - previews soon

@joethreepwood joethreepwood added the marketing Issues/PRs related to marketing and content. label Oct 21, 2024
@joethreepwood joethreepwood self-assigned this Oct 21, 2024
@joethreepwood
Copy link
Contributor Author

joethreepwood commented Oct 21, 2024

Draft email copy.

Screenshot 2024-10-21 at 15 02 09

@joethreepwood
Copy link
Contributor Author

If I can get a 👍 on the above, I can then put the changelog copy together drawing and expanding from that.

@joethreepwood
Copy link
Contributor Author

Some changelog copy

In a slight deviation from our usual changelog format, we’re posting today to let you know that  _next_ week, on XXth XXX, we’re going to combine our ClickHouse tables for Persons and Events into one. That may not sound exciting, but it’s actually a pretty substantial backend change even if you won’t unlock any new features. 

What it does unlock, however, is massive speed increases for any queries involving person properties. These queries will now be **up to 4x faster** than they were before because we no longer have to `JOIN` multiple tables to get an answer — all the info we need is in one place. 

Combining these tables also means that person properties will now be stored on events and will reflect the value at the time of the event, rather than the latest value. If you need to reliably access the latest value, we recommend using a dynamic cohort instead.

We expect this to be an invisible change, aside from the fact that we’re adding some go-faster stripes to our ClickHouse tables. But if you do spot something odd, you can get in touch as always.

@timgl can I get a final check from you in case I understand ClickHouse even less well than I think?

If this looks correct, all I need is a list of targets for the email from @simfish85 and a date we want to launch it on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
marketing Issues/PRs related to marketing and content.
Projects
None yet
Development

No branches or pull requests

1 participant