On Jun 16, 2015, at 9:35 , Andy A <[email protected]> wrote:

> Hello
> 
> What's the best way to speed-up the serving of captive portal pages to reduce 
> latency?
> Currently the latency of each page is quite high in 7-8 seconds bracket.


Hi Andy,
Before anything you really need to know where the bottleneck is.
E.g. Improvements to the webserver (for instance) will not help if the database 
is at fault.

Try to see if the httpd is hitting the maximum number of processes it can 
handle concurrently for a start. 
You may be swamped by what we colloquially call “parked devices”, i.e. devices 
that constantly query the portal even though no one is actually going to 
register (mostly phones).
Or you may have a single device that is trying to open hundreds of connections 
to the portal.

If that’s not the case, try to see how long it takes to serve each query. 
Apache can log the time per requests.

Enable the slow query log in mysql. 
Etc.

Your question unfortunately does not lend itself to a simple answer.
Each server is unhappy in it’s own way.

Regards,
--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to