How to Build A Test Client to Performance Tests?
Options
Tree
✭
I read the page https://doc.photonengine.com/en-us/server/current/performance/performance-tests
photon recommed[ Build a simple Photon Server(!) application that mimics the behavior of your game client. ]But I dont know how to build photon server application to test.
My game client use pun2 and want to know how to bulid a good test client to Performance Tests.
thanks!
photon recommed[ Build a simple Photon Server(!) application that mimics the behavior of your game client. ]But I dont know how to build photon server application to test.
My game client use pun2 and want to know how to bulid a good test client to Performance Tests.
thanks!
0
Answers
-
hi, @Tree
because of nature of client lib it is not very suitable for testing. The thing is that it creates thread per connection and in the end you are limited by system resources. It is not very good too have too many threads in one process.
so, I would say that it might be good to run 50-100 connections per perf test client.
best,
ilya
0 -
hi, @Tree
because of nature of client lib it is not very suitable for testing. The thing is that it creates thread per connection and in the end you are limited by system resources. It is not very good too have too many threads in one process.
so, I would say that it might be good to run 50-100 connections per perf test client.
best,
ilya
Thank you so much.
I also want to know how to [Build a simple Photon Server(!) application that mimics the behavior of your game client].
I dont know how to mimic,hope you can tell me.
thanks!0