|
|
@ -44,6 +44,24 @@ ring.get_slices_for(client_ip) |
|
|
|
|
|
|
|
The output will provide you information to contact the service in a balanced way. |
|
|
|
|
|
|
|
### In details |
|
|
|
|
|
|
|
```crystal |
|
|
|
Crystal::Scatter::Daemon (12, [2,0,0,0,0,0], "https://api05.myservice.com") |
|
|
|
^ ^ ^ ^ ^ ^ ^ ^ |
|
|
|
| | | | | | | | |
|
|
|
| | | | | | | L Real target |
|
|
|
| | | | | | L Serving daemon |
|
|
|
| | | | | L Serving server |
|
|
|
| | | | L Serving PSU |
|
|
|
| | | L Serving rack |
|
|
|
| | L Serving room |
|
|
|
| L Serving datacenter |
|
|
|
L Weight |
|
|
|
``` |
|
|
|
|
|
|
|
Such information is to be supplied to `Crystal::Scatter`. |
|
|
|
|
|
|
|
## Contributing |
|
|
|
|
|
|
|
1. [Fork it](https://git.nekoit.xyz/repo/fork/18) |
|
|
|