{"id":18278177,"url":"https://github.com/angular-rust/borderland","last_synced_at":"2026-03-06T09:06:10.645Z","repository":{"id":121108845,"uuid":"135738478","full_name":"angular-rust/borderland","owner":"angular-rust","description":"Application platform powers Loadbalancer, Microservices and API Gateways","archived":false,"fork":false,"pushed_at":"2018-07-09T21:59:44.000Z","size":66,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T04:32:01.310Z","etag":null,"topics":["api-gateway","application-bus","http-server","microservice","mio","rust","static"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angular-rust.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-01T16:07:59.000Z","updated_at":"2021-10-08T11:06:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef5ada3b-5f11-4121-9aa0-cb309a97e27a","html_url":"https://github.com/angular-rust/borderland","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/angular-rust/borderland","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-rust%2Fborderland","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-rust%2Fborderland/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-rust%2Fborderland/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-rust%2Fborderland/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular-rust","download_url":"https://codeload.github.com/angular-rust/borderland/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular-rust%2Fborderland/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30168623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api-gateway","application-bus","http-server","microservice","mio","rust","static"],"created_at":"2024-11-05T12:23:21.957Z","updated_at":"2026-03-06T09:06:10.635Z","avatar_url":"https://github.com/angular-rust.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Borderland\n\n[![Build Status](https://travis-ci.org/ohyo-io/borderland.svg)](https://travis-ci.org/ohyo-io/borderland)\n[![License](https://img.shields.io/badge/License-BSD2-blue.svg)](LICENSE)\n\nThis project was started from ugly fun [example](ttps://github.com/PritiKumr/rust-httpd). \nBut this project is not a simple HTTP load balncer. We dont need it. We need to balance our application payload. \nSo let we use somthing like a application bus to communicate with application logic.\n\nAlso there standard practice to use external crates(modules,libraries). \nBut lot of them suffer from overprogramming, not clear implementation of specifications and unnecessary extra functionality. \nSo i liked the starter point of project and i would like to use less external code in that project. \nBecause \"less code\" is mean less errors and faster executon, which is main goal.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/wiki/ohyo-io/borderland/images/logo_borderland.png\" alt=\"Borderland logo\" width=\"256\" /\u003e\n\u003c/p\u003e\n\n## Full Documentation\n\nSee the [**Borderland Project Wiki**](https://github.com/ohyo-io/borderland/wiki) for full documentation, examples, and operational details.\n\nYou may be looking for:\n\n- [Release notes](https://github.com/ohyo-io/borderland/releases)\n\n## How to run?\n\nMake sure you have `cargo` [installed](https://www.rust-lang.org/en-US/install.html) and run the command `cargo run` to boot up the server.\n\nVisit `locahost:8080` from your browser.\n\n### What can it do now?\n\n1.  **Say hello world** - visit `localhost:8888/api/v1`\n\n2.  **Serve static files** - visit `localhost:8888/files/index.html` - this will serve the `index.html` file from the `www` folder in the repo root. \nPlace any other file inside `www` and they can be served similarly (using the `/files` prefix - this will be configurable by the user in future, just like in Apache and Nginx).\n\n## Roadmap\n\n- [x] HTTP Scheme redirect to HTTPS by design\n- [x] Moved to MIO\n- [ ] Routing\n- [ ] Session handling\n- [ ] Datastorage\n- [ ] Application Bus\n- [ ] Internal application logic\n\n## Changelog\n\n- Started profiling coz move to use MIO doesnt give good results\n- HTTP to HTTPS redirect by design\n- HTTPS part and threading\n- Moved to MIO event based handling\n- Detection plain HTTP by magic (similar as unix `file` command)\n- Headers dump\n- Small fixes to proper static content handling\n\n## Benchmark\n\n```bash\n$ab -n 5000 -kc 500 http://127.0.0.1:8000/\n\n...\n\nRequests per second:    14109.94 [#/sec] (mean)\nTime per request:       35.436 [ms] (mean)\nTime per request:       0.071 [ms] (mean, across all concurrent requests)\n```\n\nIt's sad (((\n\n## Legal\n\n### License\n\nThis work is licensed under the MIT license. See [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-rust%2Fborderland","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular-rust%2Fborderland","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular-rust%2Fborderland/lists"}