18 Apr
2008
18 Apr
'08
5:38 a.m.
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.