You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are familiar with profiling / flamegraphs, then you should know that Pyroscope:
14
+
Pyroscope identifies performance issues in your application by continuously profiling the code.
15
+
16
+
If you've never used a profiler before, then welcome!
17
+
18
+
If you are familiar with profiling and flame graphs, then you'll be happy to know that Pyroscope:
18
19
- Requires very minimal overhead
19
-
- Is designed in a way that **it can store years of your applications perf data down to 10 second granularity.**
20
-
There are two main components that allow Pyroscope to do this:
20
+
- Can store years of perf data down to 10 second granularity
21
+
- Uses a unique, inverted flame graph for increased readability
22
+
23
+
There are two main components that allow Pyroscope to run smoothly and quickly:
21
24
## Pyroscope agent
22
-
The Pyroscope agent wraps around your Python, Ruby, or Go application to poll the stacktrace (100 times per second) to calculate which function is consuming your CPU resources.
23
-
This simply means that 100 times a second Pyroscope records what function is currently using CPU to do some work or calculate something.
25
+
Every .01 seconds, the Pyroscope agent wraps around your Python, Ruby, or Go application to poll the stacktrace and calculate which function is consuming your CPU resources.
Pyroscope records and aggregates what your application has been doing, it then sends that data to the Pyroscope server over port `:4040`
26
-
Then here, the data is processed, aggregated, and stored ([BadgerDB](https://github.com/dgraph-io/badger)) in a way which allows for you to **quickly** query any time range:
28
+
Pyroscope records and aggregates what your application has been doing, then sends that data to the Pyroscope server over port `:4040`([BadgerDB](https://github.com/dgraph-io/badger)) to be processed, aggregated, and stored for speedy queries of any time range, including:
27
29
-[x] all of 2020
28
-
-[x] that one day that weird thing happened last month
29
-
-[x] that time you deployed on a friday and everything went to s*** and nobody knew why
30
-
-[x] A random 10 second span anytime ever that you only are querying to see if this is legit
31
-
We've been running a demo in production for a while now. Check out our [Demo Page](https://demo.pyroscope.io/) and select any time range to see how quick it is!
30
+
-[x] that one day last month when that weird thing happened
31
+
-[x] that time you deployed on a Friday and messed up everything without knowing why
32
+
-[x] A random 10 seconds you are only querying to see if Pyroscope is legit
33
+
34
+
Check out our [Demo Page](https://demo.pyroscope.io/) and select any time range to see how quickly Pyroscope works!
0 commit comments