{"id":21296918,"url":"https://github.com/reddec/pqueue","last_synced_at":"2025-03-15T17:27:45.505Z","repository":{"id":81702647,"uuid":"423515985","full_name":"reddec/pqueue","owner":"reddec","description":"Persistent queue in Go based on BBolt","archived":false,"fork":false,"pushed_at":"2021-11-10T11:58:18.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T00:06:40.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reddec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-01T15:25:24.000Z","updated_at":"2022-06-30T12:49:37.000Z","dependencies_parsed_at":"2023-07-28T01:15:37.045Z","dependency_job_id":null,"html_url":"https://github.com/reddec/pqueue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fpqueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fpqueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fpqueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fpqueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddec","download_url":"https://codeload.github.com/reddec/pqueue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243765047,"owners_count":20344526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T14:30:59.103Z","updated_at":"2025-03-15T17:27:45.485Z","avatar_url":"https://github.com/reddec.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Persistent queue\n\nPersistent queue based on [bbolt DB](https://github.com/boltdb/bolt).\n\nSupposed to be used as embeddable persistent queue to any Go application.\n\nFeatures:\n\n- messages are not limited by RAM size, stream-oriented data\n- works good for small (automatic inlining) and for big streams\n- simple, portable storage structure\n- go-routine safe\n- supports multiple-writers and multiple-readers\n- supports ack/nack (commit with discard)\n\nSee [go-docs](https://pkg.go.dev/github.com/reddec/pqueue) for examples and details.\n\nRequirements:\n- go 1.17\n\n## Motivation\n\nI wanted to create an application for resource-constrained devices (ie: AWS Lightsail, Raspberry Pi Zero W, etc..)\nwhich should store (always) and forward (eventually) information with very unreliable network\nconnection (ie: days without a link).\nInformation could be small (sensors) or huge (webhooks). Devices themselves may experience a power outage.\n\nIt means:\n- stored information (number and individual records) may grow much above RAM\n- stored information should not be marked as processed before explicit commit\n- full-packed solutions like RabbitMQ/Kafka/etc can not be applied\n- due to distributed nature of the system duplicates inevitable, however, should be a cheap way to deduplicate (ie: unique ID)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fpqueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddec%2Fpqueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fpqueue/lists"}