Skip to content

Recommended ArcadeDB Configuration for High-Concurrency Production Workload #9404

Closed

Description

@lvca

Discussed in #9391

Originally posted by HarinathMaddela October 6, 2026
Hello ArcadeDB Team,

I have a system where multiple jobs can run simultaneously, and these jobs may generate a heavy workload with many parallel requests(Read/Write) accessing the ArcadeDB database.

Currently, I have configured my Docker-based ArcadeDB-26.10.1 deployment with the following settings:

ARCADEDB_OPTS_MEMORY=-Xms4G -Xmx4G
arcadedb.server.mode=production
arcadedb.pageCacheSize=1073741824
arcadedb.txWalFlush=1
arcadedb.bucketDefaultPageSize=65536

The system is currently assigned 8 CPU cores.

I would like to understand whether this configuration is suitable for a production environment with a high level of parallel and potentially heavy database activity.

I have observed that, at times, the CPU utilization reaches almost 100% across all 8 CPU cores. Since the expected workload may increase further, I would like to understand the recommended configuration and sizing for this type of workload.

Could you please advise on the following?

Are the above ArcadeDB and JVM settings appropriate for a production system with heavy concurrent workloads?
Are there any specific configuration parameters that you would recommend tuning for high parallelism?
Is 4 GB of JVM heap and 1 GB page cache sufficient, or should these be increased based on the workload?
How many CPU cores would you generally recommend for a system handling multiple concurrent, CPU-intensive database jobs?
Is there a recommended CPU/memory ratio or sizing guideline for ArcadeDB that we can use when planning for increased load?
Since 8 CPU cores is the maximum I can allocate to this system, and I would actually prefer to reduce the CPU allocation if possible(maybe 4 cores), what would you recommend as a reasonable CPU configuration for this workload? If the CPUs are consistently highly utilized, should I first tune any ArcadeDB/JVM/database settings to improve CPU efficiency, or is the high CPU utilization expected for this type of parallel workload?

Any recommendations regarding CPU, memory, page cache, WAL, concurrency, and other relevant production settings would be greatly appreciated.

Thank you again for your continued support.

Regards,
Harinath

Activity

  1. added
    question
    severity:minor
    on Oct 7, 2026
  2. self-assigned this
    on Oct 7, 2026
  3. added
    in progress
    on Oct 7, 2026
  4. added this to the 26.11.1 milestone on Oct 7, 2026
  5. lvca commented on Oct 7, 2026

    @lvca
    MemberAuthor

    @HarinathMaddela thanks for the logs and thread dumps. I can reproduce an OutOfMemoryError with 50 concurrent runs of a reduced version of your query on a small heap, and I'm now trying to scale the repro to match your data. Could you send us these numbers?

    1. How many TABLE assets exist in total: MATCH (a:asset_info_master {asset_type: 'TABLE'}) RETURN count(a)
    2. How many rows your full query returns for the user you test with (one run, single thread).
    3. How big the HTTP response is for one run, for example curl -s -o /dev/null -w '%{size_download}' ... with the same request you send today.
    4. Whether all 50 threads use the same user (same role group) or different ones.
    5. Which endpoint and format you call: /api/v1/query or /api/v1/command, and any serializer or Accept header you set.

    Also, issue #9401 looks like the same incident (same logs, same query), so we will track the work here.

  6. added 8 commits that reference this issue on Oct 7, 2026
  7. 22 remaining items

  8. lvca commented on Oct 8, 2026

    @lvca
    MemberAuthor

    @HarinathMaddela the queue you asked for is merged (#9528) and will ship in 26.11.1. When the server is busy, requests now wait and start in arrival order instead of being refused. Details and settings are in #9518.


    ❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going.

  9. added 14 commits that reference this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

performancequestionseverity:minor

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions