describe retries

This commit is contained in:
Ted Unangst 2019-04-15 11:14:30 -04:00
parent 91678975d0
commit 026a260722
1 changed files with 13 additions and 3 deletions

View File

@ -6,6 +6,18 @@ See security.txt for some notes on security.
See ping.txt for a proposed Ping extension to ActivityPub. See ping.txt for a proposed Ping extension to ActivityPub.
-- retries
If a message can't be delivered, we backoff and retry.
1 - five minutes later in case the servce restarted
2 - one hour later in case the server rebooted
3 - 12 more hours later in case the server was upgraded
4 - 24 more hours later in case there was a catastrophe
5 - it's dead.
A random drift of up to 10% is added to each delay to avoid swarming.
-- schema -- schema
Some notes on the database schema. Mostly for development, but maybe useful Some notes on the database schema. Mostly for development, but maybe useful
@ -50,6 +62,4 @@ receive messages from people we don't follow. Should we track everybody whose
identity crosses our path? This seems unnecessary. The honkers table is more identity crosses our path? This seems unnecessary. The honkers table is more
like a mapping of active relationships, not a directory of all peoples. like a mapping of active relationships, not a directory of all peoples.
Some deduping of honks is performed. Known shortcoming: only the first bonk is Some deduping of honks is performed. This may not be perfect.
recorded. Subsequent bonks, even by different actors, are ignored. Bonus
shortcoming: we download such bonks every time.