Determining number of allocations

139 views
Skip to first unread message

Lee Sylvester

unread,
Feb 6, 2022, 1:27:56 PM2/6/22
to turn-server-project...@googlegroups.com
Hey guys,

Is there a way to `GET` the number of allocations currently in use on a CoTURN server? I’m trying to devise a load balancing scheme for a cluster fo CoTURN servers, and knowing how many allocations exist would help considerably.

Many thanks,
Lee


Warren McDonald

unread,
Feb 6, 2022, 5:53:56 PM2/6/22
to TURN Server (Open-Source project)
Have a quick look at this previous conversation
https://groups.google.com/g/turn-server-project-rfc5766-turn-server/c/xSIV0i_IZZw/m/n0xB03sBDgAJ

The 3 choices for monitoring the allocations are:
1. Telnet session - This is easy enough if you are happy to write some code to issue telnet commands and do simple parsing of the results. 
2. WebSession - I am not sure if there are any direct http requests that would get you the number of allocations.
3. Configure the turnserver process to use Redis for statistics and then query Redis to see the amount of activity. 

Cheers,

Warren 

Lee Sylvester

unread,
Feb 8, 2022, 11:06:36 AM2/8/22
to Warren McDonald, TURN Server (Open-Source project)
Thank you Warren,

I think the Redis Statistics are probably most appropriate for me.

Regards,
Lee



--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/turn-server-project-rfc5766-turn-server/2257605a-69c7-4abd-8401-c453608c5086n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages