tanvipenumudy opened a new pull request, #4844:
URL: https://github.com/apache/ozone/pull/4844

   ## What changes were proposed in this pull request?
   
   To implement an ozone freon extension that sends a request solely used to 
benchmark Ratis operations per second for log append.
   
   - Write to Ratis log.
   - During applyTransaction, do not write to RocksDB but complete the request 
ASAP.
   
   This shall help in profiling Ratis' performance within a customer's 
environment and help debug performance issues. This shall also help establish 
an upper bound for OM's write performance.
   
   Added an optional `--ratis` flag to `ozone freon om-echo` for writing to 
Ratis log (flag to be skipped for read-only echo RPC request to the OM - 
with/without payload).
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8777
   
   ## How was this patch tested?
   
   - Added robot tests. 
   - Tested manually using the `ozone debug ratislogparser` command on a 
cluster with the basic Ozone services running:
   
   ```
   [Before] ozone debug ratislogparser om 
-s=/var/lib/hadoop-ozone/om/ratis/path/to/segment/file | grep -i EchoRPC | wc -l
   Output: 0
   
   Command: ozone freon om-echo --ratis
   
   [After] ozone debug ratislogparser om 
-s=/var/lib/hadoop-ozone/om/ratis/path/to/segment/file | grep -i EchoRPC | wc -l
   Output: 1000
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to