GoToSocial/internal/federation
kim 5d55e8d920
[performance] add account block DB cache and remove block query joins (#1085)
* add account block DB cache and remove reliance on relational joins

* actually include cache key arguments...

* add a PutBlock() method which also updates the block cache, update tests accordingly

* use `PutBlock` instead of `Put(ctx, block)`

* add + use functions for deleting + invalidating blocks

Signed-off-by: kim <grufwub@gmail.com>
Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
2022-11-20 16:33:49 +00:00
..
dereferencing [chore] update database caching library (#1040) 2022-11-15 18:45:15 +00:00
federatingdb [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
authenticate.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
clock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
commonbehavior.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
dereference.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
federatingactor.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
federatingactor_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
federatingprotocol.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
federatingprotocol_test.go [performance] add account block DB cache and remove block query joins (#1085) 2022-11-20 16:33:49 +00:00
federator.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
federator_test.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
gone.go [feature] Read + Write tombstones for deleted Actors (#1005) 2022-11-11 12:18:38 +01:00
handshake.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
transport.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00