Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateWorkloadCommandParameters ¶
CalculateWorkloadCommandParameters parses parameters from config and creates command.
Types ¶
type Config ¶
type Config struct { PathToBinary string RedisHost string RedisPort int RedisClusterMode bool // Redis cluster mode. Workload string WorkloadRecordCount int WorkloadOperationCount int64 WorkloadReadAllFields bool WorkloadReadProportion float64 WorkloadUpdateProportion float64 WorkloadScanProportion float64 WorkloadInsertProportion float64 WorkloadRequestDistribution string // contains filtered or unexported fields }
Config is a config for the YCSB.
func DefaultYcsbConfig ¶
func DefaultYcsbConfig() Config
DefaultYcsbConfig is a constructor for YcsbConfig with default parameters.
Click to show internal directories.
Click to hide internal directories.