Popularity
2.8
Stable
Activity
0.0
Stable
32
4
5

Description

Highly concurrent drop-in replacement for bufio.Writer.

Writer implements highly concurrent buffering for an io.Writer object. In particular, writes will not block while a Flush() call is in progress as long as enough buffer space is available.

Programming language: Go
License: Apache License 2.0
Tags: Goroutines     Filesystem     Files     Concurrency     Non-Blocking     Writer     I/O    

concurrent-writer alternatives and similar packages

Based on the "Files" category.
Alternatively, view concurrent-writer alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of concurrent-writer or a related project?

Add another 'Files' Package

README

concurrent-writer Build Status Go Report Card Coverage GoDoc

Highly concurrent drop-in replacement for bufio.Writer.

concurrent.Writer implements highly concurrent buffering for an io.Writer object. In particular, writes will not block while a Flush() call is in progress as long as enough buffer space is available.

Note however that writes will still block in a number of cases, e.g. when another write larger than the buffer size is in progress. Also, concurrent flushes (whether explicit or triggered by the buffer filling up) will block one another.