Package Usage: go: github.com/application-research/goque
Package goque provides embedded, disk-based implementations of stack, queue, and priority queue data structures.
Motivation for creating this project was the need for a persistent priority queue that remained performant while growing well beyond the available memory of a given machine. While there are many packages for Go offering queues, they all seem to be memory based and/or standalone solutions that are not embeddable within an application.
Instead of using an in-memory heap structure to store data, everything is stored using the Go port of LevelDB (https://github.com/syndtr/goleveldb). This results in very little memory being used no matter the size of the database, while read and write performance remains near constant.
See README.md or visit https://github.com/beeker1121/goque for more info.
ExampleObject demonstrates enqueuing a struct object.
ExamplePrefixQueue demonstrates the implementation of a Goque queue.
ExamplePriorityQueue demonstrates the implementation of a Goque queue.
ExampleQueue demonstrates the implementation of a Goque queue.
ExampleStack demonstrates the implementation of a Goque stack.
6 versions
Latest release: over 5 years ago
2 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/application-research/goque
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/application-research%2Fgoque
Dependent Repos 2
application-research/estuary
A custom IPFS/Filecoin node that makes it easy to pin IPFS content and make Filecoin deals.Size: 6.21 MB - Last synced: 24 days ago - Pushed: about 1 month ago

degencast/estuary Fork of application-research/estuary
A custom IPFS/Filecoin node that makes it easy to pin IPFS content and make Filecoin deals.Size: 5.27 MB - Last synced: 4 months ago - Pushed: about 2 years ago
