Results 1 to 7 of 7

Thread: Browser faster than protocol?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Browser faster than protocol?

    Hi,

    I have recently tried various ways (even custom chillkat reference) of upload a file to a server via HTTP with POST command ... but nothing seems to be fast as a normal webbrowser (mozilla, chrome) upload speed?


    Have you experienced the same thing? Why is that?


    Cheers!
    Thanks for helping me out.

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,041

    Re: Browser faster than protocol?

    They could be dividing the file into multiple chunks, opening a series of sessions, and sending different chunks out different sessions. Whether or not this happens, I have no idea.
    My usual boring signature: Nothing

  3. #3
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: Browser faster than protocol?

    as a normal webbrowser (mozilla, chrome) upload speed?
    There is, of course, no such thing as a normal browser upload. All the processing is done either within the webpage scripting or on its server and, as Shaggy said, that could involve any number of special techniques to speed the process. Either way it will be unique to the site.
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Reviews: "dunfiddlin likes his DataTables" - jmcilhinney

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: Browser faster than protocol?

    I've checked with Fiddler...and what i've seen is only one request being made when uploading through a webbrowser interface (mozilla, chrome) ... but upload speed is darn fast!

    I've simulated the exact same request within vbnet and the speed is just waaay slower....

    EDIT:

    Maybe it's about chunksize or something ....

    Content-type: multipart/form-data, boundary=xxxx..... ?
    Last edited by batori; Jan 12th, 2014 at 09:35 AM.
    Thanks for helping me out.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: Browser faster than protocol?

    bump?
    Thanks for helping me out.

  6. #6
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,764

    Re: Browser faster than protocol?

    How are you measuring the speed of the different methods? How big is the file? Is there a reason you are using HTTP POST?
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2008
    Posts
    353

    Re: Browser faster than protocol?

    adding handlers...and when everything is done i check my uploaded files...which correspond to the progress of the app...

    why am i using http...well im just simulating what i've got from fiddler when "intercepting" packets...and the same request is being made from browsers, therefore i incorporated in the app...but the upload speed is way way slower than the browser uploading speed (chrome,ecc)
    Thanks for helping me out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width