Advertisement

Expert Twisted pp 285-304 | Cite as

Push Data to Browsers and Micro-services with WebSocket

  • Mark Williams
  • Cory Benfield
  • Brian Warner
  • Moshe Zadka
  • Dustin Mitchell
  • Kevin Samuel
  • Pierre Tardy
Chapter

Abstract

WebSocket started as a competitor of HTTP AJAX requests. When we needed real-time communication from the browser or data push from the server, they came out as a nice alternative to legacy solutions such as long polling or comet. Because they were using a persistent connection and no headers, they were the fastest and lightest option if you had a lot of small messages to exchange.

Copyright information

© Mark Williams, Cory Benfield, Brian Warner, Moshe Zadka, Dustin Mitchell, Kevin Samuel, Pierre Tardy 2019

Authors and Affiliations

  • Mark Williams
    • 1
  • Cory Benfield
    • 2
  • Brian Warner
    • 3
  • Moshe Zadka
    • 3
  • Dustin Mitchell
    • 3
  • Kevin Samuel
    • 4
  • Pierre Tardy
    • 5
  1. 1.PasadenaUSA
  2. 2.LondonUK
  3. 3.New YorkUSA
  4. 4.NiceFrance
  5. 5.ToulouseFrance

Personalised recommendations