# Testing gRPC Services - Request Collections and Modern Load Testing ![rw-book-cover](https://res.cloudinary.com/practicaldev/image/fetch/s--LFlpk13j--/c_imagga_scale,f_auto,fl_progressive,h_500,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4f8s0kex0isddweuhhr4.jpg) URL:: https://dev.to/hiisi13/easy-ways-to-performance-test-a-grpc-service-part-2-1jp7 Author:: Dmitry Kozhedubov ## Highlights > During my brief introduction to k6 I found a couple of things that somewhat limit its usage at my work at this time: > • It doesn't yet support streaming RPCs, which appears to be due to [lack of event loops in k6](https://github.com/grafana/k6/issues/2020) but is work in progress. Our RPCs are primarily bi-directional streaming however. > • Creating new connection for every iteration is not best practice in gRPC and I occasionally ran into connection errors. This design decision was probably made to keep virtual users fully independent from each other, but real word gRPC applications would either reuse the same connection or maintain a relatively small pool of those. ([View Highlight](https://read.readwise.io/read/01fgvkdm72dd5a9q89g0r7hpms)) --- Title: Testing gRPC Services - Request Collections and Modern Load Testing Author: Dmitry Kozhedubov Tags: readwise, articles date: 2024-01-30 --- # Testing gRPC Services - Request Collections and Modern Load Testing ![rw-book-cover](https://res.cloudinary.com/practicaldev/image/fetch/s--LFlpk13j--/c_imagga_scale,f_auto,fl_progressive,h_500,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4f8s0kex0isddweuhhr4.jpg) URL:: https://dev.to/hiisi13/easy-ways-to-performance-test-a-grpc-service-part-2-1jp7 Author:: Dmitry Kozhedubov ## AI-Generated Summary A while ago I a post called Easy ways to (performance) test a gRPC service about bring workflows... ## Highlights > During my brief introduction to k6 I found a couple of things that somewhat limit its usage at my work at this time: > • It doesn't yet support streaming RPCs, which appears to be due to [lack of event loops in k6](https://github.com/grafana/k6/issues/2020) but is work in progress. Our RPCs are primarily bi-directional streaming however. > • Creating new connection for every iteration is not best practice in gRPC and I occasionally ran into connection errors. This design decision was probably made to keep virtual users fully independent from each other, but real word gRPC applications would either reuse the same connection or maintain a relatively small pool of those. ([View Highlight](https://read.readwise.io/read/01fgvkdm72dd5a9q89g0r7hpms))