Contents
1. About Web Services ................................................................................................................................................................ 6
1.1 Scope and Audience ........................................................................................................................................................ 6
2. DeathStarBench/socialNetwork Architecture ......................................................................................................................... 7
2.1 DeathStarBench/socialNetwork Components ................................................................................................................ 7
2.1.1 Web Frontend: NGINX ............................................................................................................................................ 7
2.1.2 Caching Layer: REDIS ............................................................................................................................................... 8
2.1.3 Caching Layer: MEMCACHED .................................................................................................................................. 9
2.1.4 Databases: MONGODB ............................................................................................................................................ 9
2.1.5 Application Layer: PYTHON, C/C++, LUA ................................................................................................................. 9
2.1.6 Workload Generators: WRK2 ................................................................................................................................ 10
3. Deployment ........................................................................................................................................................................... 11
3.1 Hardware Configuration ................................................................................................................................................ 11
3.1.1 Ampere Servers ..................................................................................................................................................... 11
3.1.2 x86 Servers ............................................................................................................................................................ 11
3.2 Software Configuration ................................................................................................................................................. 12
3.3 Prerequisites .................................................................................................................................................................. 12
3.4 DeathStarBench/socialNetwork on GitHub .................................................................................................................. 12
3.5 Building AArch64 Images .............................................................................................................................................. 13
3.6 Deploying the Social Network Application .................................................................................................................... 13
3.7 Standalone vs Clustered Deployment ........................................................................................................................... 14
3.7.1 Standalone Mode (Default) ................................................................................................................................... 14
3.7.2 Sharded, Replicated Setup .................................................................................................................................... 14
3.8 Running the Load Generator ......................................................................................................................................... 15
3.9 Monitoring Using Grafana and Prometheus ................................................................................................................. 16
4. Benchmarking ........................................................................................................................................................................ 17
4.1 Benchmarking Configuration ........................................................................................................................................ 17
4.2 Benchmarking Steps ...................................................................................................................................................... 18
4.3 Benchmarking Results ................................................................................................................................................... 20
4.4 Rack and Datacenter-Level Efficiency ........................................................................................................................... 22
5. Conclusion ............................................................................................................................................................................. 24
6. Additional Resources ............................................................................................................................................................. 25
7. Appendix ................................................................................................................................................................................ 26
7.1 Configuration Parameters for Deploying the Social Network Application ................................................................... 26
7.2 SLC on Ampere Altra and Altra Max .............................................................................................................................. 27
7.3 Footnotes ...................................................................................................................................................................... 27
评论