[SERVER-18269] Report operation latencies in microseconds Created: 30/Apr/15  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Logging
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Igor Canadi Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

Mongo currently reports latencies for all operations in milliseconds. However, most of operations on higher-end machines are sub-millisecond. Those operations are just reported as 0ms in the log.

At Parse we rely on this log to compare performance of different storage engine. Currently this is really hard since we get useful info only for long tail of operations that take more than 1ms.

Would it be possible to report latencies in microseconds?



 Comments   
Comment by Igor Canadi [ 30/Apr/15 ]

Interestingly, on our deployment of MongoDB with RocksDB storage engine, 99.92% of queries are reported as 0ms

Generated at Thu Feb 08 03:47:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.