Trystan Lea

Results 258 comments of Trystan Lea

The last format whilst producing a much larger JSON seems to compress a lot better. It's also a format that requires less processing pre and after compression in order to...

Example of emonhub log sending compressed data with input names: ``` 2021-12-30 15:59:02,655 INFO emoncmsorg sending: https://emoncms.org/input/bulk.json?sentat=1640879942&cb=1 (301 bytes of data, 1 frames, compressed) 2021-12-30 15:59:02,656 INFO emoncmsorg compression ratio:...

Compression and names turned off: ``` 2021-12-30 16:06:36,921 INFO MainThread Setting emoncmsorg senddata: 1 2021-12-30 16:06:36,921 INFO MainThread Setting emoncmsorg sendstatus: 1 2021-12-30 16:06:36,921 INFO MainThread Setting emoncmsorg sendnames: 0...

Average emoncms.org response time of compressed test: 155.5ms Average emoncms.org response time of uncompressed test: 161.6ms Not a large difference but we can see that compressed data with names takes...

Thanks for your detailed thoughts on this @bwduncan much appreciated. Good points re https overhead and apache settings, it's been a while since I have looked at the apache settings,...

Thanks @bwduncan, looking at the keep alive setting here, I think the original reason that I turned it off is that most of the http requests on emoncms.org server are...

Increasing KeepAlive to 2s increases the number of apache processes to ~265 and 5s: ~410

Thanks @bwduncan! really appreciate your tips on this, il do some more reading and hopefully get back to you on this soon! One other thought is that I did implement...