Skip to content

Commit

Permalink
store queries
Browse files Browse the repository at this point in the history
  • Loading branch information
kaichaosun committed Sep 26, 2024
1 parent 6afa79a commit fe19b87
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions standards/application/bandwidth-optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ _Concerns:_

**Option 3**

Increase the time interval between message retransmissions to reduce bandwidth usage.
Increase the time interval between message retransmissions to reduce bandwidth usage. The current resend epoch calculation in Status app is as follows:

```
next_epoch = current_epoch + (2^(send_count−1)×30×3) + rand(0,30)
```

The interval can be increased by adjusting the constant factor (30) to a higher value, e.g., 60 or 90, to reduce the frequency of message retransmissions.

_Concerns:_
- it may increase the latency of message delivery.
Expand All @@ -94,11 +100,14 @@ In the long term, such messages should persisted and updated with a decentralize

In the short term, the application should optimize the frequency of updates and reduce the size of descriptive messages to minimize bandwidth usage, for example only publish the id or hash of the message content, store the original content in other places like IPFS or S3.

### Store Node Queries
### Store Node Queries for missing messages and messages sent check

Regular queries to store nodes can create additional network traffic.

**Option 1**

Regular queries to store nodes for missing messages can create additional network traffic.
Use e2e reliability for missing messages retrieval and messages sent check.

Use e2e reliability for missing messages retrieval.

### Device Synchronization

Expand Down

0 comments on commit fe19b87

Please sign in to comment.