Róbert Móro. redis In-memory key-value store Master-slave replication Persistence – RDB (snapshots) – AOF (append-only log file) Supported languages –

Slides:



Advertisements
Similar presentations
A whirlwind tour Aran Elkington. Open-source Networked / Distributed In-memory  fast Essentially a Key-value data store Optional durability.
Advertisements

Chapter 6 Lists and Dictionaries CSC1310 Fall 2009.
Introduction to JavaScript
Arrays Strings and regular expressions Basic PHP Syntax CS380 1.
A Survey of Distributed Database Management Systems Brady Kyle CSC
K ALI ROHAN KOKA AZEEM HIRANI. A Simple database Implementing a Dictionary where keys are associated with values. For e.g.: It can set the key “surname_1987”
Chapter 6 Structured Data Types Arrays Records. Copyright © 2007 Addison-Wesley. All rights reserved. 1–2 Definitions data type –collection of data objects.
Introduction to Backend James Kahng. Install Node.js.
Hash Tables and Associative Containers CS-212 Dick Steflik.
Redis: NoSQL data storage
Mastering Redis A Primer Data Masters. Special Thanks To… Planet Linux Caffe
Avro Apache Course: Distributed class Student ID: AM Name: Azzaya Galbazar
Real-time Web Application with Node.js CENTRE FOR NETWORK RESEARCH COMPUTER ENGINEERING, PRINCE OF SONGKLA UNIVERSITY 1 Aj. Suthon, Nong Gun, Nong Pop.
Some key-value stores using log-structure Zhichao Liang LevelDB Riak.
Goodbye rows and tables, hello documents and collections.
Programming History. Who was the first programmer?
Data and its manifestations. Storage and Retrieval techniques.
SQLite Android Club SQLite About onCreate Insert Select Update Delete onUpdate.
 70s - Database access is hard and depends on the app  80s – Relational databases come on the scene  90s – Object oriented programming and DBs  00s.
Redis And Python PyCon India, 2011 (Work in Progress) Sunil Arora.
Redis Key-Value Database: Practical Introduction
CSS446 Spring 2014 Nan Wang.  Java Collection Framework ◦ Set ◦ Map 2.
Created By: Kevin Cherry. A library that creates a display to run on top of your game allowing you to retrieve/set values and invoke methods.
A Level Computing#BristolMet Session Objectives#U2 S7 MUST understand the difference between an array and record SHOULD be able to estimate the size of.
Log-structured Memory for DRAM-based Storage Stephen Rumble, John Ousterhout Center for Future Architectures Research Storage3.2: Architectures.
Cloudant & Redis Nikolay Tomitov Technical Trainer SoftAcad Training Center.
DATABASE SYSTEMS. DATABASE u A filing system for holding data u Contains a set of similar files –Each file contains similar records Each record contains.
SE-2840 Dr. Mark L. Hornick1 NodeJS Server-side JavaScript.
CSC 142 P 1 CSC 142 Collections [Reading: Chapter 10]
Copyright 2010 by Pearson Education Building Java Programs Chapter 10 Lecture 21: ArrayList reading: 10.1.
1 Joe Meehean.  List of names  Set of names  Map names as keys phone #’s as values Phil Bill Will Phil Bill Will Phil Bill Will Phil: Bill:
NoSQL Or Peles. What is NoSQL A collection of various technologies meant to work around RDBMS limitations (mostly performance) Not much of a definition...
Hash Tables ADT Data Dictionary, with two operations – Insert an item, – Search for (and retrieve) an item How should we implement a data dictionary? –
Data-structure-palooza Checkout DataStructures from SVN.
Maps Nick Mouriski.
Introduction to MongoDB. Database compared.
CSE 143 Lecture 11: Sets and Maps reading:
Stacks. What is a Stack? A stack is a type of data structure (a way of organizing and sorting data so that it can be used efficiently). To be specific,
Introduction to File Processing with PHP. Review of Course Outcomes 1. Implement file reading and writing programs using PHP. 2. Identify file access.
Get more than a cache back! The Microsoft Azure (Redis) Cache Maarten
Embedded Software Design Week V Python Lists and Dictionaries PWM LED 1-Wire Temperature Sensor.
Apache Avro CMSC 491 Hadoop-Based Distributed Computing Spring 2016 Adam Shook.
Basics Components of Web Design & Development Basics, Components, Design and Development.
Chapter 9: Data types and data structures OCR Computing for A Level © Hodder Education 2009.
Chapter 0: Introduction
Redis:~ Author Anil Sharma Data Structure server.
3.2.3 Data types and data structures
open source, advanced key-value store, data structure server
Use of Java’s HashMap.
CSE-291 Cloud Computing, Fall 2016 Kesden
Professor Loui Class Meeting #n To accompany WebEx or Audio
Hashing Exercises.
Video game development
Road Map CS Concepts Data Structures Java Language Java Collections
Databases Lesson 2.
Lesson 09: Lists Topic: Introduction to Programming, Zybook Ch 8, P4E Ch 8. Slides on website.
EXTENSION AND INTEGRATION
IMPORTING SUBMISSIONS
Data Structures – 1D Lists
Hash Tables and Associative Containers
Files [Computing] Computing.
Welcome to CSE 143! Go to pollev.com/cse143.
Files Handling In today’s lesson we will look at:
Appending or adding to a file using python
Architecture of the web
Podcast Ch21f Title: HashSet Class
SimpleITK Historical Overview: Standing on the Shoulders of Giants
Redis Presenter: Crystal.
Social Network Analysis
Dictionary.
Presentation transcript:

Róbert Móro

redis In-memory key-value store Master-slave replication Persistence – RDB (snapshots) – AOF (append-only log file) Supported languages – Ruby, Python, Java, C, PHP, Javascript (Node.js)

redis Data types – String, List, Set, Hash, Sorted set Used in – Engine Yard, Github, stackoverflow, …

redis Data types – String, List, Set, Hash, Sorted set Used in – Engine Yard, Github, stackoverflow, … ALEF

redis data types String – can contain any kind of data, for instance a JPEG image or a serialized object – INCR, DECR, APPEND,... List – lists of strings, sorted by insertion order – LPUSH, RPUSH,...

redis data types Set – an unordered collection of Strings – it is possible to add, remove, and test for existence of members in O(1) – SADD, SUNION, SINTER, SDIFF, SCARD,... Hash – maps between string fields and string values – HGETALL, HSET, HMSET, HKEYS, HVALS,...

redis data types Sorted Set – non-repeating collections of Strings similar to Set – every member of a Sorted Set is associated with score – scores may be repeated – members of Sorted Set are ordered by their score – ZRANGE, ZRANK, ZSCORE, ZCOUNT,...

When to use redis? Speed is critical Data can be contained in RAM Loss of some data is acceptable