mirror of
https://github.com/libp2p/go-libp2p-resource-manager.git
synced 2025-02-10 03:40:43 +08:00
Update README.md
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
This commit is contained in:
parent
3825381d51
commit
eedf0a3486
@ -34,7 +34,7 @@ accounting for multiple levels of resource constraints.
|
|||||||
|
|
||||||
Perhaps the most fundamental resource is memory, and in particular
|
Perhaps the most fundamental resource is memory, and in particular
|
||||||
buffers used for network operations. The system must provide an
|
buffers used for network operations. The system must provide an
|
||||||
interface for compoenents to reserve memory that accounts for buffers
|
interface for components to reserve memory that accounts for buffers
|
||||||
(and possibly other live objects), which is scoped within the component.
|
(and possibly other live objects), which is scoped within the component.
|
||||||
Before a new buffer is allocated, the component should try a memory
|
Before a new buffer is allocated, the component should try a memory
|
||||||
reservation, which can fail if the resource limit is exceeded. It is
|
reservation, which can fail if the resource limit is exceeded. It is
|
||||||
|
Loading…
Reference in New Issue
Block a user