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

feat(event): Add logical separation between application and events databases #1349

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

vincent-pochet
Copy link
Collaborator

Context

On the path for high volume improvements, we need to adapt the structure of the events table for better performance.

Description

This PR:

  • Adds the configuration for a proper events database
  • Sends all Event.read queries to the event database
  • Clean event related queries to rely on IDs and not Active Record models

@vincent-pochet vincent-pochet added the Event Related to Events label Sep 25, 2023
@vincent-pochet vincent-pochet self-assigned this Sep 25, 2023
@vincent-pochet vincent-pochet merged commit 187a57c into main Sep 26, 2023
5 checks passed
@vincent-pochet vincent-pochet deleted the feat-event-denormalize branch September 26, 2023 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Event Related to Events
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants