This commit is contained in:
2018-03-15 16:52:21 +09:00
parent 3dfa14d20c
commit c26f6737dc
5 changed files with 796 additions and 360 deletions
+15 -3
View File
@@ -2,11 +2,23 @@
On redirect a list of hosts of the form [{zx:host(), [zx:realm()]}] must be provided to the downstream client.
This is the only way that downstream clients can determine which redirect hosts are useful to it.
- Connect attempts and established connections should have different report statuses.
An established connection does not necessarily have other attempts being made concurrently, so a termination should initiate 3 new connect attempts as init.
An attempt is just an attempt. It can fall flat and be replaced only 1::1.
- Change zx_daemon request references to counters.
Count everything.
This will be the only way to sort of track stats other than log analysis.
Log analysis sucks.
- Double-indexing must happen everywhere for anything to be discoverable without traversing the entire state of zx_daemon whenever a client or conn crashes.
- zx_daemon request() types have been changes to flat, wide tuples as in the main zx module.
This change is not yet refected in the using code.
- Write a logging process.
Pick a log rotation scheme.
Eventually make it so that it can shed log loads in the event they get out of hand.
- Create zx_daemon primes.
See below
New Feature: ZX Universal lock
Cross-instance communication