Skip to content

Instantly share code, notes, and snippets.

View porunov's full-sized avatar
🐈
Boom De Yada

Oleksandr Porunov porunov

🐈
Boom De Yada
View GitHub Profile
@porunov
porunov / TraverseBenchmark.java
Last active August 6, 2021 14:34
JanusGraph simple benchmark with enabled CQL executor service
// Copyright 2021 JanusGraph Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@porunov
porunov / TraverseBenchmark.java
Last active August 6, 2021 14:35
JanusGraph simple benchmark with disabled CQL executor service
// Copyright 2021 JanusGraph Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@porunov
porunov / WriteBenchmark.java
Last active August 7, 2021 10:10
JanusGraph simple write benchmark for CQL storage backend
// Copyright 2021 JanusGraph Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@porunov
porunov / CaffeineCacheBenchmark1
Created September 1, 2022 16:44
Caffeine and Guava cache benchmarks in JanusGraph
# JMH version: 1.35
# VM version: JDK 1.8.0_345, OpenJDK 64-Bit Server VM, 25.345-b01
# VM invoker: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.345.b01-1.fc36.x86_64/jre/bin/java
# VM options: <none>
# Blackhole mode: full + dont-inline hint (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 2 iterations, 1 s each
# Measurement: 5 iterations, 5 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Average time, time/op
@porunov
porunov / scylla_server.log
Created February 14, 2023 05:49
ScyllaDB error when certificate is used
05:39:20 INFO org.testcontainers.utility.ImageNameSubstitutor.instance - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
05:39:20 INFO org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$loadConfiguredStrategy$9 - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
05:39:20 INFO org.testcontainers.dockerclient.DockerClientProviderStrategy.tryOutStrategy - Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
05:39:20 INFO org.testcontainers.DockerClientFactory.client - Docker host IP address is localhost
05:39:20 INFO org.testcontainers.DockerClientFactory.client - Connected to docker:
Server Version: 23.0.1
API Version: 1.42
Operating System: Fedora Linux 37 (Workstation Edition)
Total Memory: 64030 MB
05:39:20 INFO org.testcontainers.containers.GenericContainer.trySt
`master` branch CQL benchmarking.
Config:
```
storage.cql.grouping.slice-allowed = false
storage.cql.grouping.slice-limit = 100
```
Benchmark (fanoutFactor) (fastProperty) (hasStepBatchMode) (propertiesBatchMode) (propertyCardinalitySingle) (verticesAmount) Mode Cnt Score Error Units
CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts 100 N/A N/A N/A N/A N/A avgt 5 82.952 ± 4.913 ms/op
CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts 500 N/A N/A N/A N/A N/A avgt 5 2070.788 ± 140.723 ms/op
@porunov
porunov / MASTER_slice_enabled_CQL_driver
Created July 13, 2023 13:18
Benchmark of the PR #3879 (https://github.com/JanusGraph/janusgraph/pull/3879) on 3 nodes Scylla cluster
Benchmark tests on 3 nodes ScyllaDB cluster using CQL driver
Benchmark (fanoutFactor) (fastProperty) (hasStepBatchMode) (propertiesBatchMode) (propertyCardinalitySingle) (verticesAmount) Mode Cnt Score Error Units
CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts 100 N/A N/A N/A N/A N/A avgt 5 212.613 ± 56.701 ms/op
CQLMultiQueryBenchmark.getAdjacentVerticesLocalCounts 500 N/A N/A N/A N/A N/A avgt 5 18093.924 ± 30581.394 ms/op
CQLMultiQueryBenchmark.getAllElementsTraversedFromOuterVertex