mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Zhuk <dz...@twopensource.com>
Subject Re: Review Request 63959: Optimized resources logging in master.
Date Wed, 22 Nov 2017 13:24:12 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63959/
-----------------------------------------------------------

(Updated Nov. 22, 2017, 1:24 p.m.)


Review request for mesos, Benjamin Mahler and Michael Park.


Summary (updated)
-----------------

Optimized resources logging in master.


Repository: mesos


Description (updated)
-------

When master logs agent or task resources, it uses `operator <<` for raw
protobuf data, which outputs resources in JSON format, and is rather
slow. However resources are known to be valid and refined when logged by
master, so it's faster to use `operator <<` after protobuf is converted
to `Resources`.


Diffs (updated)
-----

  src/master/master.cpp 7417b5d641fd4bb6d91cb0e6456c60201bbc8206 


Diff: https://reviews.apache.org/r/63959/diff/2/

Changes: https://reviews.apache.org/r/63959/diff/1-2/


Testing
-------

make check


Thanks,

Dmitry Zhuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message