Results 1 to 10 of 14

Hybrid View

  1. #1
    Member
    Join Date
    Mar 2011
    Location
    roma
    Posts
    9
    thanks

    another questios , use lightstreamer Long polling or Streaming polling ?

    http://en.wikipedia.org/wiki/Long_polling#Long_polling

    thanks

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Lightstreamer can use both;
    by default it uses streaming btw if the infrastructure blocks the streaming (e.g.: a proxy that blocks the http streaming between the client and the server) it falls back to long polling.

  3. #3
    Member
    Join Date
    Mar 2011
    Location
    roma
    Posts
    9
    is there a problem on update data if there is a proxy between server and client in http streaming ?

    is it possible to use only to long polling ?

    thanks

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    it's not like any proxy will block the http streaming, and not like only proxies can block it;

    there are proxies that can block streaming, but also firewalls antiviruses and virtually anything between the server and the client processes.
    In any case, in our experience in production environments only a small percentage of users need to switch to polling due to issues in the network.

    That said you can explicitly set clients to use long polling but this will only offer a worse service to those clients that would be able to use streaming (as said, most of them) and will higher the load on the server as long polling pose a heavier load on it.

    explicitly configure clients to start in long polling mode is discouraged unless your application is sandboxed in an environment where you now that streaming is not feasible (and even in this case a better approach would be to try to remove the streaming-stopper).

  5. #5
    Member
    Join Date
    Mar 2011
    Location
    roma
    Posts
    9
    if I send 100 kb from server to client every 3 seconds for a total of 30 mb , stream connection (alway open) consume more bandwidth of the long polling ?

 

 

Similar Threads

  1. Replies: 0
    Last Post: March 8th, 2010, 01:57 PM
  2. Replies: 1
    Last Post: May 21st, 2009, 09:41 AM
  3. ActionScript/JavaScript Bridge Released!
    By Alessandro in forum Client SDKs
    Replies: 2
    Last Post: February 4th, 2008, 09:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 08:34 PM.