Actions
Protocol core-core Version 3 » History » Revision 13
« Previous |
Revision 13/73
(diff)
| Next »
Greg Burri, 07/07/2009 08:54 PM
Protocols¶
This page describes the protocols used by Aybabtu for network communication between cores and between core and GUI.
Core <-> Core¶
see source:protos/network_protocol.proto.
Parameters¶
Most parameters will be stored as constants in their component.
Name | Value | Unit | Explanation/Comments |
---|---|---|---|
ChunkSize | 33554432 | [Byte] | (32MB) |
LanSpeed | 52428800 | [Byte/s] | (50MB/s) |
_TimeRecheckChunkFactorv | 4 | - | If the time to download a chunk exceeds TimeRecheckChunkFactor * ChunkSize / LanSpeed then the peers are rescanned to choose a better one (better download rate). For example : 4 * 32 / 50 = 2.6 second |
SwitchToAnotherPeerFactor | 1.5 | - | During the recheck of the peers to choose a better one the other download rate must be above the current * SwitchToAnotherPeerFactor |
DownloadRateValidTime | 1500 / LanSpeed = 300 s | [s] | (5 min). The download rate of a peer is valid this time after its last update |
Core <-> GUI¶
Updated by Greg Burri over 15 years ago · 13 revisions