Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Slow webserver-plugin?

If you have a question or need help, this is the place to be.
Post Reply
kirtap
Posts: 4
Joined: Wed Nov 10, 2010 5:19 pm

Slow webserver-plugin?

Post by kirtap »

Hi!

I'm having the problem that from when I issue an HTTP-request towards EG, and until it triggers the target event (in this case, sending some USB-IRT action) is a bit long. It is in the range of 0.5-1 seconds, and this is too slow for comfort. Is there any way to get this to be a bit faster?

When triggering any USB-IRT action from inside EventGhost, the IR message is sent directly, and the time until the request event appears in the log inside EG is roughly all of the waiting time.

There is no difference in using any other browser, so the time spent waiting is inside the Webserver-plugin of EG.

Is this a known issue, or something that I need to reconfigure to get the Webserver to become faster?

I'm using EG 0.3.7.r1462, on Windows Vista sp1.
dbbd
Posts: 33
Joined: Sat Apr 26, 2008 2:10 pm

Re: Slow webserver-plugin?

Post by dbbd »

I second the question. Webserver plugin is very slow.
I thing the do_GET() function can be optimized, or, instead of relying on httpBaseServer use something else altogether.
kirtap
Posts: 4
Joined: Wed Nov 10, 2010 5:19 pm

Re: Slow webserver-plugin?

Post by kirtap »

Solved

This is an Python issue, http://stackoverflow.com/questions/2617 ... -localhost.

Do not use "localhost" as address to your EG, instead, use the appropriate loopback address, for instance 127.0.0.1.
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Slow webserver-plugin?

Post by stottle »

That is interesting. Thanks for posting the update!

Brett
Post Reply