LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

poor LV6.1 webserver performance

Hi!

I want to use the LV6.1 webserver to serve a static html site
including some front panel images.

All works as expected except the very poor performance even on the
local system.

I first suspected PC/WIn configuration problems but since two other
webservers work fine i think there must be some problem with labview.

Does anyone know of performance affecting settings of LV or other
issues that might be of importance for LV webserver performance?

Any ideas welcome

bye
Holger
0 Kudos
Message 1 of 8
(3,222 Views)
Holger,

I have used the LabVIEW HTTP server before, and didn't recognize any problems. I would recommend contacting NI support (ni.com/ask) to find out if there is anything you are doing wrong. However; if you are sending images through the HTTP server, you may want to consider that the HTTP server may not be optimized for images and files.

If you don't find a solution to the problem, then I can suggest a very easy solution that isn't that expensive. Linux contains the Apache server. Apache has been hosting most of the websites on the web since the beginning, and in the beginning, was the ONLY way to host web content. Its free, and all you need is a small computer to run it on. You can even network your system to it and have the linux machine m
ount your harddrive to source the web files.
0 Kudos
Message 2 of 8
(3,222 Views)
Labviewguru wrote in message news:<506500000005000000CE880000-1023576873000@exchange.ni.com>...
> Holger,
>
> I have used the LabVIEW HTTP server before, and didn't recognize any
> problems. I would recommend contacting NI support (ni.com/ask) to
> find out if there is anything you are doing wrong. However; if you
> are sending images through the HTTP server, you may want to consider
> that the HTTP server may not be optimized for images and files.
That's what i'm trying to do. But the images are fairly small (one is
100k, the rest is very small <10k). Or is the LV webserver not good
for static websites at all?(Only for LV panels)

>
> If you don't find a solution to the problem, then I can suggest a very
> easy solution that isn't that expen
sive. Linux contains the Apache
> server. Apache has been hosting most of the websites on the web since
> the beginning, and in the beginning, was the ONLY way to host web
> content. Its free, and all you need is a small computer to run it on.
> You can even network your system to it and have the linux machine
> mount your harddrive to source the web files.
As i wrote i tried different webservers already and if the LV problems
don't go away i will use one of them. Since the website and the
projekt is kind of small i will stay at the windows platform. Apache
is available there too but i prefer something easier (in the moment i
use sambar, it's free too).
Maybe this is the way to go but i do want to run two webservers for
one small website.

Thanks
Holger
0 Kudos
Message 5 of 8
(3,222 Views)
Factors that could affect the performance include the number of updates per seconds and the size of the screens.

When you say other servers work good but the LV server does not, what are these other servers doing that you are comparing? When you say bad performance, what is that seems bad?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 8
(3,222 Views)
Ben wrote in message news:<506500000005000000D6880000-1023576873000@exchange.ni.com>...
> Factors that could affect the performance include the number of
> updates per seconds and the size of the screens.
>
> When you say other servers work good but the LV server does not, what
> are these other servers doing that you are comparing? When you say bad
> performance, what is that seems bad?
>
> Ben

I talk of very long loading times(up to 30sec.) for a small static
side - a few navigation buttons, title bar and one bigger *.png image
(that is max. 100k, most of them <10k). With the other servers : Klick
- side loaded with no delay. And i'm the only user on a local machine.
There are no automatic updates right now.

Holger
0 Kudos
Message 6 of 8
(3,222 Views)
I forgot to mention that i designed the website with netobjects fusion
V5 for easy maintaining by the client in the future. Maybe that's
causing any trouble?

I'm using Win98SE on a Athlon900 with 256MB.

> bye
> Holger
0 Kudos
Message 4 of 8
(3,222 Views)
This seems odd.

Again these other sites, do they have comparable images coming along?

Are sure the other site's are not just cached, and loading from disk?

What kind of URL are you using? I have heard that using an IP in the URL bypass some sort of look-up operations. Have you tried using the machine's IP as part of the URL?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 8
(3,222 Views)
Ben wrote in message news:<506500000005000000FA880000-1023576873000@exchange.ni.com>...
> This seems odd.
>
> Again these other sites, do they have comparable images coming along?
>
> Are sure the other site's are not just cached, and loading from disk?
>
Small misunderstanding. I use different webservers (same machine,
different programs) for the same site.
> What kind of URL are you using? I have heard that using an IP in the
> URL bypass some sort of look-up operations. Have you tried using the
> machine's IP as part of the URL?
>
localhost and 127.0.0.1 give the same results (after cleaning browsers
history).

Bye
Holger
> Ben
0 Kudos
Message 8 of 8
(3,222 Views)