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

Review request for mesos and Alexander Rukletsov.


Repository: mesos


Description
-------

Under certain assumptions, we can safely assume that
two requests with the same parametesr to the same endpoint
will return the same result. This is most noticeable for
the `/state` endpoint.

In this case, we only need to compute the response once.


Diffs
-----

  src/master/http.cpp ae28d525e5c0fe067ae77a4c71e8f18f772ff1dc 
  src/master/master.hpp 1e01dab8b5160e0b69670c896cb5e9fc0bf31005 


Diff: https://reviews.apache.org/r/68542/diff/1/


Testing
-------

Accessed `localhost:5050/state` on master including these changes.


Thanks,

Benno Evers

Reply via email to