Skip to content

Commit

Permalink
Graph simulator init (#196)
Browse files Browse the repository at this point in the history
# Goal
The goal of this PR is to allow us to do some large scale verification
and stress testing.

Closes #197

# Discussion
<!-- List discussion items -->
- Precomputed state with 20_000 users is uploaded
[here](https://drive.google.com/file/d/1WoQ_INPa4aOy4dCm1WUN9KXxq08P0-Rp/view?usp=sharing)
- Refer to ReadMe for more info

# Computed Scenarios
- Key rotation for random pages in private Follows
- Key rotation for random pages in private Friendship
  • Loading branch information
aramikm authored May 2, 2024
1 parent f061fb5 commit 10aba19
Show file tree
Hide file tree
Showing 13 changed files with 2,220 additions and 0 deletions.
74 changes: 74 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"bridge/jni",
"log-result-proc-macro",
"bridge/node",
"simulator"
]

default-members = [
Expand Down
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ build-node-download:
@echo "Build Bridge by downloading native binaries for GraphSDK..."
@cd bridge/node && npm install && npm run native:download

.PHONY: build-sim
build-sim:
@echo "Build Simulator for GraphSDK..."
@cargo build --release -p simulator

.PHONY: run-sim
run-sim:
@make build-sim
@echo "Running Simulator for GraphSDK..."
@( ./target/release/simulator )

.PHONY: dsnp-graph-sdk-jni
@cargo build -p dsnp-graph-sdk-jni --profile $(PROFILE)

Expand Down
Loading

0 comments on commit 10aba19

Please sign in to comment.