File: broadcast_tutorial.md

package info (click to toggle)
websocketpp 0.8.2%2Bgit20250909-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,712 kB
  • sloc: cpp: 20,512; makefile: 18
file content (17 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Broadcast Tutorial
==================

This tutorial will dig into some more nitty gritty details on how to build high
scalability, high performance websocket servers for broadcast like workflows.

Will go into features like:
- minimizing work done in handlers
- using asio thread pool mode
- teaming multiple endpoints
- setting accept queue depth
- tuning compile time buffer sizes
- prepared messages
- flow control
- basic operating system level tuning, particularly increasing file descriptor limits.
- measuring performance with wsperf / autobahn
- tuning permessage-deflate compression settings