Skip to content

feat: performance optimizations for scaling#14

Merged
OWK50GA merged 14 commits into
masterfrom
scaling
May 5, 2026
Merged

feat: performance optimizations for scaling#14
OWK50GA merged 14 commits into
masterfrom
scaling

Conversation

@OWK50GA
Copy link
Copy Markdown
Collaborator

@OWK50GA OWK50GA commented May 5, 2026

Changes Made

  • Added classifications indexes to the db migrations for query performance

OWK50GA added 14 commits May 5, 2026 07:15
- configure db replication
- made two pools in db client
- perform read operations from secondary pool and write from primary
  pool
- keep all auth-related read and write operations to primary pool
Changes made:
- feat(auth): replace pkce local map with redis cache configuration
Changes made:
- add a normalizeQuery function to ensure consistent queries once same
  keys are supplied
- cache response body with redis in getAllProfiles and searchProfiles
  controllers
- go through cache hit path first and fall back to cache miss in
  controller
Changes made:
- install busboy for file streaming
- add batchInsertRecord method to database client
- add route handler for csv ingestion at api/profiles/upload
@OWK50GA OWK50GA merged commit c398783 into master May 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant