rlm_perl , unlang and Exec-Wait with Perl
Alan DeKok
aland at deployingradius.com
Fri Apr 18 11:38:50 CEST 2008
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.
More information about the Freeradius-Users
mailing list