Home / Companies / Sysdig / Blog / Post Details
Content Deep Dive

System profiling for lazy developers

Blog post from Sysdig

Post Details
Company
Date Published
Author
Loris Degioanni
Word Count
1,348
Language
English
Hacker News Points
-
Summary

Loris Degioanni's blog post explores an efficient and less cumbersome approach to system profiling using sysdig tracers, particularly beneficial for developers who prefer minimal setup. The post discusses the use of sysdig, an open-source tool, to profile MongoDB queries by comparing the latency and network bandwidth usage of the aggregate functionality introduced in MongoDB 2.2 against the traditional map-reduce method. Degioanni demonstrates how sysdig tracers can be integrated into scripts to mark the beginning and end of query executions, allowing for the collection of performance data with reduced noise. The analysis reveals that the aggregate method is significantly faster and more bandwidth-efficient than map-reduce. The post concludes by emphasizing the advantages of using aggregate queries in MongoDB and encourages developers to adopt sysdig tracers for easier and effective profiling in containerized environments.