dobet opened a new issue, #24369:
URL: https://github.com/apache/shardingsphere/issues/24369

   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub 
issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere 
Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more 
details. 
   If no response anymore and we cannot reproduce it on current information, we 
will **close it**.
   
   
   Recently,I'm using sysbench testing shardingsphere-proxy,maxscale,and dble,I 
would like to compare the read/write splitting performance between several 
products。
   
   Now, I used 3  8C 16G machines to form mysql 1 master and 2 slaves。
   
   Then,I use syebench oltp_read_write to test.
   
   this is sysbench run code:
   ```
   sysbench oltp_read_write  --mysql-user=root --mysql-password=root 
--mysql-host=sharding-ip --mysql-port=3307 --mysql-db=s1_sbtest --histogram=on 
--report-interval=1 --time=300  --db-ps-mode=disable  --threads=300 
--tables=250 --table_size=25000  --report-interval=1 --percentile=95 
--skip-trx=on --mysql-ignore-errors=1062  --forced-shutdown=1 run
   ```
   
   When I use sysbench to directly press mysql,tps is 2250 per sec. 
   When I use sysbench to directly press shardingsphere-proxy, tps is only 2300 
per sec.
   But when I use sysbench directly press dble/maxscale, tps have 2600 per sec.
   
   Now, shardingsphere-proxy is 16C16G,  dble is 8C8G, maxscale is 4C4G.
   
   I compared and found that the network traffic of the shardingsphere-proxy 
can only run to 750M。
   dble and maxscale can run to 900M。
   
   
   so, I use arthas run profile,sharding1.html is first run 
shardingsphere-proxy‘s resutl. sharding-2.html is I change server.yaml 
proxy-frontend-executor-size to 500 result
   
   
   
   
[sharding.zip](https://github.com/apache/shardingsphere/files/10846434/sharding.zip)
   
   
   Now, I don't know how to improve the performance, plase help me
   


-- 
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