{"id":19814862,"url":"https://github.com/dalba-sudo/replicator","last_synced_at":"2026-01-02T23:05:17.348Z","repository":{"id":236178739,"uuid":"791835033","full_name":"DAlba-sudo/replicator","owner":"DAlba-sudo","description":"a single threaded, asynchronous, quasi no-allocation tcp stream replication service made for implementing semi-distributed systems from monolithic-ly designed applications - the opposite of a load balancer.","archived":false,"fork":false,"pushed_at":"2024-05-14T12:15:48.000Z","size":46231,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T10:46:44.050Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DAlba-sudo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-25T13:15:43.000Z","updated_at":"2024-05-29T09:05:04.000Z","dependencies_parsed_at":"2024-04-26T01:27:39.766Z","dependency_job_id":"c4742180-89b0-4dc5-b78d-e222ad479533","html_url":"https://github.com/DAlba-sudo/replicator","commit_stats":null,"previous_names":["dalba-sudo/replicator"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAlba-sudo%2Freplicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAlba-sudo%2Freplicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAlba-sudo%2Freplicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DAlba-sudo%2Freplicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DAlba-sudo","download_url":"https://codeload.github.com/DAlba-sudo/replicator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796643,"owners_count":20349252,"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-12T10:03:33.211Z","updated_at":"2026-01-02T23:05:17.343Z","avatar_url":"https://github.com/DAlba-sudo.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Replicator\n\nA quasi no-allocation tcp stream replication service for implementing semi-distributed systems.\n\n## How to use?\n\n```sh\n# listens on all interfaces and binds to port 9090.\n$ replicator -p 9090 0.0.0.0\n```\n\n### Building From Source\n\n\u003e Currently building from source is the only way to run the replicator service.\n\n1. **Git Clone**\n\n    Clone the repository from git by running the following code in a directory where you'd like to keep the source code.\n\n    ```bash\n    git clone https://github.com/DAlba-sudo/replicator.git\n    ```\n\n2. **Change Directory to Repository**\n\n    Using `cd`, change directory into the recently cloned repository. \n\n    ```sh\n    cd replicator/\n    ```\n\n3. **Zig Build**\n\n    Using a `v0.12.0` zig compiler, run the following: `zig build`.\n\n4. **Run the Service**\n\n    The binary is located in the `zig-out/bin` directory. You can move this to `/bin` or anywhere else in the PATH that you'd like. \n\n    You run the service as such: `replicator -p 9090 127.0.0.1`.\n    - Use `replicator -h` for potential flags that you can use.\n\n### Configuration\n\nConfiguring the replicator service is slightly different than your typical app/program. Since the initial design goal for this was to take advantage of comptime-known inputs and outputs, we avoid memory allocation via syscalls and instead use `FixedBufferAllocators` backed by buffers living in the `bss` section of the executable.\n\nTo configure the app, edit the `src/config.zig` file with the values you'd like to use... then rebuild the app with `zig build`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalba-sudo%2Freplicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalba-sudo%2Freplicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalba-sudo%2Freplicator/lists"}