constants

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// default worker config
	BroadcastDispatchRetryTimesDefault  = 1
	TaskBodySizeMaxDefault              = 65536
	MapMasterPageSizeDefault            = 100
	MapMasterQueueSizeDefault           = 10000
	MapMasterDispatcherSizeDefault      = 5
	SharedPoolSizeDefault               = 64
	ParallelTaskListSizeMaxDefault      = 300
	WorkerMapPageSizeDefault            = 1000
	MapMasterStatusCheckIntervalDefault = 3 * time.Second

	// Transport
	TransportHeaderSize = 4

	// DefaultXAttrs job default conf
	DefaultXAttrsPageSize           = 5
	DefaultXAttrsConsumerSize       = 5
	DefaultXAttrsQueueSize          = 10
	DefaultXAttrsDispatcherSize     = 5
	DefaultXAttrsGlobalConsumerSize = 1000

	// max size
	MapMasterDispatcherSizeMax      = 200
	InstanceResultSizeMax           = 1000
	UserSpacePercentMax             = 0.9
	ParallelTaskListSizeMaxAdvanced = 1000
	PullModeTaskSizeMax             = 10000

	ConsumerNumDefault                   = 64
	SecondDelayStandaloneDispatchDefault = false

	MapTaskRootName = "MAP_TASK_ROOT"
	ReduceTaskName  = "REDUCE_TASK"

	TimeFormat = "2006-01-02 15:04:05"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppVersion

type AppVersion int32
const (
	Basic    AppVersion = iota + 1 // Alibaba Cloud Foundation Edition
	Advanced                       // Alibaba Cloud Premium Edition
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL