• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTTP Streaming on Head rush ajax

 
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does it has any example for HTTP Streaming ? or any example of design patterns relate to Ajax ?

if yes, Could you list them?

Thanks in advance
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No design patterns, as stated here :


until you really get a hold of the browser, and its role in web applications, most of what you can learn about patterns and usage of Ajax is really sort of useless;



https://coderanch.com/t/117865/HTML-JavaScript/Ajax-pitfalls-Head-Rush
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This approach of programming can be very hard on your server. A good alternative would be to use Flex which uses Socket connections instead of going over HTTP prtocal.

You can check out Flex here: http://labs.macromedia.com/flexproductline/

Eric
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean opening a connection to another webpage?
or
Do you mean Tunneling ?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by David Dong:
Do you mean opening a connection to another webpage?
or
Do you mean Tunneling ?


I believe Eric means that having each client keep an open TCP connection to your web server is what's hard on the server. It's not "hard" as in the server will crash, but there is a limit to how many physical TCP connections a given server can keep up. Similarly, each of those TCP connections might have a live server-side thread (or process even!) generating some response content which means that you're further limited by the number of simultaneous threads your server can support.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic