Skip to content

Commit 607f3a7

Browse files
committed
benchmarks: Use foundationdb
1 parent 72eeacb commit 607f3a7

File tree

7 files changed

+102
-39
lines changed

7 files changed

+102
-39
lines changed

ci/release-qualification/pipeline.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ steps:
488488
run: main
489489
args: [--find-limit]
490490
timeout_in_minutes: 3600
491-
parallelism: 20
491+
parallelism: 30
492492

493493
- group: Large Scale Ingestions
494494
key: large-scale-ingestions

misc/python/materialize/scalability/endpoint/endpoints.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def up(self) -> None:
162162
image=self.image,
163163
external_metadata_store=True,
164164
metadata_store="cockroach",
165+
consensus_foundationdb=self.image is None,
165166
)
166167
):
167168
# explicitly specified image cannot be found and alternative exists
@@ -182,8 +183,18 @@ def up_internal(self) -> None:
182183
sanity_restart=False,
183184
external_metadata_store=True,
184185
metadata_store="cockroach",
186+
consensus_foundationdb=self.image is None,
185187
)
186188
):
189+
self.composition.up("foundationdb")
190+
self.composition.run(
191+
"foundationdb",
192+
"-C",
193+
"/etc/foundationdb/fdb.cluster",
194+
"--exec",
195+
"configure new single memory",
196+
entrypoint="fdbcli",
197+
)
187198
self.composition.up("materialized")
188199
self.composition.verify_build_profile()
189200

test/feature-benchmark/mzcompose.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
from materialize.mzcompose.services.balancerd import Balancerd
9797
from materialize.mzcompose.services.clusterd import Clusterd
9898
from materialize.mzcompose.services.cockroach import Cockroach
99+
from materialize.mzcompose.services.foundationdb import FoundationDB
99100
from materialize.mzcompose.services.kafka import Kafka as KafkaService
100101
from materialize.mzcompose.services.kgen import Kgen as KgenService
101102
from materialize.mzcompose.services.materialized import Materialized
@@ -144,6 +145,7 @@ def make_aggregation_class() -> type[Aggregation]:
144145
SchemaRegistry(),
145146
Redpanda(),
146147
Cockroach(setup_materialize=True, in_memory=True),
148+
FoundationDB(),
147149
Minio(setup_materialize=True),
148150
Azurite(),
149151
KgenService(),
@@ -254,6 +256,7 @@ def run_one_scenario(
254256
metadata_store="cockroach",
255257
external_blob_store=True,
256258
blob_store_is_azure=args.azurite,
259+
no_consistency_checks=True,
257260
)
258261
):
259262
c.testdrive(
@@ -308,8 +311,8 @@ def run_one_scenario(
308311
aggregation.name(),
309312
)
310313

311-
c.kill("cockroach", "materialized", "clusterd", "testdrive")
312-
c.rm("cockroach", "materialized", "clusterd", "testdrive")
314+
c.kill("cockroach", "foundationdb", "materialized", "clusterd", "testdrive")
315+
c.rm("cockroach", "foundationdb", "materialized", "clusterd", "testdrive")
313316
c.rm_volumes("mzdata")
314317

315318
if early_abort:
@@ -354,6 +357,7 @@ def create_mz_service(
354357
blob_store_is_azure=azurite,
355358
sanity_restart=False,
356359
support_external_clusterd=True,
360+
consensus_foundationdb=mz_image is None,
357361
)
358362

359363

@@ -374,6 +378,15 @@ def start_overridden_mz_clusterd_and_cockroach(
374378
first_run: bool,
375379
) -> None:
376380
with c.override(mz, clusterd):
381+
c.up("foundationdb")
382+
c.run(
383+
"foundationdb",
384+
"-C",
385+
"/etc/foundationdb/fdb.cluster",
386+
"--exec",
387+
"configure new single memory",
388+
entrypoint="fdbcli",
389+
)
377390
c.up(
378391
"cockroach",
379392
"materialized",

0 commit comments

Comments
 (0)