Posts: 1,162
Threads: 68
Joined: Mar 2013
Thanks: 245
Given 125 thank(s) in 100 post(s)
02-15-2014, 08:13 PM
(This post was last modified: 02-15-2014, 08:40 PM by tonibm19.)
This plugin uses too much ram.
Without: 60mb
With: more than 120mb
free -m
Server recently initialized
With PerfPages:
total used free
Mem: 128 127 0
-/+ buffers/cache: 123 4
Swap: 256 46 209
Without:
Mem: 128 40 87
-/+ buffers/cache: 38 89
Swap: 256 19 236
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
06-01-2015, 05:35 AM
(This post was last modified: 06-01-2015, 06:00 AM by NiLSPACE.)
Is it maybe possible to handle the reloading using javascript? Reloading the whole page gets a little annoying since you go to the top of the page.
EDIT:
Or I could do it. What data would I need to update?
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
It could be possible, the graphing JS code supports updating the data live, although I'm not sure if it would like our (stupid) webserver that marks all data as "text/html" content type.
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
Even with ~ links? Maybe we can make a web page handler return 2 strings? One is for content, and the other string returns what type the data is.