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: [email protected]

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

Reply via email to