Skip to content
Snippets Groups Projects

Get rid of user activites table and replace it with redis

Merged James Lopez requested to merge fix/user-activities-performance into master
  • Gets rid of the user activities table
  • Switch from postgreSQL to Redis

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/1158

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Reassigned to @jameslopez

  • James Lopez Marked this merge request as a Work In Progress

    Marked this merge request as a Work In Progress

  • Mentioned in issue #1288 (closed)

  • James Lopez Added 1 commit:

    Added 1 commit:

    • 3da15069 - Fixed spec, removed duplicate push count, also updated code based on feedback

    Compare with previous version

  • James Lopez Added 1 commit:

    Added 1 commit:

    • 3caba170 - use post deployment migration

    Compare with previous version

  • James Lopez Unmarked this merge request as a Work In Progress

    Unmarked this merge request as a Work In Progress

  • James Lopez Added 1 commit:

    Added 1 commit:

    • a6226b6a - add extra spec for testing the actual time change in an update

    Compare with previous version

  • Author Maintainer

    @yorickpeterse updated the code. Can you review again? Also added a spec to double-check we are updating users and not creating new entries.

    Edited by James Lopez
  • James Lopez Added 1 commit:

    Added 1 commit:

    Compare with previous version

  • Author Maintainer

    @yorickpeterse quick question. Do you know when does the Gitlab::Redis cache expire (if ever?) and is there any task or background job that runs that could clean/remove the user/activities set ?

  • Yorick Peterse
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading