Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmarking tool #11

Open
EnricoMi opened this issue Jun 15, 2020 · 0 comments
Open

Add benchmarking tool #11

EnricoMi opened this issue Jun 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@EnricoMi
Copy link
Collaborator

With the performance data source #10 we can measure various metrics on the partition level. Create some benchmarks running the following queries against a Dgraph cluster. The cluster needs to be setup and populated with a large (possibly synthetic) graph by the benchmark tool to get comparable results and easy usage.

Partition Offset Performance

Read a SingletonPartion partitioned by uid into 100 partitions. The partitions will use different offsets to read the same number of udis. Compare the Dgraph metrics along the offsets / partition id.

Partition Size Performance

Read a SingletonPartion partitioned by uid into 128 partitions. Halve the number of partitions until 1 partition and compare metrics along the partition size. Should show us how reading a partition scales with the partition size (at a certain offset).

Filesystem Caches

All individual runs should be repeated N times (e.g. 6), where every k-th repetition (e.g. 2) should be preceded with a filesystem cache flush. This allows to measure the impact of filesystem caches on the performance.

@EnricoMi EnricoMi added the enhancement New feature or request label Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant