Last active
November 14, 2017 16:14
-
-
Save demosifter/ec4c96d4da456bfb9a045171be821716 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dag": { | |
"inputs":{ | |
"rpc":{ | |
"search":{ | |
"methods": ["GET"], | |
"path": "/_search", | |
"CORS":{} | |
} | |
} | |
}, | |
"nodes":[{ | |
"#": "Index Node", | |
"implementation": { | |
"go": "server/load/load.go", | |
"sandbox": "quay.io/redsift/sandbox-go-rocksdb:v5.8", | |
"qos": { | |
"large-storage": ["rocksdb_store:rw"], | |
"long": true | |
}, | |
"when":{ | |
"crontab": "0 6 * * *" | |
} | |
}, | |
"outputs":{ | |
"stats": {} | |
} | |
},{ | |
"#": "Query Node", | |
"input":{ | |
"bucket": "search" | |
}, | |
"implementation": { | |
"go": "server/search/search.go", | |
"sandbox": "quay.io/redsift/sandbox-go-rocksdb:v5.8", | |
"qos": { | |
"large-storage": ["rocksdb_store:ro"] | |
} | |
}, | |
"outputs": { | |
"rpc_resp": {}, | |
"stats":{} | |
} | |
}], | |
"stores":{}, | |
"outputs":{ | |
"exports":{ | |
"stats":{ | |
"key$schema": "string" | |
}, | |
"rpc_resp": { | |
"import": "_rpc" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment