Kouhei Sutou
null+****@clear*****
Fri Dec 27 16:39:30 JST 2013
Kouhei Sutou 2013-12-27 16:39:30 +0900 (Fri, 27 Dec 2013) New Revision: 2a9d4b488609f2ce2637bce15f30c3f59944af00 https://github.com/droonga/droonga.org/commit/2a9d4b488609f2ce2637bce15f30c3f59944af00 Message: catalog: describe about example Modified files: reference/catalog/index.md reference/index.md Modified: reference/catalog/index.md (+15 -5) =================================================================== --- reference/catalog/index.md 2013-12-27 16:30:51 +0900 (8611003) +++ reference/catalog/index.md 2013-12-27 16:39:30 +0900 (e89e554) @@ -1,5 +1,5 @@ --- -title: catalog.json +title: Catalog layout: documents --- @@ -9,9 +9,10 @@ catalog. This documentation describes about catalog. -## How to share +## How to manage -So far, you need to share catalog to all the nodes manually. +So far, you need to write catalog and share it to all the nodes +manually. Some utility programs will generate catalog in near feature. Furthermore Droonga network will maintain and share catalog @@ -85,8 +86,17 @@ Partition ## Example -Here is a sample catalog for (TODO: describes about the -configuration by the catalog): +Consider about the following case: + + * There are two farms. + * All farms (Droonga Engine instances) works on the same fluentd. + * Each farm has two partitions. + * There are two replicas. + * There are two partitions for each table. + +Catalog is written as a JSON file. Its file name is `catalog.json`. + +Here is a `catalog.json` for the above case: ~~~json { Modified: reference/index.md (+1 -1) =================================================================== --- reference/index.md 2013-12-27 16:30:51 +0900 (9f7870b) +++ reference/index.md 2013-12-27 16:39:30 +0900 (d6cf3c0) @@ -3,6 +3,6 @@ title: Reference manuals layout: documents --- - * [catalog.json](catalog/) + * [Catalog](catalog/) * [Message format](message/) * [Commands](commands/) -------------- next part -------------- HTML����������������������������...Download