Skip to content

Commit a63c879

Browse files
committed
Update documentation
1 parent 8ac86ad commit a63c879

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/eight-byte-id-structure.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ The eight byte IDs generated by the `LocalUniqueIDGenerator` and
55
`SynchronizedUniqueIDGenerator` classes conform to the following structure:
66

77
```
8-
TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTSSSSSS ...MGGGG GGGGCCCC
8+
TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTTTTTTT TTSSSSSS GGGMGGGG GGGGCCCC
99
| | | || |
1010
v | | |\ |
1111
| v \ \ |
1212
Date of ID creation, measured in milliseconds | \ \ |
13-
ellapsed since 1970-01-01T00:00:00.000, | Reserved \ \ |
14-
represented in reverse byte-order (in SPREAD | for future | | |
15-
mode) to guarantee an even spread of IDs. | use. | | |
13+
ellapsed since 1970-01-01T00:00:00.000, | Generator \ \ |
14+
represented in reverse byte-order (in SPREAD | ID, see | | |
15+
mode) to guarantee an even spread of IDs. | below. | | |
1616
| | | |
1717
v | | |
1818
| | |
@@ -27,13 +27,13 @@ mode) to guarantee an even spread of IDs. | use. | | |
2727
v |
2828
|
2929
Generator ID, manually assigned, or acquired |
30-
through negotiation via a ZooKeeper-quorum. |
31-
|
30+
through negotiation via Etcd. Limited to 2048 |
31+
per Cluster ID. |
3232
v
3333
3434
Cluster ID. Always manually assigned
3535
or statically configured. Limited to
36-
16 (actieve) clusters.
36+
16 (active) clusters.
3737
```
3838

3939
This approach offers a few useful features:

0 commit comments

Comments
 (0)