dendrite/federationapi/routing
Neil Alexander 57320897cb
Federation API workers for /send to reduce memory usage (#1897)
* Try to process rooms concurrently in FS /send

* Clean up

* Use request context so that dead things don't linger for so long

* Remove mutex

* Free up pdus slice so only references remaining are in channel

* Revert "Remove mutex"

This reverts commit 8558075e8c9bab3c1d8b2252b4ab40c7eaf774e8.

* Process EDUs in parallel

* Try refactoring /send concurrency

* Fix waitgroup

* Release on waitgroup

* Respond to transaction

* Reduce CPU usage, fix unit tests

* Tweaks

* Move into one file
2021-07-02 12:33:27 +01:00
..
backfill.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
devices.go Use [] not null when there are no devices (#1480) 2020-10-06 11:05:15 +01:00
eventauth.go Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
events.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
invite.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
join.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
keys.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
leave.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
missingevents.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
openid.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00
peek.go Peeking over federation via MSC2444 (#1391) 2021-01-22 14:55:08 +00:00
profile.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
publicrooms.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
query.go Fix appsevice alias queries part 2 (#1684) 2021-03-03 17:00:31 +00:00
routing.go Change how servers are selected for missing auth/prev events (#1892) 2021-06-30 12:05:58 +01:00
send.go Federation API workers for /send to reduce memory usage (#1897) 2021-07-02 12:33:27 +01:00
send_test.go Reduce memory usage in federation /send endpoint (#1890) 2021-06-30 10:01:56 +01:00
state.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
threepid.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
version.go Version imprint (#1383) 2020-09-02 16:18:08 +01:00