rlm_perl , unlang and Exec-Wait with Perl

rsg ranil.santhish at gmail.com
Fri Apr 18 14:50:13 CEST 2008


My particular problem is to compare

IP address management(Authorization)
              (1) 'solely' based on Perl    VS   (2) SQLIPPOOL + unlang

Does it mean that SQLIPPOOL isn't a good choice for large scale
deployments requiring scalability & faster response time?


On Fri, Apr 18, 2008 at 11:38 AM, Alan DeKok <aland at deployingradius.com> wrote:
> rsg wrote:
>  > However my question is about performance and about how fast & scalable
>  > this kind of a setup compared to a Perl based system.
>
>   Perl will almost always be slower, for the simple reason that it has a
>  lot more work to do in order to set up the interpreter, etc. for every
>  request.
>
>   The "unlang" policies are intended for *simple* policies.  *Complex*
>  ones usually require a real language.
>
>   To be honest, speed in a RADIUS server is almost irrelevant.  The
>  overwhelming majority of time is spent (1) doing SSL setup if you're
>  doing EAP, and/or (2) database queries.
>
>   Perl versus "unlang" will have minimal difference in performance if
>  you're querying a database.
>
>   Alan DeKok.
>
>
> -
>  List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>



More information about the Freeradius-Users mailing list