Your SlideShare is downloading. ×
Beyond Real Time Web
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Beyond Real Time Web

1,490

Published on

Published in: Technology
1 Comment
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,490
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
1
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Beyond real-time web
    Matjaž Lipuš, CTO @
  • 2. Agenda
    Comet
    Comettechniques
    Browsertechniques
    Servers
    Beyond real-time web | MatjažLipuš
  • 3. The problem
    Beyond real-time web | Matjaž Lipuš
    http://alex.dojotoolkit.org
  • 4. Comet
    Beyond real-time web | Matjaž Lipuš
    Evolution, not revolution
    http://alex.dojotoolkit.org
  • 5. Comettechnique Polling
    Beyond real-time web | Matjaž Lipuš
    http://www.ape-project.org/comics/1/Chapter-I-common-let-s-push.html
  • 6. Comettechnique Long Polling
    Data transfer endsconnection
    Clientre-connectaftereverydata transfer
    http://alex.dojotoolkit.org
    Beyond real-time web | Matjaž Lipuš
  • 7. Comettechnique Streaming
    No re-connect
    Minimum latency
    http://alex.dojotoolkit.org
    Beyond real-time web | Matjaž Lipuš
  • 8. Browsertechniques
    Beyond real-time web | Matjaž Lipuš
    XHR
    polling
    a lot of "empty" requests
    XHR interactivestate
    longpolling
    Multipart XHR
    streaming
    no supportedcrossbrowser
  • 9. Browsertechniques
    Foreverframe
    streaming
    connectiononlycloses on errors or connection "recycling"
    data is encoded in "envelopes"
    subdomains
    document.domain
    Opera
    IE: htmlfile ActiveX
    Scripttag
    longpolling
    cross-domain
    Beyond real-time web | Matjaž Lipuš
  • 10. Browsertechniques
    Flash/Java
    Plugin
    Flash: policyserver
    Websockets
    HTML 5
    port 80
    Beyond real-time web | Matjaž Lipuš
  • 11. Servers
    Apache, IIS won't cut it.
    threads or processes
    fixed resources per request
    Libraries:
    http://twistedmatrix.com
    http://rubyeventmachine.com
    http://github.com/simonw/nodecast
    Beyond real-time web | Matjaž Lipuš
  • 12. Servers Criteria
    performance
    supportedtechniques
    serverlanguage
    clientlibraries
    license/price
    JavaScriptlibrary
    messagedispatching - STOMP protocol
    reliable messaging
    addressing - multiple apps
    PubSub
    security - SSL, LDAP
    Beyond real-time web | Matjaž Lipuš
  • 13. Server 
    Pros:
    streaming, polling, long polling
    free, stable
    nice overview of comet
    Cons:
    loadingindicator
    Beyond real-time web | Matjaž Lipuš
    http://meteorserver.org
  • 14. Server 
    Pros:
    horizontal scaling
    Web/TCP sockets
    open source
    documentation
    js.io library
    Cons:
    development
    community
    Beyond real-time web | MatjažLipuš
    http://orbited.org
  • 15. Server 
    Pros:
    documentation
    webstandards
    open source
    100.000 mess./s
    comicbook
    Cons:
    Linux only
    Beyond real-time web | Matjaž Lipuš
    http://www.ape-project.org
  • 16. Server 
    Pros:
    freeversion
    1 MIO mess./s
    Multiplesources
    Automaticfailover
    Java/.NET clientlibrary
    Cons:
    loadingindicator
    only Linux
    Beyond real-time web | Matjaž Lipuš
    http://www.freeliberator.com
  • 17. Server 
    Pros:
    early on the scene
    lotsofclientAPIs
    Cons:
    loadingindicator
    Beyond real-time web | Matjaž Lipuš
    http://www.lightstreamer.com
  • 18. Server 
    Pros:
    "father" ofcomet
    Dojofundation
    Cons:
    documentation
    examples
    Beyond real-time web | Matjaž Lipuš
    http://cometd.org
  • 19. Server 
    Pros:
    simple API
    FreeCommunityEdition
    Cons:
    loadingindicator
    Beyond real-time web | Matjaž Lipuš
    http://www.stream-hub.com
  • 20. Server 
    Pros:
    1 MIO mess./s
    Faulttolerantsystem
    SSL
    Java, PHP, PerlAPIs
    RDBMS sources
    Cons:
    veryfewinfo. forcommercialproduct
    Beyond real-time web | Matjaž Lipuš
    http://www.migratory.ro
  • 21. Comparison
    One big fat table for:
    CaplinLiberator
    Cometd (Python)
    ErlyComet
    GlassFish
    Jetty
    Lightstreamer
    Meteor
    Orbited
    Persevere
    RMDS2Web Server
     
    Beyond real-time web | Matjaž Lipuš
    http://cometdaily.com/maturity.html
  • 22. Contact
    Matjaž Lipuš, CTO
    e-mail: matjaz@theflowr.com
    Twitter: @MatjazL

×