Skip to main content

Crate lnc_core

Crate lnc_core 

Source

Structs§

AlignedBuffer
BackpressureConfig
Thresholds for backpressure activation
BackpressureGuard
Guard that tracks an operation for backpressure
BackpressureMonitor
Backpressure monitor tracking system resource utilization
BackpressureSnapshot
Snapshot of backpressure metrics
BatchPool
ChaosConfig
Chaos injection configuration
ChaosInjector
Chaos injection controller
ChaosScenario
Scenario for chaos testing
Header
Parsed TLV header
HlcTimestamp
Hybrid Logical Clock timestamp (64-bit packed).
HybridLogicalClock
Hybrid Logical Clock for generating causally consistent timestamps.
IngestionBatch
LoanableBatch
NumaAlignedBuffer
NumaAllocator
NUMA-aware allocator for buffer pools
NumaThreadPoolConfig
Thread pool configuration for NUMA-aware workloads
NumaTopology
NUMA topology information
SortKey
128-bit composite sort key for total ordering across distributed nodes.

Enums§

BackpressureLevel
Current backpressure level
ClockHealth
Health status of the HLC clock.
FaultType
Fault types for scenario testing
LanceError

Constants§

DEFAULT_BATCH_SIZE
DEFAULT_SPARSE_INDEX_INTERVAL
EXTENDED_TLV_HEADER_SIZE
EXTENDED_TYPE_MARKER
LANCE_MAGIC
TIMESTAMP_JITTER_WINDOW_NS
TLV_HEADER_SIZE

Functions§

crc32c
get_current_numa_node
Get the NUMA node for the current thread
parse_header
Parse a TLV header from a byte slice.
pin_thread_to_cpu
Pin the current thread to a specific CPU.
pin_thread_to_numa_node
Pin the current thread to CPUs on a specific NUMA node.
shared_injector
Create a shared chaos injector

Type Aliases§

Result
SharedChaosInjector
Shared chaos injector for use across threads