12 Apr
2018
12 Apr
'18
11:29 a.m.
On 12/04/18 16:25, Alan DeKok wrote:
So the plan was to move to Perl; but if we did that and ran our mysql queries inside a perl script would we still have the performance issues?
It would be much better than forking a PHP script.
Okay.
I am beginning to think that we can construct a (rather complicated) query that will return the VLAN that needs to be assigned, or 0 to indicate rejection, or a magic number that will indicate further processing required, and use unlang to act appropriately (and call either a PHP script or in due course a perl script).
That makes sense.
Does the pseudo-code look sensible then? I am very much a noob with regards to unlang.