https://github.com/fabrix-app/spool-cluster
:package: ClusterSpool - worker threads for Fabrix apps
https://github.com/fabrix-app/spool-cluster
Last synced: 9 days ago
JSON representation
:package: ClusterSpool - worker threads for Fabrix apps
- Host: GitHub
- URL: https://github.com/fabrix-app/spool-cluster
- Owner: fabrix-app
- License: mit
- Created: 2019-10-19T22:51:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T00:43:34.000Z (over 3 years ago)
- Last Synced: 2025-03-03T04:15:52.857Z (over 1 year ago)
- Language: TypeScript
- Size: 210 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# spool-cluster
[![Gitter][gitter-image]][gitter-url]
[![NPM version][npm-image]][npm-url]
[![Build Status][ci-image]][ci-url]
[![Test Coverage][coverage-image]][coverage-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Follow @FabrixApp on Twitter][twitter-image]][twitter-url]
[](https://conventionalcommits.org)
:package: ClusterSpool
A Spool to extend Fabrix with [Clustering worker threads](https://nodejs.org/api/cluster.html#cluster_cluster)
## Install
```sh
$ npm install --save @fabrix/spool-cluster
```
## Configure
```js
// config/main.ts
import { ClusterSpool } from '@fabrix/spool-cluster'
export const main = {
spools: [
// ... other spools
ClusterSpool
]
}
```
## Configuration
You can easily extend the cluster
```js
// TODO
```
## Usage
Use spool-cluster to standardize Joi cluster
```js
// TODO
```
[npm-image]: https://img.shields.io/npm/v/@fabrix/spool-cluster.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@fabrix/spool-cluster
[ci-image]: https://img.shields.io/circleci/project/github/fabrix-app/spool-cluster/master.svg
[ci-url]: https://circleci.com/gh/fabrix-app/spool-cluster/tree/master
[daviddm-image]: http://img.shields.io/david/fabrix-app/spool-cluster.svg?style=flat-square
[daviddm-url]: https://david-dm.org/fabrix-app/spool-cluster
[gitter-image]: http://img.shields.io/badge/+%20GITTER-CLUSTERN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square
[gitter-url]: https://gitter.im/fabrix-app/fabrix
[twitter-image]: https://img.shields.io/twitter/follow/FabrixApp.svg?style=social
[twitter-url]: https://twitter.com/FabrixApp
[coverage-image]: https://img.shields.io/codeclimate/coverage/github/fabrix-app/spool-cluster.svg?style=flat-square
[coverage-url]: https://codeclimate.com/github/fabrix-app/spool-cluster/coverage