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
commonbehavior.go
dereference.go
federatingactor.go
federatingactor_test.go
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
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
transport.go