thingsboard / performance-tests

Thingsboard performance tests
https://thingsboard.io
Apache License 2.0
41 stars 52 forks source link

can the project used in cluster environment? #27

Closed amy108 closed 2 years ago

amy108 commented 4 years ago

i have a cluster environment including 3 tb instances setup as monolithic architecture. i want to know can this project used in cluster environment? i have tried but errors occured when connected devices as follows: image i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. java.io.IOException: Connection reset by peer

smatvienko-tb commented 2 years ago

Hi, @amy108 In cluster mode, you should connect to the load balancer. To simulate many sessions, it is necessary to spin up a few instances of performance tests for different device ranges.