![]() ![]() See the documentation in the provisioning folder. We provide you with a script to provision an AKS cluster to ease your deployment experience. See the documentation in the local folder, a docker-compose is provided. You have also the possibility to use multipart requests, you typically can use these requests for file uploads and for transferring data of several types in a single request. To enable push notifications you should set the environment variable ENABLE_PUSH_NOTIFICATION to true Multipart request To do so you should pass two header values ( url where you want to get the response and set preferPush to prefer-push) You may want to get the response later and to avoid http timeouts, you can use push notifications, MAX_TEST_CASES Maximum number of test cases a request should handle (by default it's set to 20).COMPILATION_CONTAINER_VOLUME It should be the same as the volume created in step 2.If this value is set, then all requests will be throttled when the service reaches the maximum. MAX_EXECUTION_CPUS represents the maximum number of cpus to use for each execution (by default the maximum available cpus). ![]() When this value is reached all incoming requests will be throttled, and the user will get 429 HTTP status code (there will be a retry in queue mode). MAX_REQUESTS represents the number of requests that can be executed in parallel.EXECUTION_TIME_MIN is by default set to 0. The value of the env variable EXECUTION_TIME_MAX is by default set to 15 sec, and represents the maximum value of time limit that we can pass in the request.EXECUTION_MEMORY_MIN is by default set to 0. The value of the env variable EXECUTION_MEMORY_MAX is by default set to 10 000 MB, and represents the maximum value of memory limit that we can pass in the request.The value of the env variable DELETE_DOCKER_IMAGE is by default set to true, and that means that each docker image is deleted after the execution of the container.Docker container run -p 8080:8082 -v /var/run/docker.sock:/var/run/docker.sock -v compiler:/compiler -e DELETE_DOCKER_IMAGE=true -e EXECUTION_MEMORY_MAX=10000 -e EXECUTION_MEMORY_MIN=0 -e EXECUTION_TIME_MAX=15 -e EXECUTION_TIME_MIN=0 -e MAX_REQUESTS=1000 -e MAX_EXECUTION_CPUS=0.2 -e COMPILATION_CONTAINER_VOLUME=compiler -t compiler ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |