Updating hashes
Summary: GitHub commits:
https://github.com/facebook/CacheLib/commit/131894ee9cfdc7844d3afe2e5c0fb029fcf0922e https://github.com/facebook/fb303/commit/dbf38812da70f065e81aeaabaa45c7751f95d1ef https://github.com/facebook/fbthrift/commit/06b44f1cec1ad98e090971cbfd7def33cf509d46 https://github.com/facebook/folly/commit/866efdcff136065dd195f7914e2c24187e6d4189 https://github.com/facebook/hermes/commit/65df94b394f7c3a6417d4efbaf613b7ae7608494 https://github.com/facebook/mvfst/commit/cbf07a90962938c40ed11d8899d0e8b2e8771dd5 https://github.com/facebook/proxygen/commit/029d51d1070ba40ea2215fc5f9e8f70df93e438a https://github.com/facebook/pyrefly/commit/fb7004fb993c92927a5264de237daf64ef601c55 https://github.com/facebook/wangle/commit/0d0fd40dc75adf157f9cfa75b4e0963c9c527bce https://github.com/facebookexperimental/edencommon/commit/150a9280848272c64a7623de979697b60b0f71cc https://github.com/facebookexperimental/rust-shed/commit/71a5492f7e1f3686903f9fb40555b2202afb9d15 https://github.com/facebookincubator/fizz/commit/cbdf23e3df653bd4d44898c09545dd0f5cdc923b
Reviewed By: kainanpeace666
fbshipit-source-id: 96dc26580af50bce1d4bc8bba1c3011bc90e8dd6
版权所有:中国计算机学会技术支持:开源发展技术委员会
京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.