Documentation
¶
Overview ¶
Package bufferpool provides a pool of pre-registered RDMA buffers to avoid per-request allocation and registration overhead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool manages a fixed set of RDMA-registered host memory buffers.
func (*Pool) Acquire ¶
Acquire blocks until a buffer is available or ctx is cancelled. Returns the buffer and its backing byte slice.
Click to show internal directories.
Click to hide internal directories.