Skip to content

Commit

Permalink
catalog: describe about example
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 27, 2013
1 parent f50f6aa commit 2a9d4b4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
20 changes: 15 additions & 5 deletions reference/catalog/index.md
@@ -1,5 +1,5 @@
---
title: catalog.json
title: Catalog
layout: documents
---

Expand All @@ -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
Expand Down Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion reference/index.md
Expand Up @@ -3,6 +3,6 @@ title: Reference manuals
layout: documents
---

* [catalog.json](catalog/)
* [Catalog](catalog/)
* [Message format](message/)
* [Commands](commands/)

0 comments on commit 2a9d4b4

Please sign in to comment.