RTC Forums
November 01, 2024, 06:41:10 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Auto discovery of servers
Pages: [
1
]
« previous
next »
Print
Author
Topic: Auto discovery of servers (Read 4945 times)
DPerkins
RTC License
Posts: 37
Auto discovery of servers
«
on:
June 21, 2017, 10:40:40 AM »
Hello
Are their RTC components I could use for my application to auto-discover available RTC servers for it to use?
Thanks
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Auto discovery of servers
«
Reply #1 on:
June 21, 2017, 10:52:00 AM »
There are no components in the RTC SDK for that specific putpose, but if all your Clients and Servers are inside LAN and running on Windows, you could use raw UDP components (TRtcUDPServer on the Server and TRtcUdpClient on your Clients) to broadcast a message from you Clients using UDP and send a response back from your Servers.
The alternative would be to have one Server with an address known to all Clients where all your other Servers would need to register and your Clients could check to get a list of Servers they can use. This would work in any environment, but requires at least one Server with a known address (where all the other Servers need to register) to be always accessible and kind-of defies the idea od auto-discovery.
Best Regards,
Danijel Tkalcec
Logged
DPerkins
RTC License
Posts: 37
Re: Auto discovery of servers
«
Reply #2 on:
June 21, 2017, 10:57:54 AM »
Thanks. Both methods would be useful. I'm mainly looking to reduce client configuration and also to distribute the load across a few servers.
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Auto discovery of servers
«
Reply #3 on:
June 21, 2017, 11:03:24 AM »
Data Router and Load Balancer can help with load distriburion across multiple Servers. Check the Load Balancer 3 Demo for an example. A combination of UDP for auto-discovery and a Load Balancer (or multiple Load Balancers - if the network load is extremely high) is probably the best solution to your problem.
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...