facebookarchive / swift

An annotation-based Java library for creating Thrift serializable types and services.
Apache License 2.0
900 stars 297 forks source link

Collect per-invocation and total byte count stats for each method #137

Closed andrewcox closed 11 years ago

andrewcox commented 11 years ago

@alandau and I talked. Adding these new stats does hit perf in benchmarks, in a non-trivial way: turning on stats collection has a pretty big impact if your requests/second is in the 100s of thousands, but for most services in the 10-50K requests/second range, the impact will be pretty small.

So we'll put this in for now, and we'll work on improving efficiency of stats later.

andrewcox commented 11 years ago

rebased & pushed