Skip to content
  • Vasilii Iakliushin's avatar
    Add RedisCommands::Recorder to detect N+1 commmands in Redis · f696f670
    Vasilii Iakliushin authored
    Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/368697
    
    **Problem**
    
    We have tooling to detect N+1 database queries in tests, but we don't
    have a way to do the same for Redis.
    
    **Proposal**
    
    Introduce a RedisCommands::Recorder class to record Redis queries and
    allow to access them.
    
    Changelog: added
    f696f670