googleforgames / global-multiplayer-demo

This multiplayer demo is a cloud first implementation of a global scale, realtime multiplayer game utilising dedicated game servers, utilising both Google Cloud's products and open source gaming solutions.
Apache License 2.0
117 stars 16 forks source link

Add some eBPF CPU profiling #172

Open markmandel opened 1 year ago

markmandel commented 1 year ago

One of my new favourite things is CPU profiling with eBPF tools!

There are a few open source options - https://www.parca.dev/ is the one I'm looking at most closely, mainly because it's an Apache licence and comes with a UI.

https://github.com/grafana/pyroscope Could also be a good option, but it is AGPL licenced.

I think Parca has better open-source onboarding docs, but worth trying both out, see which works better (or maybe offer both as options in the project, depending on which ones you want).