pepyatka / pepyatka-server

Server for Pepyatka
79 stars 27 forks source link

Faster likes #285

Closed indeyets closed 9 years ago

indeyets commented 9 years ago

This pull-request makes an attempt to:

  1. minimize number of redis-requests, by propagating objects instead of ids down the call-chain
  2. delay pubsub-notifications generation until regular response is sent to the user

as a side-effect, this also restores like-based propagation of hidden posts, which seemed to be absent

NB: I did not do real-world speed testing yet