klion26 commented on a change in pull request #7351: [FLINK-11008][State 
Backends, Checkpointing]SpeedUp upload state files using multithread
URL: https://github.com/apache/flink/pull/7351#discussion_r248333307
 
 

 ##########
 File path: 
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java
 ##########
 @@ -218,7 +218,10 @@
        private final boolean enableIncrementalCheckpointing;
 
        /** Thread number used to download from DFS when restore. */
-       private final int restoringThreadNum;
+       private final int numberOfRestoringThreads;
+
+       /** Thread number used to upload to DFS when snapshot. */
+       private final int numberOfSnapshottingThreads;
 
 Review comment:
   @StefanRRichter In my first thought, I just considered the flexibility. It 
makes sense to me that we union the two parameters, because both are for 
incremental snapshot/restore.
   
   In my company, the snapshot processure is not a bottleneck, we only enabled 
multithread restoring.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to