fix: close stream adaptive gaps and switch notify to stario v0.1.1
- make stream fast path honor adaptive soft payload limits end-to-end - split oversized fast-stream payloads into sequential frames before batching - use adaptive soft cap when encoding stream batch payloads - move timeout-like error detection into production code for adaptive tx - tune notify FrameReader read size explicitly to avoid throughput regression - drop local stario replace and depend on released b612.me/stario v0.1.1
This commit is contained in:
+46
-42
@@ -7,48 +7,52 @@ import (
|
||||
)
|
||||
|
||||
type StreamSnapshot struct {
|
||||
ID string
|
||||
DataID uint64
|
||||
Scope string
|
||||
Channel StreamChannel
|
||||
Metadata StreamMetadata
|
||||
BindingOwner string
|
||||
BindingAlive bool
|
||||
BindingCurrent bool
|
||||
BindingReason string
|
||||
BindingError string
|
||||
SessionEpoch uint64
|
||||
LogicalClientID string
|
||||
LocalAddress string
|
||||
RemoteAddress string
|
||||
TransportGeneration uint64
|
||||
TransportAttached bool
|
||||
TransportHasRuntimeConn bool
|
||||
TransportCurrent bool
|
||||
TransportDetachReason string
|
||||
TransportDetachKind string
|
||||
TransportDetachGeneration uint64
|
||||
TransportDetachError string
|
||||
TransportDetachedAt time.Time
|
||||
ReattachEligible bool
|
||||
LocalClosed bool
|
||||
LocalReadClosed bool
|
||||
RemoteClosed bool
|
||||
PeerReadClosed bool
|
||||
BufferedChunks int
|
||||
BufferedBytes int
|
||||
ReadTimeout time.Duration
|
||||
WriteTimeout time.Duration
|
||||
BytesRead int64
|
||||
BytesWritten int64
|
||||
ReadCalls int64
|
||||
WriteCalls int64
|
||||
OpenedAt time.Time
|
||||
LastReadAt time.Time
|
||||
LastWriteAt time.Time
|
||||
ReadDeadline time.Time
|
||||
WriteDeadline time.Time
|
||||
ResetError string
|
||||
ID string
|
||||
DataID uint64
|
||||
Scope string
|
||||
Channel StreamChannel
|
||||
Metadata StreamMetadata
|
||||
BindingOwner string
|
||||
BindingAlive bool
|
||||
BindingCurrent bool
|
||||
BindingReason string
|
||||
BindingError string
|
||||
BindingBulkAdaptiveSoftPayloadBytes int
|
||||
BindingStreamAdaptiveSoftPayloadBytes int
|
||||
BindingStreamAdaptiveWaitThresholdBytes int
|
||||
BindingStreamAdaptiveFlushDelay time.Duration
|
||||
SessionEpoch uint64
|
||||
LogicalClientID string
|
||||
LocalAddress string
|
||||
RemoteAddress string
|
||||
TransportGeneration uint64
|
||||
TransportAttached bool
|
||||
TransportHasRuntimeConn bool
|
||||
TransportCurrent bool
|
||||
TransportDetachReason string
|
||||
TransportDetachKind string
|
||||
TransportDetachGeneration uint64
|
||||
TransportDetachError string
|
||||
TransportDetachedAt time.Time
|
||||
ReattachEligible bool
|
||||
LocalClosed bool
|
||||
LocalReadClosed bool
|
||||
RemoteClosed bool
|
||||
PeerReadClosed bool
|
||||
BufferedChunks int
|
||||
BufferedBytes int
|
||||
ReadTimeout time.Duration
|
||||
WriteTimeout time.Duration
|
||||
BytesRead int64
|
||||
BytesWritten int64
|
||||
ReadCalls int64
|
||||
WriteCalls int64
|
||||
OpenedAt time.Time
|
||||
LastReadAt time.Time
|
||||
LastWriteAt time.Time
|
||||
ReadDeadline time.Time
|
||||
WriteDeadline time.Time
|
||||
ResetError string
|
||||
}
|
||||
|
||||
type clientStreamSnapshotReader interface {
|
||||
|
||||
Reference in New Issue
Block a user