Skip to content
Snippets Groups Projects
  1. Nov 16, 2017
  2. Nov 15, 2017
  3. Nov 13, 2017
  4. Nov 12, 2017
  5. Nov 11, 2017
    • aschmitz's avatar
      Updates per code review · 5128c426
      aschmitz authored
      Thanks, @valerauko!
      5128c426
    • aschmitz's avatar
      Per-user reblog hiding implementation/fixes/tests · b95c4874
      aschmitz authored
      Note that this will only hide/show *future* reblogs by a user, and does
      nothing to remove/add reblogs that are already in the timeline. I don't
      think that's a particularly confusing behavior, and it's a lot easier
      to implement (similar to mutes, I believe).
      b95c4874
  6. Nov 09, 2017
  7. Nov 07, 2017
  8. Nov 06, 2017
  9. Nov 05, 2017
  10. Nov 04, 2017
  11. Nov 03, 2017
  12. Oct 27, 2017
    • David Yip's avatar
      Merge branch 'master' into gs-master · 870d71b7
      David Yip authored
      870d71b7
    • nullkal's avatar
      Feature: Unlisted custom emojis (#5485) · 78110529
      nullkal authored
      78110529
    • puckipedia's avatar
    • unarist's avatar
      Optimize FixReblogsInFeeds migration (#5538) · 0129f5ea
      unarist authored
      We have changed how we store reblogs in the redis for bigint IDs. This process is done by 1) scan all entries in users feed, and 2) re-store reblogs by 3 write commands.
      
      However, this operation is really slow for large instances. e.g. 1hrs on friends.nico (w/ 50k users). So I have tried below tweaks.
      
      * It checked non-reblogs by `entry[0] == entry[1]`, but this condition won't work because `entry[0]` is String while `entry[1]` is Float. Changing `entry[0].to_i == entry[1]` seems work.
        -> about 4-20x faster (feed with less reblogs will be faster)
      * Write operations can be batched by pipeline
        -> about 6x faster
      * Wrap operation by Lua script and execute by EVALSHA command. This really reduces packets between Ruby and Redis.
        -> about 3x faster
      
      I've taken Lua script way, though doing other optimizations may be enough.
      0129f5ea
  13. Oct 26, 2017
  14. Oct 25, 2017
  15. Oct 24, 2017
Loading