atsign-foundation / at_server

The software implementation of Atsign's core technology
https://docs.atsign.com
BSD 3-Clause "New" or "Revised" License
40 stars 12 forks source link

Reduce likelihood of server reaching capacity on inbound connections #503

Closed gkc closed 2 years ago

gkc commented 2 years ago

Lead: @gkc

Describe the bug

Expected behavior Needs further analysis. Some initial thoughts:

As we implement what is required for this and for #502, we will need to also invest in client-side handling of outbound connections. There is some discussion of what this looks like in #502 - basically it means if we are keeping outbound connections open from the clients, then we need to have graceful retries for when the server end has had to kill them

Additional context As the network of connections between atSigns grows, we need to have policies which will optimise for the "normal" number of inter-server connections but will gracefully handle much larger numbers

gkc commented 2 years ago

@cconstab @cpswan @VJag @murali-shris @kalluriramkumar @nickelskevin Interested in any initial comments or thoughts you have on this

gkc commented 2 years ago

Marked this as P1 since we are seeing issues related to handling of connections in the secondary servers.

VJag commented 2 years ago
gkc commented 2 years ago

This still requires me to complete writing the end to end tests. 2SP for the remaining work.

gkc commented 2 years ago

Remaining work on this issue: Merge #583

Filed new issue #587 for additional work

gkc commented 2 years ago

Done, after a couple of follow-on PRs