dendrite/internal/caching
Neil Alexander 99b696e775
Tweak cache counters (#2575)
* Tweak cache counters

This makes the number of counters relative to the
maximum cache size. Since the counters
effectively manage the size of the bloom filter,
larger caches need more counters and smaller
caches need less.

10 counters per 1KB data means that the default
cache size of 1GB should result in a bloom filter
and TinyLRU admission set of about 16MB
estimated.

* Remove line left by accident
2022-07-18 14:49:41 +01:00
..
cache_federationevents.go Ristretto cache (#2563) 2022-07-11 14:31:31 +01:00
cache_lazy_load_members.go Ristretto cache (#2563) 2022-07-11 14:31:31 +01:00
cache_roomevents.go Ristretto cache (#2563) 2022-07-11 14:31:31 +01:00
cache_roominfo.go Pointerise types.RoomInfo in the cache so we can update it in-place in the latest events updater 2022-07-13 10:13:34 +01:00
cache_roomservernids.go Ristretto cache (#2563) 2022-07-11 14:31:31 +01:00
cache_roomversions.go Ristretto cache (#2563) 2022-07-11 14:31:31 +01:00
cache_serverkeys.go Ristretto cache (#2563) 2022-07-11 14:31:31 +01:00
cache_space_rooms.go Ristretto cache (#2563) 2022-07-11 14:31:31 +01:00
cache_typing.go Remove eduserver (#2306) 2022-03-29 14:14:35 +02:00
cache_typing_test.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
caches.go Pointerise types.RoomInfo in the cache so we can update it in-place in the latest events updater 2022-07-13 10:13:34 +01:00
impl_ristretto.go Tweak cache counters (#2575) 2022-07-18 14:49:41 +01:00