{"id":22280961,"url":"https://github.com/motoras/kekbit","last_synced_at":"2025-10-29T14:38:27.121Z","repository":{"id":62441609,"uuid":"157437443","full_name":"motoras/kekbit","owner":"motoras","description":"Ultralight persistent data channels in rust","archived":false,"fork":false,"pushed_at":"2022-02-18T11:09:37.000Z","size":289,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T00:05:10.873Z","etag":null,"topics":["data-channel","ipc","middleware-pipeline","rust","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/motoras.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-13T19:51:24.000Z","updated_at":"2023-12-10T12:54:36.000Z","dependencies_parsed_at":"2022-11-01T21:51:39.882Z","dependency_job_id":null,"html_url":"https://github.com/motoras/kekbit","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/motoras/kekbit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoras%2Fkekbit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoras%2Fkekbit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoras%2Fkekbit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoras%2Fkekbit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/motoras","download_url":"https://codeload.github.com/motoras/kekbit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/motoras%2Fkekbit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265887298,"owners_count":23844375,"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":["data-channel","ipc","middleware-pipeline","rust","rust-library"],"created_at":"2024-12-03T16:11:00.237Z","updated_at":"2025-10-29T14:38:22.102Z","avatar_url":"https://github.com/motoras.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kekbit\n\n[![Cargo](https://img.shields.io/crates/v/kekbit.svg?color=blue)](\nhttps://crates.io/crates/kekbit)\n[![Documentation](https://docs.rs/kekbit/badge.svg)](https://docs.rs/kekbit)\n[![Rust 1.40+](https://img.shields.io/badge/rust-1.40+-important.svg)](\nhttps://www.rust-lang.org)\n[![GitHub](https://img.shields.io/github/license/motoras/kekbit?color=important)](https://github.com/motoras/kekbit/blob/master/LICENSE)\n[![Build](https://github.com/motoras/kekbit/workflows/Build/badge.svg)](https://github.com/motoras/kekbit/actions?query=workflow%3ABuild)\n[![Clippy](https://github.com/motoras/kekbit/workflows/Clippy/badge.svg)](https://github.com/motoras/kekbit/actions?query=workflow%3AClippy)\n[![codecov](https://codecov.io/gh/motoras/kekbit/branch/master/graph/badge.svg)](https://codecov.io/gh/motoras/kekbit)\n\nMean and lean components for working with ultralight **persistent data channels** in rust. Channels could be used for communication, transaction journaling, live replication of an application state or as a backend for persisting software system images.\n\n## Basic Concepts\n\n### Persistent data channels\n\n* A mechanism to sequentially persist data at a very fast rate\n* They are **writer bound** - it is a writer which creates them and specify the particular structure of a channel such size, maximum record length, or timeout\n* They have a fixed predefined capacity.\n* Once a channel is closed, is full, or is abandoned it will never be used again for writing.\n* They are byte-oriented sinks.\n* They are backed by a file; using a RAM disk for storage such as tempfs or /dev/shm could provide blazing fast speeds.\n* They always use little endian byte order.\n\n### Writers and Readers\n\n* Writers are components which push data into a persistent channel. For each channel there is only one writer.\n* Write operation can be done in stages using a chain of handlers.\n* Readers are components which poll data from a channel. Data available in the channel could be consumed multiple times, sequential or in parallel by multiple readers.\n* The default implementations for both readers and writers are non-blocking.\n* Readers also offer a straight `Iterator` API.\n\n## Usage\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nkekbit = \"0.3.4\"\n```\n\nSee the [Examples](https://github.com/motoras/kekbit/blob/master/examples/README.md) for detailed usage.\n\n## Compatibility\n\nThe minimum supported Rust version is 1.31. Any change to this is considered a breaking change.\n\n## License\n\nLicensed under  MIT license ([LICENSE](LICENSE) or http://opensource.org/licenses/MIT)\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmotoras%2Fkekbit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmotoras%2Fkekbit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmotoras%2Fkekbit/lists"}