How to put a load on loadbalancing server for performance tests?

Options
Hi.

I'm writing a performance testing S2S application for loadbalancing cluster, but I'm not sure how to put a load on the server.

I think it needs number of threads and each thread create a peer to connect Photon Server.
Is this correct?

In addition, I did't find that when should spawn threads.

It should be spawn many threads in ApplicationBase#Setup?
Or external client requests the operations, and create a peer in ApplicationBase#CreatePeer?

Thanks.

Comments

  • chvetsov
    Options
    hi, @thara0
    well, we usually create threads in overriden ApplicationBase.Setup method. From Threads you may create few OutboundS2SPeer's and manage them

    best,
    ilya
  • thara0
    Options
    Hi, @chvetsov

    Thanks for your answer. I'll try it:)