dendrite/cmd
Neil Alexander a466e9e9cc
LRU cache for room versions in RS query API (#976)
* Experimental LRU cache for room versions

* Don't accidentally try to type-assert nil

* Also reduce hits on query API

* Use hashicorp implementation which mutexes for us

* Define const for max cache entries

* Rename to be specifically immutable, panic if we try to mutate a cache entry

* Review comments

* Remove nil guards, give roomserver integration test a cache

* go mod tidy
2020-04-22 13:00:05 +01:00
..
client-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
create-account use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
create-room-events Further room version wiring (#936) 2020-03-27 16:28:22 +00:00
dendrite-appservice-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-client-api-server Perspective key fetching, some federation room join fixes (#975) 2020-04-20 17:42:34 +01:00
dendrite-demo-libp2p Perspective key fetching, some federation room join fixes (#975) 2020-04-20 17:42:34 +01:00
dendrite-edu-server Rename the typing server to EDU server (#948) 2020-03-30 15:02:20 +01:00
dendrite-federation-api-server Perspective key fetching, some federation room join fixes (#975) 2020-04-20 17:42:34 +01:00
dendrite-federation-sender-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-media-api-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-monolith-server Perspective key fetching, some federation room join fixes (#975) 2020-04-20 17:42:34 +01:00
dendrite-public-rooms-api-server WIP: Add libp2p-go (#956) 2020-04-14 16:15:59 +01:00
dendrite-room-server patch dendrite microservices with bind config (#795) 2019-10-02 10:29:27 +01:00
dendrite-sync-api-server CS API: Support for /messages, fixes for /sync (#847) 2020-01-23 17:51:10 +00:00
dendritejs WIP: Add libp2p-go (#956) 2020-04-14 16:15:59 +01:00
federation-api-proxy Fix pipeline, emoji and syntax (#713) 2019-06-19 14:05:03 +01:00
generate-keys use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
kafka-producer Support sqlite in addition to postgres (#869) 2020-02-13 17:27:33 +00:00
mediaapi-integration-tests use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
roomserver-integration-tests LRU cache for room versions in RS query API (#976) 2020-04-22 13:00:05 +01:00
syncserver-integration-tests Implement gomatrixserverlib.HeaderedEvent in roomserver Kafka output (#914) 2020-03-17 11:01:25 +00:00