Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Do More With Change – Introducing Couchbase Eventing - Connect Silicon Valley 2018

228 visualizaciones

Publicado el

Speaker: Sriram Melkote, Director of Engineering, Couchbase

Learn how you can engage with your customers in near-real time by leveraging changes as they happen to the data stored in Couchbase. Eventing offers a platform that allows you to concentrate only on business logic without worrying about configuration or infrastructure. By lowering the barriers to experiment with data, Eventing offers developers a fast and pleasant experience, which in turn lets business be much more agile.

Publicado en: Tecnología
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Do More With Change – Introducing Couchbase Eventing - Connect Silicon Valley 2018

  1. 1. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. MOTIVATION 1
  2. 2. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 2 Low Latency Auto Shard & Scale Friendly Language Take Logic To Your Data
  3. 3. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 3 Motivation • Write clean, focused business logic • Let the system auto shard and scale up • No compromise on Latency or Performance
  4. 4. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. LANGUAGE 2
  5. 5. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 5 JavaScript Many love it. Some only like it. But most people know some JavaScript. • JSON goes well with JavaScript • Friendly language, Fast runtime • Great tooling – Debuggers, IDEs
  6. 6. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 6 Language - Removed • No browser extensions, like window.* methods • No global variables • No asynchronous constructs like JS timers
  7. 7. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 7 Language - Added • Couchbase buckets become global variables • A high performance timer has been introduced • We’ll soon have curl integrated in
  8. 8. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 8 Couchbase Buckets as maps var flight = travel_samples[“SQ32”]; // Bucket GET flight.schedule = [“Mon”,“Wed”,”Fri”]; travel_samples[“SQ32”] = flight; // Bucket SET  No connections to manage  No parsing, no marshaling  Easy to port from dev to prod
  9. 9. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 9 High Performance Timers createTimer(CallbackFn, time, reference, context);  Load balances on all Eventing Nodes  Supports millions of outstanding timers  Add/Remove nodes does not invalidate
  10. 10. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 10 Logs log(“Hello World”);  User logs are separate from System logs  Log rotation available  Best effort serialization of JS objects
  11. 11. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. ARCHITECTURE 3
  12. 12. Confidential and Proprietary. Do not distribute without Couchbase consent. © Couchbase 2018. All rights reserved. 12 High Level Architecture

×