Skip to content

Commit

Permalink
finished the deployment page
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Jun 17, 2024
1 parent 0d54f67 commit 984a453
Show file tree
Hide file tree
Showing 12 changed files with 670 additions and 1 deletion.
94 changes: 94 additions & 0 deletions docs/_code/complex-storage-server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"yokan": "libyokan-bedrock-module.so",
"warabi": "libwarabi-bedrock-module.so",
"mofka" : "libmofka-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "join",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
},
{
"name": "my_metadata_provider_1",
"provider_id": 3,
"type": "yokan",
"tags" : [ "mofka:metadata" ],
"config" : {
"database" : { "type": "map" }
},
"pool": "my_pool_1"
},
{
"name": "my_metadata_provider_2",
"provider_id": 4,
"type": "yokan",
"tags" : [ "mofka:metadata" ],
"config" : {
"database" : { "type": "map" }
},
"pool": "my_pool_2"
},
{
"name": "my_data_provider_1",
"provider_id": 5,
"type": "warabi",
"tags" : [ "mofka:data" ],
"config" : {
"target" : { "type": "memory" }
},
"pool": "my_pool_2"
},
{
"name": "my_data_provider_2",
"provider_id": 6,
"type": "warabi",
"tags" : [ "mofka:data" ],
"config" : {
"target" : { "type": "memory" }
},
"pool": "my_pool_2"
}
],
"margo": {
"argobots": {
"pools": [
{
"name": "my_pool_1",
"access": "mpmc",
"type": "fifo_wait"
},
{
"name": "my_pool_2",
"access": "mpmc",
"type": "fifo_wait"
}
],
"xstreams": [
{
"name": "my_es_1",
"scheduler": {
"type": "basic_wait",
"pools": ["my_pool_1", "my_pool_2"]
}
},
{
"name": "my_es_2",
"scheduler": {
"type": "basic_wait",
"pools": ["my_pool_2"]
}
}
]
}
}
}
29 changes: 29 additions & 0 deletions docs/_code/master-memory-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"yokan": "libyokan-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "self",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
},
{
"name": "master",
"provider_id": 2,
"type": "yokan",
"tags" : [ "mofka:controller" ],
"config" : {
"database" : { "type": "map" }
}
}
]
}
35 changes: 35 additions & 0 deletions docs/_code/master-rocksdb-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"yokan": "libyokan-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "self",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
},
{
"name": "master",
"provider_id": 2,
"type": "yokan",
"tags" : [ "mofka:controller" ],
"config" : {
"database" : {
"type": "rocksdb",
"config": {
"create_if_missing": true,
"path": "/tmp/mofka/master"
}
}
}
}
]
}
35 changes: 35 additions & 0 deletions docs/_code/split-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"warabi": "libwarabi-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "join",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
},
{
"name": "my_data_provider",
"provider_id": 4,
"type": "warabi",
"tags" : [ "mofka:data" ],
"config" : {
"target" : {
"type": "pmdk",
"config": {
"path": "/tmp/mofka/data",
"create_if_missing_with_size": 10485760
}
}
}
}
]
}
35 changes: 35 additions & 0 deletions docs/_code/split-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"yokan": "libyokan-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "join",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
},
{
"name": "my_metadata_provider",
"provider_id": 3,
"type": "yokan",
"tags" : [ "mofka:metadata" ],
"config" : {
"database" : {
"type": "rocksdb",
"config": {
"create_if_missing": true,
"path": "/tmp/mofka/metadata"
}
}
}
}
]
}
20 changes: 20 additions & 0 deletions docs/_code/split-partition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"mofka" : "libmofka-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "join",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
}
]
}
40 changes: 40 additions & 0 deletions docs/_code/storage-memory-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"yokan": "libyokan-bedrock-module.so",
"warabi": "libwarabi-bedrock-module.so",
"mofka" : "libmofka-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "join",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
},
{
"name": "my_metadata_provider",
"provider_id": 3,
"type": "yokan",
"tags" : [ "mofka:metadata" ],
"config" : {
"database" : { "type": "map" }
}
},
{
"name": "my_data_provider",
"provider_id": 4,
"type": "warabi",
"tags" : [ "mofka:data" ],
"config" : {
"target" : { "type": "memory" }
}
}
]
}
52 changes: 52 additions & 0 deletions docs/_code/storage-persistent-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"libraries": {
"flock": "libflock-bedrock-module.so",
"yokan": "libyokan-bedrock-module.so",
"warabi": "libwarabi-bedrock-module.so",
"mofka" : "libmofka-bedrock-module.so"
},
"providers": [
{
"name" : "my_group_manager",
"type" : "flock",
"provider_id" : 1,
"config": {
"bootstrap": "join",
"file": "mofka.json",
"group": {
"type": "centralized"
}
}
},
{
"name": "my_metadata_provider",
"provider_id": 3,
"type": "yokan",
"tags" : [ "mofka:metadata" ],
"config" : {
"database" : {
"type": "rocksdb",
"config": {
"create_if_missing": true,
"path": "/tmp/mofka/metadata"
}
}
}
},
{
"name": "my_data_provider",
"provider_id": 4,
"type": "warabi",
"tags" : [ "mofka:data" ],
"config" : {
"target" : {
"type": "pmdk",
"config": {
"path": "/tmp/mofka/data",
"create_if_missing_with_size": 10485760
}
}
}
}
]
}
Loading

0 comments on commit 984a453

Please sign in to comment.