[vz-users] Login/Absicherung von VZ Installationen

Andreas Goetz cpuidle at gmail.com
Thu Jan 12 17:34:43 CET 2017


Hallo Sirko,

> On 12 Jan 2017, at 11:21, Sirko <mail_ist at nurfuerspam.de> wrote:
> 
> Hi,
> 
> 
> das war ja einfach ;-)
> 
> noch kurz die typischen "time"-Werte
> 
> Middleware:  curl -s 'http://192.168.178.23/middleware.php/data/14360350-d080-11e2-....json?debug=1' |less
> "time": 0.0129 bis "time": 0.00671,
> 
> PPM:  curl -s 'http://192.168.178.23:8088/data/14360350-d080-11e2-....json?debug=1' |less
> um die "time": 0.0012,
> 
> bei ca. "rows": 8642

die “Messwerte” sind vmtl. die Execution Times aus dem json? Dann sind sie … Quark. Warum?

a) es fehlt in der normalen Variante die Zeit bis das PHP Skript überhaupt mal geladen wurde
b) es fehlt die Zeit- und das ist die Hauptlast- bis mal eine Datenbankverbindung besteht da der Debug Timestamp erst später gesetzt wird (ist mir gerade aufgefallen- mach gerne eine Issue wenn wir das ändern wollen)

Long Story short: in Realität ist der Unterschied für “einfache” Requests die vielleicht gar nicht zur Datenbank müssen so ca. 5ms vs. 200ms auf einem Raspi3, also mal eben Faktor 40 :)

> 
> Grüße
> Sirko

Viele Grüße, Andreas

> 
> 
> Am 11.01.2017 um 12:38 schrieb Andreas Götz:
>> Doch klar- options.js!
>> 
>> Viele Grüße,
>> Andreas
> 



More information about the volkszaehler-users mailing list