Advancing The Realtime Web With RethinkDB

RethinkDB is an open-source distributed database built to store JSON and scale with very little effort. Self compared with MongoDB, RethinkDB is aiming to be developer friendly all the while maintaining an operations oriented approach of being highly available and high scale.

Prior to version 1.16, original intentions from RethinkDB was a system to push out changes from database level to specialized data stores like ElasticSearch or messaging systems. These were implemented as changefeeds, a way to subscribe to change notifications from the database. A client can subscribe to changes in a database table and get notified every time a change happens to it.

This feature was really well received and RethinkDB decided to expand it to explicitly support realtime apps. Building realtime apps in a truly scalable way is not easy and RethinkDB aims to change it. A client can subscribe to query results and will get a cursor that gets updated any time a change occurs in the database. RethinkDB claims that thousands of concurrent changefeeds can run in parallel, all getting results within milliseconds latency.

Comparing with realtime sync services like FirebasePubNub and Pusher, RethinkDB offers better querying capabilities and can push changes on queries and not just single documents. Also, RethinkDB is an open-source system both at the protocol and implementation level. Finally, RethinkDB’s realtime push capabilities are architected for backend services, instead of the browser.

RethinkDB also aims to integrate changefeeds with Meteor and Volt to make sure it plays well with realtime web frameworks. A working example of the realtime capabilities of RethinkDB can be found as a realtime Instagram client for the web, capturing the latest cats from #catsofinstagram and plotting them on a map using geolocation. RethinkDB’s code is available on GitHub.

时间: 2025-01-04 06:11:52

Advancing The Realtime Web With RethinkDB的相关文章

[paper]Real-time recommendation for microblogs

1.Related work 1.1.recommendation strategies 1. two types of techniques: (1)the link-based approach (C.C. Aggarwal, J.L. Wolf, K.L. Wu, P.S. Yu, Horting hatches an egg: a new graph-theoretic approach to collaborative filtering, in: KDD, 1999, pp. 201

Building Web Apps with SignalR, Part 1

Building Web Apps with SignalR, Part 1 In the first installment of app-building with SignalR, learn how to build a real-time chat application. By Eric Vogel 01/22/2013 GET CODE DOWNLOAD More on this topic: Building a Chat Web App with Signal R, Part

WEB前端:2015年值得关注的几个Web技术

HTTP2 HTTP2在今年中应该就可以定稿,这无疑是web界的一个大事.HTTP2从google的SPDY中借鉴了很多特性,重点改善了之前HTTP协议在当前的网络环境下的性能.简单地来讲,HTTP2更快.为什么呢,有几个主要改变: 首先是来自于同一个domain的HTTP请求可以共享同一个TCP连接了,这样可以很大程度上解决网络延时带来的性能问题.比如你有很多图片,现在也不用sprite化了,因为反正它们会用同一个连接的.HTTP2的出现让之前的很多web前端优化技术可能不再需要了. HTTP

Learn Web.Development of Perl

##### #Overview of Web.Development related modules. #Note that, below codes can not be executed just for overview intention. ##### #!/usr/bin/perl #CGI::FormBuilder::Source::Perl #Dancer, A lightweight yet powerful web application framework #HTML::Fo

PatentTips - Method and system for browsing things of internet of things on ip using web platform

BACKGROUND The following disclosure relates to a method and system for enabling a user to browse physical things using a rich user interface (UI) via a web browser in Internet of Things (IoT) such that an end user has rich experience. Internet of Thi

并行处理框架Celery的Web监控管理服务-Flower

Flower: Real-time Celery web-monitor Flower is a real-time web based monitor and administration tool for Celery. It is under active development, but is already an essential tool. Being the recommended monitor for Celery, it obsoletes the Django-Admin

NetCore开源项目集合

具体见:https://github.com/thangchung/awesome-dotnet-core 半年前看到的,今天又看到了,记录下. General ASP.NET Core Documentation - The official ASP.NET Core documentation site. .NET Core Documentation - Home of the technical documentation for .NET Core, C#, F# and Visual

快速了解SignalR—在MVA微软虚拟学院学习SignalR

©版权声明:本文为博主原创文章,如需转载请注明出处. SignalR把实时Web功能变得异常简单. 如果您希望在几个小时内对SignalR有一个直观的了解,观看微软虚拟学院(MVA)的视频教学Lighting Up Real-Time Web Communications with SignalR或许是个不错的选择. 这是一个大概四个小时的视频教学,分为五个部分.除了视频,还配有PPT和小测验.视频是英文的,配有英文字幕.通过这几个小时的学习,您将对SignalR的功能以及如何使用有一个初步的了

《NodeJS开发指南》学习笔记

欢迎大家指导与讨论 : ) 注:此笔记是基于<NodeJS开发指南>,并不是原著. 第一章——NodeJS简介 NodeJS是一个可以让Javascript运行在服务器端的平台,它为实时Web应用(Real-time Web)开发而生.拥有实时响应,超大规模数据要求下架构的可扩展性.它采用了单线程.异步式I/O.事件驱动式的程序设计模型.统意义上,Javscript是由ECMA.DOM.BOM组成. NodeJS采用的是单线程模型,对于所有的I/O都采用异步式的请求方式,避免了频繁的上下文切换