Mastering Redis: take your knowledge of Redis to the next level to build enthralling applications with ease
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK
Packt Publishing
2016
|
Schriftenreihe: | Community experience distilled
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | XVI, 340 Seiten Illustrationen, Diagramme |
ISBN: | 9781783988181 |
Internformat
MARC
LEADER | 00000nam a2200000zc 4500 | ||
---|---|---|---|
001 | BV045105865 | ||
003 | DE-604 | ||
005 | 20180905 | ||
007 | t | ||
008 | 180727s2016 a||| |||| 00||| eng d | ||
020 | |a 9781783988181 |c Print |9 978-1-78398-818-1 | ||
035 | |a (OCoLC)1051246580 | ||
035 | |a (DE-599)BVBBV045105865 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-739 | ||
082 | 0 | |a 005.74 |2 23 | |
084 | |a ST 270 |0 (DE-625)143638: |2 rvk | ||
100 | 1 | |a Nelson, Jeremy |e Verfasser |4 aut | |
245 | 1 | 0 | |a Mastering Redis |b take your knowledge of Redis to the next level to build enthralling applications with ease |c Jeremy Nelson |
264 | 1 | |a Birmingham, UK |b Packt Publishing |c 2016 | |
300 | |a XVI, 340 Seiten |b Illustrationen, Diagramme | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a Community experience distilled | |
650 | 4 | |a Information retrieval |x Computer programs | |
650 | 4 | |a Database management | |
650 | 0 | 7 | |a In-Memory-Datenbank |0 (DE-588)7744803-0 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Datenbankentwurf |0 (DE-588)4127613-9 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Redis |0 (DE-588)1066443475 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a NoSQL-Datenbanksystem |0 (DE-588)7722784-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Redis |0 (DE-588)1066443475 |D s |
689 | 0 | 1 | |a Datenbankentwurf |0 (DE-588)4127613-9 |D s |
689 | 0 | 2 | |a NoSQL-Datenbanksystem |0 (DE-588)7722784-0 |D s |
689 | 0 | 3 | |a In-Memory-Datenbank |0 (DE-588)7744803-0 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030496323&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-030496323 |
Datensatz im Suchindex
_version_ | 1804178742578249728 |
---|---|
adam_text | Table of Contents
Preface___________________________________________________________vii
Chapter 1: Why Redis? 1
Is Redis right for me? 2
Experimenting with Redis 4
Popular usage patterns 10
Redis isn t right because ...try again soon! 12
Summary 14
Chapter 2: Advanced Key Management and Data Structures_____________15
Redis keys 16
Redis key schema 16
Key delimiters and naming conventions 18
Manually creating a Redis schema 21
Deconstructing a Redis object mapper 24
Key expiration 30
Key cautions 30
Big 0 notation 31
Computing big 0 notation for custom code 33
Reviewing the time complexity of Redis data structures 34
Strings 35
Hashes 36
Lists 37
Sets 38
[i]
Table of Contents
Sorted sets 39
Advanced sorted set operations 42
Bitstrings and bit operations 43
HyperLogLogs 45
Summary 46
Chapter 3: Managing RAM - Tips and Techniques
for Redis Memory Management___________________________________________47
Configuring Redis 48
Master-slave 48
32-bit Redis 49
About the INFO memory 50
Key expiration 53
LRU key evictions 58
Creating memory efficient Redis data structures 67
Small aggregate hashes, lists, sets, and sorted sets 67
Bits, bytes, and Redis strings as random access arrays 74
Optimizing hashes for efficient storage 75
Hardware and network latencies 78
Operating system tips 81
Summary 81
Chapter 4: Programming Redis Part One - Redis Core,
Clients, and Languages_______________________________________________ 83
Redis internals 84
Understanding redis,h and redis.c 89
Getting ready for Redis development with Git 96
Exercise - creating your own redis command 98
Redis Serialization Protocol (RESP) 101
Pipelining 104
Redis RDB format 105
Coroutines using Redis and Python 108
Todo list application using Node.js and Redis 113
Replication and public access 115
Summary 116
Table of Contents
Chapter 5: Programming Redis Part Two - Lua Scripting,
Administration, and DevOps______________________________________________J17
The use of Lua in Redis 117
Using KEYS and ARGV with Redis 126
Advanced Lua scripting with Redis 131
MARC21 ingestion 131
Online Storefront Paper Stationery 133
Interoperability using JSON-LD, Lua, and Redis 136
Redis Lua Debugger 140
Programming Redis administration topics 144
Master-Slave replication 144
Transactions with MULTI and EXEC 147
Redis role in DevOps 150
Summary 151
Chapter 6: Scaling with Redis Cluster and Sentinel _____________________153
Approaches to partitioning data 153
Range partitioning 154
List partitioning 157
Hash partitioning 160
Composite partitioning 161
Key hash tags 162
Clustering Redis with Twemproxy 163
Testing Twemproxy with Linked Data Fragments server 164
Redis Cluster background 170
Overview of running Redis Cluster 171
Using Redis Cluster 173
Live reconfiguration and resharding Redis cluster 178
Failover 181
Replacing or upgrading nodes in Redis Cluster 184
Monitoring with Redis Sentinel 185
Sentinel for Area Code List Partition 188
Summary 191
[Hi]
Table of Contents
Chapter 7: Redis and Complementary NoSQL Technologies____________193
The proliferation of NoSQL 193
Redis as an analytics complement to MongoDB 199
Redis as a preprocessor complement to ElasticSearch 211
Using Redis and ElasticSearch in BIBCAT 212
ElasticSearch, Logstash, and Redis 217
Redis as a smart cache complement to Fedora Commons 219
Summary 225
Chapter 8: Docker Containers and Cloud Deployments_______________227
Linux containers 228
Docker basics with Redis 234
Layers in Docker images 242
Docker filesystem backends 244
Building images with a Dockerfile 249
Hosting and publishing Docker images 251
Docker and Redis issues 252
Packaging your application with Docker Compose 253
Redis and AWS 257
Dedicated cloud hosting options 259
Redis Labs 259
DigitalOcean Redis 260
Summary 261
Chapter 9: Task Management and Messaging Queuing________________ 263
Overview of Redis Pub/Sub 263
Pub/Sub RESP replies 265
SUBSCRIBE and UNSUBSCRIBE RESP Arrays 265
PSUBSCRIBE and UNSUBSCRIBE arrays 266
Pub/Sub with Redis CLI 267
Redis Pub/Sub in action 269
First workstation using Python Pub/Sub 271
Second workstation Node.js Pub/Sub 274
Third workstation Lua Client Pub/Sub 275
Redis keyspace notifications 279
Task management with Redis and Celery 283
GIS and RestMQ 287
Adding task management with RestMQ 290
Messaging with Redis technologies 292
Messaging with Disque 292
Summary 294
--------------------------------[iv]---------------------------------
__________________________________________________________Table of Contents
Chapter 10: Measuring and Managing Information Streams_________________________295
Extracting, transforming, and loading information with Redis 295
Extracting JSON to transform into RESP 302
Security considerations when managing Redis 308
Redis protected mode 309
Command obfuscation 311
Operational monitoring with a Redis web dashboard 311
Machine learning and Redis 312
Naïve Bayes and work classification 313
Creating training and testing datasets 316
Extracting word Tokens from BIBFRAME Works 318
Applying Naïve Bayes 321
Linear regression with Redis 324
Summary 329
Appendix: Sources______________________________________________________________331
Index 335
[v]
|
any_adam_object | 1 |
author | Nelson, Jeremy |
author_facet | Nelson, Jeremy |
author_role | aut |
author_sort | Nelson, Jeremy |
author_variant | j n jn |
building | Verbundindex |
bvnumber | BV045105865 |
classification_rvk | ST 270 |
ctrlnum | (OCoLC)1051246580 (DE-599)BVBBV045105865 |
dewey-full | 005.74 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.74 |
dewey-search | 005.74 |
dewey-sort | 15.74 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01813nam a2200433zc 4500</leader><controlfield tag="001">BV045105865</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20180905 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">180727s2016 a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781783988181</subfield><subfield code="c">Print</subfield><subfield code="9">978-1-78398-818-1</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1051246580</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV045105865</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.74</subfield><subfield code="2">23</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 270</subfield><subfield code="0">(DE-625)143638:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Nelson, Jeremy</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Mastering Redis</subfield><subfield code="b">take your knowledge of Redis to the next level to build enthralling applications with ease</subfield><subfield code="c">Jeremy Nelson</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK</subfield><subfield code="b">Packt Publishing</subfield><subfield code="c">2016</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XVI, 340 Seiten</subfield><subfield code="b">Illustrationen, Diagramme</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">Community experience distilled</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Information retrieval</subfield><subfield code="x">Computer programs</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Database management</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">In-Memory-Datenbank</subfield><subfield code="0">(DE-588)7744803-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Datenbankentwurf</subfield><subfield code="0">(DE-588)4127613-9</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Redis</subfield><subfield code="0">(DE-588)1066443475</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">NoSQL-Datenbanksystem</subfield><subfield code="0">(DE-588)7722784-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Redis</subfield><subfield code="0">(DE-588)1066443475</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Datenbankentwurf</subfield><subfield code="0">(DE-588)4127613-9</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">NoSQL-Datenbanksystem</subfield><subfield code="0">(DE-588)7722784-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="3"><subfield code="a">In-Memory-Datenbank</subfield><subfield code="0">(DE-588)7744803-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030496323&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-030496323</subfield></datafield></record></collection> |
id | DE-604.BV045105865 |
illustrated | Illustrated |
indexdate | 2024-07-10T08:08:48Z |
institution | BVB |
isbn | 9781783988181 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-030496323 |
oclc_num | 1051246580 |
open_access_boolean | |
owner | DE-739 |
owner_facet | DE-739 |
physical | XVI, 340 Seiten Illustrationen, Diagramme |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | Packt Publishing |
record_format | marc |
series2 | Community experience distilled |
spelling | Nelson, Jeremy Verfasser aut Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease Jeremy Nelson Birmingham, UK Packt Publishing 2016 XVI, 340 Seiten Illustrationen, Diagramme txt rdacontent n rdamedia nc rdacarrier Community experience distilled Information retrieval Computer programs Database management In-Memory-Datenbank (DE-588)7744803-0 gnd rswk-swf Datenbankentwurf (DE-588)4127613-9 gnd rswk-swf Redis (DE-588)1066443475 gnd rswk-swf NoSQL-Datenbanksystem (DE-588)7722784-0 gnd rswk-swf Redis (DE-588)1066443475 s Datenbankentwurf (DE-588)4127613-9 s NoSQL-Datenbanksystem (DE-588)7722784-0 s In-Memory-Datenbank (DE-588)7744803-0 s DE-604 Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030496323&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Nelson, Jeremy Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease Information retrieval Computer programs Database management In-Memory-Datenbank (DE-588)7744803-0 gnd Datenbankentwurf (DE-588)4127613-9 gnd Redis (DE-588)1066443475 gnd NoSQL-Datenbanksystem (DE-588)7722784-0 gnd |
subject_GND | (DE-588)7744803-0 (DE-588)4127613-9 (DE-588)1066443475 (DE-588)7722784-0 |
title | Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease |
title_auth | Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease |
title_exact_search | Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease |
title_full | Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease Jeremy Nelson |
title_fullStr | Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease Jeremy Nelson |
title_full_unstemmed | Mastering Redis take your knowledge of Redis to the next level to build enthralling applications with ease Jeremy Nelson |
title_short | Mastering Redis |
title_sort | mastering redis take your knowledge of redis to the next level to build enthralling applications with ease |
title_sub | take your knowledge of Redis to the next level to build enthralling applications with ease |
topic | Information retrieval Computer programs Database management In-Memory-Datenbank (DE-588)7744803-0 gnd Datenbankentwurf (DE-588)4127613-9 gnd Redis (DE-588)1066443475 gnd NoSQL-Datenbanksystem (DE-588)7722784-0 gnd |
topic_facet | Information retrieval Computer programs Database management In-Memory-Datenbank Datenbankentwurf Redis NoSQL-Datenbanksystem |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=030496323&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT nelsonjeremy masteringredistakeyourknowledgeofredistothenextleveltobuildenthrallingapplicationswithease |