https://github.com/bryopsida/object-store-router
https://github.com/bryopsida/object-store-router
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bryopsida/object-store-router
- Owner: bryopsida
- License: unlicense
- Created: 2023-02-05T12:51:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T21:13:51.000Z (9 months ago)
- Last Synced: 2024-10-29T23:38:47.075Z (9 months ago)
- Language: TypeScript
- Size: 1.52 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# object-store-router
[](https://sonarcloud.io/summary/new_code?id=bryopsida_object-store-router) [](https://sonarcloud.io/summary/new_code?id=bryopsida_object-store-router) [](https://sonarcloud.io/summary/new_code?id=bryopsida_object-store-router) [](https://sonarcloud.io/summary/new_code?id=bryopsida_object-store-router) [](https://sonarcloud.io/summary/new_code?id=bryopsida_object-store-router) [](https://sonarcloud.io/summary/new_code?id=bryopsida_object-store-router)
This service acts as a gateway to balance requests to place new objects across a set of [object-stores](https://github.com/bryopsida/object-store), as well as track which store has which object to successfully serve fetch requests.
For a more concrete example, I wish to deploy the object-store as a Daemonset using the node attached storage. object-store-router will be deployed as a deployment. Load balancing of new storage requests will be balanaced on storage space available.
## NPM Scripts
The following scripts are included in the NPM project configuration
- `lint`lints the source code using eslint
- `lint:fix` automatically fixes any lint errors that can be fixed automatically
- `test` uses jest to run test suites
- `build` compiles the typescript into js and places it in the `dist` folder
- `build:docs` generates the documentation pages from the code comments
- `build:image` build the container image from the Dockerfile
- `start` runs the compiled js in `dist`
- `start:dev` runs using nodemon and will automatically rebuild and launch whenever a change is made under the source folder