Skip to content

Support db scaling params #1518

Closed
Closed

Description

@alex-byi
testApi() {
    FOR iterate(INTEGER j, 1, 100) DO {
        sleep(115);
        NEWSESSION NEWSQL NEWTHREAD {
            LOCAL x = INTEGER(INTEGER);
            FOR iterate(INTEGER k, 1, 100) NOINLINE DO {
                sleep(535);
                x(k) <- GROUP SUM 1 IF iterate(INTEGER i, 1, 1000000);
            }
        }
    }
}@@api @@noauth;

containers for testing:
docker-postgres.zip
in terminal: docker-compose up -d

Activity

  1. self-assigned this
    on Sep 24, 2025
  2. alex-byi commented on Sep 29, 2025

    @alex-byi
    CollaboratorAuthor

    video showing how this mechanism works testApi_en.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions