You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@resilientdb.apache.org by "Shubo-Peng (via GitHub)" <gi...@apache.org> on 2025/02/17 10:35:44 UTC

Re: [I] Test Performance Failure [incubator-resilientdb]

Shubo-Peng commented on issue #169:
URL: https://github.com/apache/incubator-resilientdb/issues/169#issuecomment-2662702512

   Hi Junchao,
   
   I noticed that resdb was able to support smart contracts after the Feb 14th update, so I wanted to change the KVRequest to the contract's request when measuring pbft performance. specifically, I changed **KVRequest::SET** in _benchmark/protocols/pbft/kv_server_performance.cpp_ to **Request::CREATE_ACCOUNT** (I saw this usage in _executor/contract/executor/contract_executor_test.cpp_), but the problem is that I can't find the **Request::CREATE_ACCOUNT** is defined somewhere.
   
   Another question. I tried to control the send rate of request (like 30,000 reqs/sec) when testing, so I added some code here:
   [https://github.com/apache/incubator-resilientdb/blob/master/platform/consensus/ordering/pbft/performance_manager.cpp#L111](url)
   ![Image](https://github.com/user-attachments/assets/6f560f95-b5a8-4848-beca-38f2a39a7f22)
   But it didn't work. It ran out the same as if I hadn't changed it.


-- 
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: commits-unsubscribe@resilientdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org