Advancing the Realtime Web with RETHINKDB

Source: Internet
Author: User

RETHINKDB is a Open-source distributed database built to store JSON and scale with very little effort. Self compared with MongoDB, RETHINKDB are aiming to being 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 is a system to push out changes from database level to Speciali Zed data stores like ElasticSearch or messaging systems. These were implemented as changefeeds, a-to-subscribe-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 is really well received and RETHINKDB decided to expand it-explicitly support realtime apps. Building Realtime apps in a truly scalable are not easy and RETHINKDB aims-to-change it. A client can subscribe to query results and would 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 lat Ency.

Comparing with realtime Sync Services like Firebase, PubNub and pusher, RETHINKDB offers better querying capabilities and Can push changes on queries and not just single documents. Also, RETHINKDB is a open-source system both at the protocol and implementation level. Finally, Rethinkdb ' s realtime push capabilities is architected for backend services, instead of the browser.

RETHINKDB also aims to integrate changefeeds with Meteor and the Volt to make sure it plays the 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, Capt Uring the latest cats from #catsofinstagram and plotting them on a map using geolocation. Rethinkdb ' s code is available on GitHub.

Advancing the Realtime Web with RETHINKDB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.