Github user Ethanlm commented on the issue:
https://github.com/apache/storm/pull/2270
Performance testing on `ConstSpoutNullBoltTopo`.
1. Config: `topology.message.timeout: 300`; `topology.max.spout.pending:
5000`;
2. Launched `4 workers`, `4 spout tasks` and `4 bolt tasks`. `ACKing`
enabled.
3. All experiments ran 300s.
4. For clarity, only show the outputs at `240s`.
5. Numbers fluctuate slightly during the experiments.
#### Experiment 1: No additional network latency
Grouping | spout_transferred | spout_acks | spout_throughput (acks/s) |
spout_avg_complete_latency(ms)
-- | -- | -- | -- | --
LocalityASG | 39121580 | 39130540 | 652026 | 1.9
LocalOrShuffle(loadaware disabled) | 36964380 | 36967160 | 616073 | 1.9
Shuffle (loadaware disabled) | 35742880 | 35735960 | 595714 | 4.8
LocalOrShuffle | 37432840 | 37436600 | 623880 | 1.9
Shuffle | 29940520 | 29940460 | 499008 | 4.5
#### Experiment 2: 20ms network latency
Grouping | spout_transferred | spout_acks | spout_throughput (acks/s) |
spout_avg_complete_latency(ms)
-- | -- | -- | -- | --
LocalityASG | 34551480 | 34548700 | 575858 | 1.8
LocalOrShuffle(loadaware disabled) | 34449860 | 34448900 | 574164 | 1.8
Shuffle (loadaware disabled) | 24112300 | 24106480 | 401871 | 18.5
LocalOrShuffle | 34506780 | 34510500 | 575113 | 1.8
Shuffle | 24494900 | 24503020 | 408248 | 18.5
#### Experiment 3: 100ms network latency
Grouping | spout_transferred | spout_acks | spout_throughput (acks/s) |
spout_avg_complete_latency(ms)
-- | -- | -- | -- | --
LocalityASG | 7265280 | 7262440 | 121088 | 2.5
LocalOrShuffle(loadaware disabled) | 7256840 | 7250180 | 120947 | 2.5
Shuffle (loadaware disabled) | 5085420 | 5084960 | 84757 | 94
LocalOrShuffle | 7235960 | 7245760 | 120599 | 2.6
Shuffle | 4189880 | 4186640 | 69831 | 89.1
Conclusion:
1. `LocalityASG` is similar to `LocalOrShuffle` in this case which is as
expected.
2. `LocalityASG` and `LocalOrShuffle` is less effected by network latency
than `Shuffle`
Â
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---