appwrite/app/config/runtimes/specifications.php

52 lines
1.3 KiB
PHP
Raw Normal View History

2024-07-16 09:59:54 +00:00
<?php
use Appwrite\Functions\Specification;
2024-07-16 09:59:54 +00:00
return [
Specification::S_05VCPU_512MB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_05VCPU_512MB,
'memory' => 512,
2024-10-23 14:16:15 +00:00
'cpus' => 1 // TODO: revert this, it's a temporary change to test function performance.
],
Specification::S_1VCPU_512MB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_1VCPU_512MB,
2024-07-16 09:59:54 +00:00
'memory' => 512,
'cpus' => 1
],
Specification::S_1VCPU_1GB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_1VCPU_1GB,
2024-07-16 09:59:54 +00:00
'memory' => 1024,
'cpus' => 1
],
Specification::S_2VCPU_2GB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_2VCPU_2GB,
2024-07-16 11:00:00 +00:00
'memory' => 2048,
2024-07-16 09:59:54 +00:00
'cpus' => 2
],
Specification::S_2VCPU_4GB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_2VCPU_4GB,
2024-07-16 09:59:54 +00:00
'memory' => 4096,
'cpus' => 2
],
2024-08-07 08:08:51 +00:00
Specification::S_4VCPU_4GB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_4VCPU_4GB,
2024-08-07 08:08:51 +00:00
'memory' => 4096,
'cpus' => 4
],
Specification::S_4VCPU_8GB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_4VCPU_8GB,
2024-08-07 08:08:51 +00:00
'memory' => 8192,
'cpus' => 4
],
Specification::S_8VCPU_4GB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_8VCPU_4GB,
2024-08-07 08:08:51 +00:00
'memory' => 4096,
'cpus' => 8
],
Specification::S_8VCPU_8GB => [
2024-08-09 08:17:13 +00:00
'slug' => Specification::S_8VCPU_8GB,
2024-08-07 08:08:51 +00:00
'memory' => 8192,
'cpus' => 8
]
2024-07-16 09:59:54 +00:00
];