From 6ab45c69a7c9a62a558fc56d511b8708a24b0b74 Mon Sep 17 00:00:00 2001 From: wangjiawei04 Date: Tue, 12 Oct 2021 06:07:47 +0000 Subject: [PATCH] add cube conf --- .../criteo_ctr_with_cube/cube/conf/cube.conf | 13 +++++++++++++ .../criteo_ctr_with_cube/cube/conf/gflags.conf | 4 ++++ python/examples/criteo_ctr_with_cube/cube/keys | 10 ++++++++++ 3 files changed, 27 insertions(+) create mode 100755 python/examples/criteo_ctr_with_cube/cube/conf/cube.conf create mode 100755 python/examples/criteo_ctr_with_cube/cube/conf/gflags.conf create mode 100755 python/examples/criteo_ctr_with_cube/cube/keys diff --git a/python/examples/criteo_ctr_with_cube/cube/conf/cube.conf b/python/examples/criteo_ctr_with_cube/cube/conf/cube.conf new file mode 100755 index 00000000..b70f6e34 --- /dev/null +++ b/python/examples/criteo_ctr_with_cube/cube/conf/cube.conf @@ -0,0 +1,13 @@ +[{ + "dict_name": "test_dict", + "shard": 1, + "dup": 1, + "timeout": 200, + "retry": 3, + "backup_request": 100, + "type": "ipport_list", + "load_balancer": "rr", + "nodes": [{ + "ipport_list": "list://127.0.0.1:8027" + }] +}] diff --git a/python/examples/criteo_ctr_with_cube/cube/conf/gflags.conf b/python/examples/criteo_ctr_with_cube/cube/conf/gflags.conf new file mode 100755 index 00000000..21c7bdde --- /dev/null +++ b/python/examples/criteo_ctr_with_cube/cube/conf/gflags.conf @@ -0,0 +1,4 @@ +--port=8027 +--dict_split=1 +--in_mem=true +--log_dir=./log/ diff --git a/python/examples/criteo_ctr_with_cube/cube/keys b/python/examples/criteo_ctr_with_cube/cube/keys new file mode 100755 index 00000000..f00c965d --- /dev/null +++ b/python/examples/criteo_ctr_with_cube/cube/keys @@ -0,0 +1,10 @@ +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 -- GitLab