Getting Started with RethinkDB
Absorbtheknowledgerequiredtoutilize,manage,anddeployRethinkDBusingNode.jsAboutThisBook?Makethemostofthisopensource,scalabledatabase—RethinkDB—toeasetheconstructionofwebapplications?RunpowerfulqueriesusingReQL,whichisthemostconvenientlanguagetomanipulateJSONdocumentswith?Developfully-fledgedreal-timewebappsusingNode.jsandRethinkDBWhoThisBookIsForGettingStartedwithRethinkDBisidealfordeveloperswhoarenewtoRethinkDBandneedapracticalunderstandingtostartworkingwithit.Nopreviousknowledgeofdatabaseprogrammingisrequired,althoughabasicknowledgeofJavaScriptorNode.jswouldbehelpful.WhatYouWillLearn?Downloadandinstallthedatabaseonyoursystem?ConfigureRethinkDB’ssettingsandstartusingthewebinterface?ImportdataintoRethinkDB?RunqueriesusingtheReQLlanguage?Createshards,replicas,andRethinkDBclusters?Useanindextoimprovedatabaseperformance?GettoknowalltheRethinkDBdeploymenttechniquesInDetailRethinkDBisahigh-performancedocument-orienteddatabasewithauniquesetoffeatures.ThisincreasinglypopularNoSQLdatabaseisusedtodevelopreal-timewebapplicationsand,togetherwithNode.js,itcanbeusedtoeasilydeploythemtothecloudwithverylittledifficulty.GettingStartedwithRethinkDBisdesignedtogetyouworkingwithRethinkDBasquicklyaspossible.Startingwiththeinstallationandconfigurationprocess,youwilllearnhowtostartimportingdataintothedatabaseandrunsimplequeriesusingtheintuitiveReQLquerylanguage.Aftersuccessfullyrunningafewsimplequeries,youwillbeintroducedtoothertopicssuchasclusteringandsharding.YouwillgettoknowhowtosetupaclusterofRethinkDBnodesandspreaddatabaseloadacrossmultiplemachines.Wewillthenmoveontoadvancedqueriesandoptimizationtechniques.YouwilldiscoverhowtoworkwithRethinkDBfromaNode.jsenvironmentandfindoutallaboutdeploymenttechniques.Finally,we’llfinishbyworkingonafully-fledgedexamplethatusestheNode.jsframeworkandadvancedfeaturessuchasChangefeedstodevelopareal-timewebapplication.StyleandapproachThisisastep-by-stepbookthatprovidesapracticalapproachtoRethinkDBprogramming,andisexplainedinaconversational,easy-to-followstyle.
·4萬字