Skip to content

Commit

Permalink
Merge pull request #313 from Genez-io/add-vcpud-memory-mb
Browse files Browse the repository at this point in the history
Add vcpu/memorymb fields
  • Loading branch information
andreia-oca authored Feb 19, 2025
2 parents ca18bd8 + 924a49c commit 80cbac2
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions docs/project-structure/genezio-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ If scripts are declared in the `scripts` field, they will be executed from this
Determines the amount of RAM allocated to the execution environment. The default value for this setting is `tiny`.
To increase the amount of RAM allocated, you can set the value to `medium` or `large`. A [Pro Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: For custom resource control for persistent servers, you can use the `vcpuCount` and `memoryMb` fields instead.

tiny = 256MB RAM, 1 VCPU

medium = 384MB RAM, 1 VCPU
Expand All @@ -307,6 +309,20 @@ If scripts are declared in the `scripts` field, they will be executed from this

For larger instance sizes, [contact us](mailto:[email protected]).

- `vcpuCount`: `number` **Optional**

Specifies the number of virtual CPUs allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the number of virtual CPUs is only available for `persistent` servers.

- `memoryMb`: `number` **Optional**

Specifies the amount of RAM (in MB) allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the amount of RAM is only available for `persistent` servers.

- `maxConcurrentRequestsPerInstance`: `number` **Optional**

Specifies the number of concurrent requests that can be served simultaneously by an execution environment.
Expand Down Expand Up @@ -483,6 +499,20 @@ This resource exposes `url` as an output expression: `${{backend.functions.<func

For larger instance sizes, [contact us](mailto:[email protected]).

- `vcpuCount`: `number` **Optional**

Specifies the number of virtual CPUs allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the number of virtual CPUs is only available for `persistent` servers.

- `memoryMb`: `number` **Optional**

Specifies the amount of RAM (in MB) allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the amount of RAM is only available for `persistent` servers.

- `maxConcurrentRequestsPerInstance`: `number` **Optional**

Specifies the number of concurrent requests that can be served simultaneously by an execution environment.
Expand Down Expand Up @@ -787,6 +817,20 @@ The Docker container configuration. This field can be omitted if the project is

For larger instance sizes, [contact us](mailto:[email protected]).

- `vcpuCount`: `number` **Optional**

Specifies the number of virtual CPUs allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the number of virtual CPUs is only available for `persistent` servers.

- `memoryMb`: `number` **Optional**

Specifies the amount of RAM (in MB) allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the amount of RAM is only available for `persistent` servers.

- `maxConcurrentRequestsPerInstance`: `number` **Optional**

Specifies the number of concurrent requests that can be served simultaneously by an execution environment.
Expand Down Expand Up @@ -910,6 +954,20 @@ Variables can be used in the scripts. Check the [Usage](#variables) section for

For larger instance sizes, [contact us](mailto:[email protected]).

- `vcpuCount`: `number` **Optional**

Specifies the number of virtual CPUs allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the number of virtual CPUs is only available for `persistent` servers.

- `memoryMb`: `number` **Optional**

Specifies the amount of RAM (in MB) allocated to the execution environment. If this value is set, the `instanceSize` field will be ignored.
An [Enterprise Subscription](https://app.genez.io/billing) is required to change this configuration.

Note: Currently, custom control of the amount of RAM is only available for `persistent` servers.

- `maxConcurrentRequestsPerInstance`: `number` **Optional**

Specifies the number of concurrent requests that can be served simultaneously by an execution environment.
Expand Down

0 comments on commit 80cbac2

Please sign in to comment.