Book description
Master the capabilities of RethinkDB and implement them to develop efficient real-time web applications. The way to better database development is here!
About This Book
Master the powerful ReQL queries to manipulate your JSON data,
Learn how to develop scalable, real-time web applications using RethinkDB and Node.js and deploy them for production,
A detailed, step-by-step guide to help you master the concepts of RethinkDB programming with ease
Who This Book Is For
This book caters to all the real-time application developers looking forward to master their skills using RethinkDB. A basic understanding of RethinkDB and Node.js is essential to get the most out of this book.
What You Will Learn
Master the web-based management console for data-center configuration (sharding, replication, and more), database monitoring, and testing queries.
Run queries using the ReQL language
Perform Geospatial queries (such as finding all the documents with locations within 5km of a given point).
Deal with time series data, especially across various times zones.
Extending the functionality of RethinkDB and integrate it with third party libraries such as ElasticSearch to enhance our search
In Detail
RethinkDB has a lot of cool things to be excited about: ReQL (its readable,highly-functional syntax), cluster management, primitives for 21st century applications, and change-feeds. This book starts with a brief overview of the RethinkDB architecture and data modeling, and coverage of the advanced ReQL queries to work with JSON documents. Then, you will quickly jump to implementing these concepts in real-world scenarios, by building real-time applications on polling, data synchronization, share market, and the geospatial domain using RethinkDB and Node.js. You will also see how to tweak RethinkDB's capabilities to ensure faster data processing by exploring the sharding and replication techniques in depth.
Then, we will take you through the more advanced administration tasks as well as show you the various deployment techniques using PaaS, Docker, and Compose. By the time you have finished reading this book, you would have taken your knowledge of RethinkDB to the next level, and will be able to use the concepts in RethinkDB to develop efficient, real-time applications with ease.
Style and approach
This book is a unique blend of comprehensive theory and real-world examples to help you master RethinkDB.
Table of contents
-
Mastering RethinkDB
- Mastering RethinkDB
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. The RethinkDB Architecture and Data Model
-
2. RethinkDB Query Language
- Embedding ReQL in a programming language
- ReQL queries are chainable
- ReQL queries are executed on a server
- Performing conditional queries
- Performing string operations
- Performing MapReduce operations
- Calling HTTP APIs using ReQL
- Handling binary objects
- Performing JOINS
- Accessing changefeed (real-time feed) in RethinkDB
- Performing geolocation operations
- Performing administrative operations
- Summary
-
3. Data Exploration Using RethinkDB
- Generating mock data
-
Executing data exploration use cases
- Finding duplicate elements
- Finding the list of countries
- Finding the top 10 employees with the highest salary
- Displaying employee records with a specific name and location
- Finding employees living in Russia with a salary less than 50,000 dollars
- Finding employees with a constant contact e-mail address
- Finding employees who use class a C IP address
- Summary
- 4. Performance Tuning in RethinkDB
- 5. Administration and Troubleshooting Tasks in RethinkDB
- 6. RethinkDB Deployment
- 7. Extending RethinkDB
- 8. Full Stack Development with RethinkDB
- 9. Polyglot Persistence Using RethinkDB
- 10. Using RethinkDB and Horizon
Product information
- Title: Mastering RethinkDB
- Author(s):
- Release date: December 2016
- Publisher(s): Packt Publishing
- ISBN: 9781786461070
You might also like
book
Getting Started with RethinkDB
Absorb the knowledge required to utilize, manage, and deploy RethinkDB using Node.js About This Book Make …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Pro Couchbase Server, Second Edition
This new edition is a hands-on guide for developers and administrators who want to use the …
book
Node.js 8 the Right Way
Node.js is the platform of choice for creating modern web services. This fast-paced book gets you …