eventsource   169

« earlier    

Debezium is an open source distributed platform for change data capture. Start it up, point it at your databases, and your apps can start responding to all of the inserts, updates, and deletes that other apps commit to your databases. Debezium is durable and fast, so your apps can respond quickly and never miss an event, even when things go wrong.
database  tools  replication  eventsource 
march 2017 by smaniero
Browser APIs and Protocols: Server-Sent Events (SSE) - High Performance Browser Networking (O'Reilly)
Server-Sent Events enables efficient server-to-client streaming of text-based event data—e.g., real-time notifications or updates generated on the server. To meet this goal, SSE introduces two components: a new EventSource interface in the browser, which allows the client to receive push notifications from the server as DOM events, and the "event stream" data format, which is used to deliver the individual updates.

The combination of the EventSource API in the browser and the well-defined event stream data format is what makes SSE both an efficient and an indispensable tool for handling real-time data in the browser:

Low latency delivery via a single, long-lived connection
Efficient browser message parsing with no unbounded buffers
Automatic tracking of last seen message and auto reconnect
Client message notifications as DOM events

Under the hood, SSE provides an efficient, cross-browser implementation of XHR streaming; the actual delivery of the messages is done over a single, long-lived HTTP connection. However, unlike dealing XHR streaming on our own, the browser handles all the connection management and message parsing, allowing our applications to focus on the business logic! In short, SSE makes working with real-time data simple and efficient. Let’s take a look under the hood.
sse  http  streaming  browser  eventsource  api 
february 2017 by ianmclaury

« earlier    

related tags

actor  ajax  akka  algorithm  alternative  angularjs  api  apn  architecture  archive  aws  browser  chat  client  code  coding  comet  continuous_client  cors  cqrs  database  ddd  dev  development  disqus  disruptor  documentation  etl  event-driven  event-source  event  eventdriven  eventmachine  events  eventsourced  eventsourcing  eventstore  eventuate  example  firehose  flask  fp  framework  ges  github_repo  go  golang  graphql  haskell  html  html5  http  ie  iframe  java  javascript  jaxrs  jersey  jquery  js  kafka  kettle  lambda  leveldb  levelup  lib  linkedin  live  localstorage  long-polling  longpoll  memoryimage  messages  messaging  microservice  mozilla  nginx  node.js  node  nodejs  offline  orm  overview  passenger  patterns  pentaho  performance  persistence  play  polyfill  post  postgres  programming  push  python  rails  rails4  realtime  reference  replication  rest  rss  ruby  rust  scala  security  see  server-sent-event  server-sent-events  server-sent_events  server  server_push  server_sent_events  serversentevent  serversentevents  service  servlet  side  sinatra  slides  sockets  spray  sse  storm  streaming  sysctl  testing  tools  tornado  tuning  video  w3c  w:2  web-development  web  webdev  webhook  websocket  websockets  xhr 

Copy this bookmark: