Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
ce47eac6
Commit
ce47eac6
authored
Nov 11, 2020
by
Jialin Li
Browse files
experiments: nopaxos clients ping replicas first
parent
7a3a92f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
experiments/modes/nodeconfig.py
experiments/modes/nodeconfig.py
+7
-2
No files found.
experiments/modes/nodeconfig.py
View file @
ce47eac6
...
@@ -209,6 +209,11 @@ class NOPaxosReplica(AppConfig):
...
@@ -209,6 +209,11 @@ class NOPaxosReplica(AppConfig):
str
(
self
.
index
)
+
' -m nopaxos'
]
str
(
self
.
index
)
+
' -m nopaxos'
]
class
NOPaxosClient
(
AppConfig
):
class
NOPaxosClient
(
AppConfig
):
server_ips
=
[]
def
run_cmds
(
self
,
node
):
def
run_cmds
(
self
,
node
):
return
[
'/root/nopaxos/bench/client -c /root/nopaxos.config '
+
cmds
=
[]
'-m nopaxos -n 2000'
]
for
ip
in
self
.
server_ips
:
cmds
.
append
(
'ping -c 1 '
+
ip
)
cmds
.
append
(
'/root/nopaxos/bench/client -c /root/nopaxos.config '
+
'-m nopaxos -n 2000'
)
return
cmds
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment