If you need to set "synchronous = no"
We want to use radius for transferring CDR records. Expected about 5000 accounting requests per second. Our plan: App(requests generator) -> Local FreeRadius proxy -> Remote FreeRadius servers. Local instance of freeradius proxy should store requests if remote server unavailable and also care about retransmissions. If proxy support only synchronous mode, I don't think it is possible to transfer 5K requests per second because of response delay. Looks like asynchronous mode can help in this case.
From my understanding synchronous mode mean - proxy does not handle next request before response on first one. Is it correct understanding? Can FreeRadius Proxy be used for my case?
Thanks, --Artem
On Feb 12, 2016, at 7:33 AM, apopov@cybervisiontech.com wrote:
We want to use radius for transferring CDR records. Expected about 5000 accounting requests per second.
The server can proxy 5K packets/s.
Our plan: App(requests generator) -> Local FreeRadius proxy -> Remote FreeRadius servers. Local instance of freeradius proxy should store requests if remote server unavailable and also care about retransmissions.
That's find.
If proxy support only synchronous mode, I don't think it is possible to transfer 5K requests per second because of response delay. Looks like asynchronous mode can help in this case.
The limitation here isn't FreeRADIUS. The limitation is your application.
From my understanding synchronous mode mean - proxy does not handle next request before response on first one. Is it correct understanding?
No. It means that FreeRADIUS doesn't respond to the client until the home server has responded to FreeRADIUS. And if you're looking at synchronous versus asynchronous configuration... you're using a *very* old version of the server. Upgrade to a supported version.
Can FreeRadius Proxy be used for my case?
Yes. Alan DeKok.
No. It means that FreeRADIUS doesn't respond to the client until the home server has responded to FreeRADIUS. And if you're looking at synchronous versus asynchronous configuration... you're using a *very* old version of the server. Upgrade to a supported version.
Next lines from v3.1.x/raddb/proxy.conf confused me: # In 2.0, the server is always "synchronous", and setting # "synchronous = no" is impossible. Just to be sure that I understood this correctly: Proxy can receive multiple requests from client and send it to server without waiting for server response, is it correct? Client Proxy Server | -Req1-> | | | | -Req1-> | | -Req2-> | | | | -Req2-> | | | <-Rsp2- | | <-Rsp2- | | | | <-Rsp1- | | <-Rsp1- | | ----- Original Message ----- From: "Alan DeKok" <aland@deployingradius.com> To: "freeradius-users" <freeradius-users@lists.freeradius.org> Sent: Friday, February 12, 2016 3:22:27 PM Subject: Re: If you need to set "synchronous = no" On Feb 12, 2016, at 7:33 AM, apopov@cybervisiontech.com wrote:
We want to use radius for transferring CDR records. Expected about 5000 accounting requests per second.
The server can proxy 5K packets/s.
Our plan: App(requests generator) -> Local FreeRadius proxy -> Remote FreeRadius servers. Local instance of freeradius proxy should store requests if remote server unavailable and also care about retransmissions.
That's find.
If proxy support only synchronous mode, I don't think it is possible to transfer 5K requests per second because of response delay. Looks like asynchronous mode can help in this case.
The limitation here isn't FreeRADIUS. The limitation is your application.
From my understanding synchronous mode mean - proxy does not handle next request before response on first one. Is it correct understanding?
No. It means that FreeRADIUS doesn't respond to the client until the home server has responded to FreeRADIUS. And if you're looking at synchronous versus asynchronous configuration... you're using a *very* old version of the server. Upgrade to a supported version.
Can FreeRadius Proxy be used for my case?
Yes. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Feb 12, 2016, at 10:27 AM, apopov@cybervisiontech.com wrote:
Just to be sure that I understood this correctly: Proxy can receive multiple requests from client and send it to server without waiting for server response, is it correct?
Yes. Each request is handled separately. Alan DeKok.
participants (2)
-
Alan DeKok -
apopov@cybervisiontech.com