diff --git a/content/reference/cpp/api-docs/google.protobuf.util.message_differencer.md b/content/reference/cpp/api-docs/google.protobuf.util.message_differencer.md index 37a80619..16b1daac 100644 --- a/content/reference/cpp/api-docs/google.protobuf.util.message_differencer.md +++ b/content/reference/cpp/api-docs/google.protobuf.util.message_differencer.md @@ -17,7 +17,6 @@ type = "docs"

This class is implemented based on the proto2 reflection. The performance should be good enough for normal usages. However, for places where the performance is extremely sensitive, there are several alternatives:

Note on handling of google.protobuf.Any: MessageDifferencer automatically unpacks Any::value into a Message and compares its individual fields. Messages encoded in a repeated Any cannot be compared using TreatAsMap.

Note on thread-safety: MessageDifferencer is not thread-safe. You need to guard it with a lock to use the same MessageDifferencer instance from multiple threads. Note that it's fine to call static comparison methods (like MessageDifferencer::Equals) concurrently, but it's not recommended for performance critical code as it leads to extra allocations.

diff --git a/content/support/debugging-playbook.md b/content/support/debugging-playbook.md index ebb92b19..a51b5ea8 100644 --- a/content/support/debugging-playbook.md +++ b/content/support/debugging-playbook.md @@ -43,15 +43,3 @@ bazel cquery 'somepath("//...", "@com_google_protobuf//:all")' **Note:** Prebuilts are only available for our standard set of platforms. Anyone on a nonstandard platform will have to build protoc from source. - -## Protostats Flume Pipeline - -The Protostats pipeline runs on borg through a Plx workflow defined by files in -google3/net/proto2/tools/internal/protostats and it requires quota to run. The -quota is taken from the `gpi-flex-pool`. Currently, Borg quota is registered for -the `protobuf-stats` user in 3 different cells: `yq`, `viatlrb`, and `vibrura`. -The latter are go/virtual-cells. The cell diversity and the use of virtual cells -are both intended to provide redundancy against stockouts caused by real -resource constraints or the occasional DiRT exercise. If registration needs to -be adjusted, see directions in -google3/net/proto2/tools/internal/protostats/BUILD.