Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Making GitLab Faster

Making GitLab Faster

Talk given at RubyC 2016

Yorick Peterse

June 04, 2016
Tweet

More Decks by Yorick Peterse

Other Decks in Programming

Transcript

  1. “Gitlab is one project that absolutely needs to be rebuilt

    using Java. Both from a performance and a deployment perspective” https://news.ycombinator.com/item?id=11049717
  2. “gogs was designed from the start to be fast. Nothing

    but a rewrite would make GitLab as fast as gogs for basic stuff on small self-hosted servers.” https://news.ycombinator.com/item?id=11431410
  3. GitLab’s Requirements 1. FOSS 2. Easy to set up 3.

    Easy to query, visualize and add metrics 4. Low overhead 5. Support for percentiles
  4. 1. Request details (URL, timings, etc) 2. Query timings, backtraces,

    and EXPLAIN ANALYZE output 3. Line profiling
  5. 1. Grab all references in a single pass 2. Query

    any rows using the references 3. Replace text using the queried data
  6. There is no silver bullet to fixing performance problems, it

    simply takes time, effort, and patience.