본문 바로가기
728x90
반응형

k63

[k6][Loadtest] How to use multiple executors K6 provides executors Executors Executors are the workhorses of the k6 execution engine. Each one schedules VUs and iterations differently, and you choose one depending on the type of traffic you want to model to test your services k6.io How to use multiple executors to scenarios make a test script.js import http from 'k6/http'; import { sleep } from 'k6'; export let options = { scenarios: { foo.. 2022. 4. 14.
[k6][Loadtest] k6 grpc client load path k6를 통해 grpc client load 설정을 진행할 때 proto/ 폴더 하위에서 다른 proto 파일을 import하고 있을 때 아래처럼 proto 폴더의 path만 정의한 뒤에 각각 proto file을 설정해주면 됩니다. import grpc from 'k6/net/grpc'; import { check, sleep } from 'k6'; const client = new grpc.Client(); client.load(['/git/idl/proto'], '/google/api/v1/services/google.proto', '/facebook/api/v1/services/facebook.proto', '/meta/services/meta.proto'); 2022. 3. 30.
[Loadtest][k6] k6 grpc Performance testing gRPC gRPC 는 구글에서 개발된 오픈소스 RPC 프레임 워크 입니다. 인간이 읽을수 있는 형태로 되어있는 JSON과는 다르게 gRPC는 바이너리이며 더 컴팩트하고 전송속도가 빠른 장점이 있습니다 API Types Unary Single Request ↔︎ Single Response Server Streaming Single Request ↔︎ Multiple Responses Client Streaming Multiple Requests ↔︎ Single Response Bi-directional Streaming Multiple Requests ↔︎ Multiple Responses The .proto definition 메시지와 서비스들은 Protocol buffers, or protobuf의.. 2022. 3. 30.
728x90
반응형