Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Re: Speed?
Miscellaneous
Thread ID:
01641236
Message ID:
01641656
Views:
97
Thomas,

Those numbers sound crazy slow for either the .NET based or the Fox based stuff, which makes me think you have something funky going on with your internet connection. And if it really is that slow, then the varience between 1-3 seconds is likely just the varience in network speed. Assuming there's little amount of data going over the wire requests like that should operate in milliseconds not full seconds. HTTP performance is usually limited only bandwidth - rarely if ever by the platform or even hardware.

One thing I'd check out is trace the requests with Fiddler and see what's actually going on the wire. It could also be the authentication handshake that's different resulting in multiple 401 requests for authentication. Also for WinInet /wwIPstuff it's crucial there are no proxy settings in the way (unless required) - which can really slow things down as the connection establishment is slow. This is the default for wwHttp. If you are still using wwIPStuff (which is VERY old) you probably should also check out a more recent version of the Client Tools which uses the wwHttp class (same interface, but refactored and up to date with latest config settgins).


Finally if it turns out that wwHttp is really significantly slower in your particular scenario, you can use wwDotnetBridge to call into .NET and use WebClient from FoxPro as well.

+++ Rick ---


>Hi there,
>
>as I am in the process of planning a new VFP-application I came across a problem I noticed when I compared two apps one written in vb.net and one in vfp using the wwipstuff-tools. In both apps I have implemented a http-based REST-Service which consists of a login, a request and a logout. So far, so good. But what I have noticed is that the VFP-App is slower than the vb.net-app.
>The first one needs 2-3 seconde, the second one 1 second. At first this sounds not to important but if it is used a hundred times or more it becomes important.
>What I would like to ask you is, if there ore other methods of implementing this via VFP, which are not wininet-based?
>I never used the MSXMLHHTP-stuff, does anyone know if it is faster? Or would it be better to use the .net-functionality in a com-server?
>
>Best regards and thanks in advance
>
>Thomas
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform