Updating hashes
Summary: GitHub commits:
https://github.com/facebook/CacheLib/commit/f2f83ceb43294e383bc4524bc294b681910737eb https://github.com/facebook/fb303/commit/ce8af6280bc7ce336ddc05064d0165cfdcb24b58 https://github.com/facebook/fbthrift/commit/da27a027f856b63281e2c36b1a35d3c38a7229cf https://github.com/facebook/folly/commit/e243181570d06e6e746bc3995f0745f0e3dfd532 https://github.com/facebook/hermes/commit/36ab30689cf94a66203f5f99d9a4dd4d7930c515 https://github.com/facebook/mvfst/commit/3fc45489431dea92fbbdbf6d74161da416178f1a https://github.com/facebook/proxygen/commit/4954ad12adc177a9654ef7b5f9c30a1bdc6d6658 https://github.com/facebook/pyrefly/commit/b4cf749b51534e0886d9568da126cbd7dae784cd https://github.com/facebook/wangle/commit/ab25c8c58a444e62adb5ba9cb59aa25d4aa1fb45 https://github.com/facebookexperimental/edencommon/commit/f7388c02828151cd5371e1a6d572f741aa7a31f2 https://github.com/facebookexperimental/rust-shed/commit/aaefb4dbc2685df0a63721e3ff2b45e0f5c3b124 https://github.com/facebookincubator/fizz/commit/7de8f52e9878206cd3a0192d9b4295cd58cd2ac9
Reviewed By: ajb85
fbshipit-source-id: 2f63954b9a484cc3590def6cf8ac9d41494bc41f
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
fb303
fb303 is a base Thrift service and a common set of functionality for querying stats, options, and other information from a service.
Dependencies
fb303 depends on
And all transitive dependencies of the above.
Using fb303 for your service
You can have your own thrift service interface extend
fb303_core.BaseServiceto utilize the fb303 API. Some of the primary interfaces defined by fb303 are:getStatus()- Query the state of a running service.getCounters()- Get custom statistics about the performance and behavior of a service.getExportedValues()- Get arbitrary string values exported by a service. This can be used to export things such as the build metadata (version info and the source control commit ID it was built from) and other key configuration information.getOptions()/setOption()- Get and set configurable service parameters.C++ service handler implementations can extend
facebook::fb303::BaseServicefor default implementations of the Thrift methods.Curious about the name?
Wikipedia: http://en.wikipedia.org/wiki/Roland_TB-303
The TB-303 makes bass lines.
Bass is what lies underneath any strong tune.
fb303 is the shared root of all Thrift services.
fb303 ⇒ FacebookBase303.
Join the fb303 community
See the CONTRIBUTING file for how to help out.
License
fb303 is licensed under Apache 2.0 as found in the LICENSE file.
Note
fb303 is a dependency of many other projects at Facebook which expose Thrift interfaces; some which have been open-sourced. Examples include edenfs, proxygen, and fboss.
This project has evolved over many years, and parts of it predate C++11. While it provides useful functionality for service information reporting, it is not representative of modern C++ coding standards.
An early version of fb303 was originally open-sourced in the Apache Thrift project in 2008, and still exists in the Apache Thrift codebase under contrib/fb303/. The fb303 code has since continued evolving at Facebook. This version contained in this repository has significantly expanded functionality with regards to statistics tracking and reporting in C++ services.