You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/09/10 05:09:12 UTC
[GitHub] [incubator-iotdb] LebronAl commented on pull request #1691: [IOTDB-814] Cache and redirect distributed IoTDB's leader for write requests in IoTDB's client
LebronAl commented on pull request #1691:
URL: https://github.com/apache/incubator-iotdb/pull/1691#issuecomment-689985530
# Benchmark Parameter
CLIENT_NUMBER=1
GROUP_NUMBER=1
DEVICE_NUMBER=20
SENSOR_NUMBER=20
BATCH_SIZE=50
LOOP=1000
DATA_TYPE=DOUBLE
INSERT_MODE=session
# Cluster config
default_replica_num=1
enablePartition=false
two nodes's cluster(34,35)
# Cluster_new's latest Version
## forward(benchmark writes data to 34, sg belongs to 35,internal forward)
![image](https://user-images.githubusercontent.com/32640567/92681984-bdce1b80-f361-11ea-96d6-c683b7a738a6.png)
## non-forward(benchmark writes data to 35, sg belongs to 35,no need to forward)
![image](https://user-images.githubusercontent.com/32640567/92682072-fcfc6c80-f361-11ea-8905-06ceae1a8548.png)
# Cluster_new_cache_leader's latest Version
## Close cache leader
### forward(benchmark writes data to 34, sg belongs to 35,internal forward)
![image](https://user-images.githubusercontent.com/32640567/92683902-bfe6a900-f366-11ea-9dc0-99bda47dce0d.png)
### non-forward(benchmark writes data to 35, sg belongs to 35,no need to forward)
![image](https://user-images.githubusercontent.com/32640567/92683361-47331d00-f365-11ea-918b-e18cc3cc03f5.png)
## Open cache leader
### little forward(benchmark writes data to 34, sg belongs to 35,internal forward first write for each deviceId + cache leader)
![image](https://user-images.githubusercontent.com/32640567/92683546-bf99de00-f365-11ea-9515-be3466697bff.png)
### non-fowward(benchmark writes data to 34, sg belongs to 35,no need to forward)
![image](https://user-images.githubusercontent.com/32640567/92683752-48187e80-f366-11ea-8b1c-8e2b714dbba4.png)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org