Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

Zoom out for more assets

Asset library

Module III

Task 11

Quickly outline this task

Task 4

Task 12

Task 6

Task 5

Quickly outline this task here

Use words or pictures to drive your point home

Task 3

Cover the main point of this task here

Write a message or quote

Task 10

Include a relevant quote or statistic

Quickly outline this task here

Provide a short overview of this task

Write a message or quote

Expand on your earlier points here

Task 7

Point 1

Point 2

Point 3

Partitioning and Combining

composing map-reduce calculations

Task 2

Point 1

Point 2

Two stage map reduce

Step-3: Final Reduce for comparison

Step-2: Repeat Step-1 for 2010 and create base record for comparision

Step1: Get the details of aggregate quantity of each product in 2011

compare the sales of each product for each month in 2011 with 2010

Point 3

Point 4

Task 8

Put an important number or point here

Explain the importance of the last part here

Write scaling

Scaling

Read scaling

Replica sets are generally used for data redundancy, automated failover, read scaling, server maintenance without downtime, and disaster recovery

Availability

Replica-set

Asynchronous Master-Slave

-Complex transactions spanning multiple operations

-Querying against varying aggregate structure

-Event logging

- Content management systems, blogging

-Web Analytics

- E-commerce applications

A

Expand on the task here

Scalability

Application level Sharding

Graph Databases

Querying

Get all nodes who likes NoSQL Distilled

Do Not Use

Suitable use cases

-Social networks

-Routing, dispatch and location based services

-Recommendation engines

When updations has to be don e on all or subset of entities

Entities

Relationships

Nodes-properties

Directional Edges

B

Expand on the task here

Task 9

Task 13

C

Expand on the task here

Quickly go over your point here

Highlight the key takeaway from this task

myClient = riak.RiakClient(

pb_port=10017, protocol='pbc')

Connecting to Riak

User profiles and preferences

session information

Shopping Cart Data

Query by data

Operations by sets

Relationships among data

Multioperation transactions

Key Features:

Scalability

Map Reduce

Riak Search

Data Replication

Distributed

APIs and Client Libraries

High Availability

Fault Tolerance

book = {

'isbn': "1111979723",

'title': "Moby Dick",

'author': "Herman Melville",

'body': "Call me Ishmael. Some years ago...",

'copies_owned': 3

}

myBucket = myClient.bucket('test')

val1 = 1

key1 = myBucket.new('one', data=val1)

key1.store()

val3 = {"myValue": 3}

key3 = myBucket.new('three', data=val3)

key3.store()

fetched3.data["myValue"] = 42

fetched3.store()

val2 = "two"

key2 = myBucket.new('two', data=val2)

key2.store()

fetchedBook = booksBucket.get(book['isbn'])

print(fetchedBook.encoded_data)

Creating buckets and objects

booksBucket = myClient.bucket('books')

newBook = booksBucket.new(book['isbn'], data=book)

newBook.store()

Updating objects in Riak

fetched1.delete()

fetched2.delete()

fetched3.delete()

Deleting objects

fetched1 = myBucket.get('one')

fetched2 = myBucket.get('two')

fetched3 = myBucket.get('three')

assert val1 == fetched1.data

assert val2 == fetched2.data

assert val3 == fetched3.data

Reading obects from Riak

Working with complex objects

Learn more about creating dynamic, engaging presentations with Prezi