Cloudant & Redis www.softacad.bg Nikolay Tomitov Technical Trainer SoftAcad Training Center.

Slides:



Advertisements
Similar presentations
Creating HIPAA-Compliant Medical Data Applications with Amazon Web Services Presented by, Tulika Srivastava Purdue University.
Advertisements

NoSQL, No SQL!!, No, SQL? Raj Nair, Penton. Variety is the spice of life Key-Value stores Document stores ColumnFam ily Graph Hybrid Spice can lead to.
IWay Service Manager 6.1 Product Update Scott Hathaway iWay Software Copyright 2010, Information Builders. Slide 1.
Amazon RDS (MySQL and Oracle) and SQL Azure Emil Tabakov Telerik Software Academy academy.telerik.com.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Google Bigtable A Distributed Storage System for Structured Data Hadi Salimi, Distributed Systems Laboratory, School of Computer Engineering, Iran University.
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
Basic features ● Document database ● Paid deployment ● JSON ● C#, HTTP REST, Java ● version 3.0.
Introduction to Google AppEngine Development in Java Philippe Beaudoin (Track Sponsor)
Platform as a Service (PaaS)
Google AppEngine. Google App Engine enables you to build and host web apps on the same systems that power Google applications. App Engine offers fast.
Google App Engine Google APIs OAuth Facebook Graph API
By: Devesh Sharma.  Why Cloud Computing? ◦ Traditional Business Applications  Expensive  Complicated  Difficult to manage  Idea behind Cloud Computing.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
SENG 422 Lab 4 Cloud Computing Time: ELW B220 from (4:00 - 6:50) every Tuesday TA: Philip Baback Alipour Ph.D. Candidate in Electrical, Computer Engineering.
Google App Engine Danail Alexiev Technical Trainer SoftAcad.bg.
Implementing search with free software An introduction to Solr By Mick England.
Object Oriented Databases by Adam Stevenson. Object Databases Became commercially popular in mid 1990’s Became commercially popular in mid 1990’s You.
Cross Platform Mobile Backend with Mobile Services James
Introduction to Amazon Web Services (AWS)
NoSQL Concepts, Redis, MongoDB, CouchDB Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training
Cloud Computing for the Enterprise November 18th, This work is licensed under a Creative Commons.
By Mihir Joshi Nikhil Dixit Limaye Pallavi Bhide Payal Godse.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
Is Apache CouchDB for you?
1 NETE4631 Using Google Web Services and Using Microsoft Cloud Services Lecture Notes #7.
Goodbye rows and tables, hello documents and collections.
Modern Databases NoSQL and NewSQL Willem Visser RW334.
Moohanad Hassan Maedeh Pishvaei. Introduction Open Source Apache foundation project Relational DB: SQL Server CouchDB : JSON document-oriented DB (NoSQL)
1 Moshe Shadmon ScaleDB Scaling MySQL in the Cloud.
Protect Your Business-Critical Data in the Cloud with SoftNAS, a Full-Featured, Highly Available Solution for the Agile Microsoft Azure Platform MICROSOFT.
VICTORIA UNIVERSITY OF WELLINGTON Te Whare Wananga o te Upoko o te Ika a Maui SWEN 432 Advanced Database Design and Implementation Exam and Lecture Overview.
A FIRST TOUCH ON NOSQL SERVERS: COUCHDB GENOVEVA VARGAS SOLAR, JAVIER ESPINOSA CNRS, LIG-LAFMIA, FRANCE
Securely Synchronize and Share Enterprise Files across Desktops, Web, and Mobile with EasiShare on the Powerful Microsoft Azure Cloud Platform MICROSOFT.
CS525: Big Data Analytics MapReduce Computing Paradigm & Apache Hadoop Open Source Fall 2013 Elke A. Rundensteiner 1.
Paperless Timesheet Management Project Anant Pednekar.
Powered by Microsoft Azure, PointMatter Is a Flexible Solution to Move and Share Data between Business Groups and IT MICROSOFT AZURE ISV PROFILE: LOGICMATTER.
Microsoft Azure Integrated with C21 Live Cloud Mosaic Helps Control Your Live Streaming from Anywhere by Deploying in Global Azure Regions MICROSOFT AZURE.
A Technical Overview Bill Branan DuraCloud Technical Lead.
+ Logentries Is a Real-Time Log Analytics Service for Aggregating, Analyzing, and Alerting on Log Data from Microsoft Azure Apps and Systems MICROSOFT.
Microsoft Azure and DataStax: Start Anywhere and Scale to Any Size in the Cloud, On- Premises, or Both with a Leading Distributed Database MICROSOFT AZURE.
Axis AI Solves Challenges of Complex Data Extraction and Document Classification through Advanced Natural Language Processing and Machine Learning MICROSOFT.
Apache Solr Dima Ionut Daniel. Contents What is Apache Solr? Architecture Features Core Solr Concepts Configuration Conclusions Bibliography.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
© 2016 Catalyze, Inc. Go-To-Market Services HIPAA Compliance in the Cloud: Catalyze Provides Microsoft Azure Customers with a HITRUST Certified Platform-as-a-Service.
Improve the Performance, Scalability, and Reliability of Applications in the Cloud with jetNEXUS Load Balancer for Microsoft Azure MICROSOFT AZURE ISV.
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
DreamFactory for Microsoft Azure Is an Open Source REST API Platform That Enables Mobilization of Data in Minutes across Frameworks and Storage Methods.
Platform as a Service (PaaS)
NoSQL Databases Cloudant & Redis Nikolay Tomitov
Platform as a Service (PaaS)
Platform as a Service (PaaS)
AWS Integration in Distributed Computing
Google App Engine Mandeep Singh (37926)
Amazon Storage- S3 and Glacier
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Open Source distributed document DB for an enterprise
Platform as a Service.
Couchbase Server is a NoSQL Database with a SQL-Based Query Language
Christian Stark and Odbayar Badamjav
New Mexico State University
Designed for Big Data Visual Analytics, Zoomdata Allows Business Users to Quickly Connect, Stream, and Visualize Data in the Microsoft Azure Platform MICROSOFT.
Google App Engine Danail Alexiev
Scalable SoftNAS Cloud Protects Customers’ Mission-Critical Data in the Cloud with a Highly Available, Flexible Solution for Microsoft Azure MICROSOFT.
Building a Database on S3
RealStudio and Cloud Databases
Database Management Systems
NoSQL Overview + Elasticsearch Quick Dive
Features Overview.
Presentation transcript:

Cloudant & Redis Nikolay Tomitov Technical Trainer SoftAcad Training Center

Documental Databases Relational Databases

Cloudant == managed installation of Apache CouchDB in the cloud

 Cloudant scales within & between data centers ◦ Global networks of servers ◦ Built-in replication and sync ◦ Push the data closer to the user & application ◦ Disaster recovery

 Eliminates data layer-related complexity, delay, cost, and risk  Performance & scale with no worries  Build epic apps, easily ◦ Enables advanced app features and analytics ◦ Full-text search, off-line computing, replication, incremental MapReduce, code and data ◦ distribution... ◦ Accelerates release cycles (reduces time to value)  Start for free, pay as you grow

 Provision Signup is free, and access is immediate  Define No schema, usually just JSON  Access RESTful API  View Define data views via Javascript  Search Integrated, Lucene-like full-text search  Analyze Incremental, chainable MapReduce  Operate Dashboards to monitor, compact, replicate  Grow Automatic

 Data is stored and returned in JSON format  Queried via HTTP RESTful API  Index building language: Javascript  Simple and intuitive interface

Create: HTTP PUT /db/test Read: HTTP GET /db/test Update: HTTP PUT /db/test Delete: HTTP DELETE /db/test

 Views: the way to arrange data to answer our questions  Method to build views: Incremental MapReduce using JavaScript

 Practice Map Reduce at:  content/uploads/2009/04/icouch.html content/uploads/2009/04/icouch.html 

“Redis is an open source, advanced key-value store It is often referred to as a data structure server  Since keys can contain strings, hashes, lists, sets and sorted setsstrings hasheslistssetssorted sets

 It’s really fast ◦ Non-blocking I/O, single threaded ◦ 100,000+ read/writes a second  It complements your existing storage layer  It is very feasible for small apps  But..trade performance for durability

 Short keys perform better  Could not contain whitespaces  Common convention is : obj- type:id:field ◦ user:77:pass = abcd  SHA1(data) makes a useful key too

 strings (up to 1GB)  Lists of strings  Sets of strings  Sorted sets  Hashes  Pubsub channels

 EXISTS[key]  DEL[key]  TYPE[key]  RENAMENX[key]  EXPIRE [key]  EXPIREAT[key]  TTL[key]

 SET[key value]  MGET[key1 key2 key3..]  GET [key]  INCR/DECR [key]  INCRBY/DECRBY[key]

 Store session data + creation time  Hit counts ◦ key =MD5(url) ◦ Incr hits-by-key:$key  APPEND can be used for logging  Redis as shared memory location  Progress bars, polling

 More durability -> less performance  Default behaviour fork-and-save a snapshot to disk every… ◦ 15 mins if one key has changed ◦ 5 mins if 10 keys have changed ◦ 60 secs if keys have changed  SAVE/BGSAVE commands trigger a save

 Try it : ◦  Redis Admin UI ◦

 Non–relational data store  Designed to be highly available and flexible  Available only on Amazon WS

 Low touch – almost no administration needed  Highly available – automatic replication and fail over  Flexible – not bound by a schema  Simple to use – supports only the most common operations  Designed for integration with other Amazon Web Services  Secure  RESTful interface

 Free tier – 1 GB/month, 25 SimpleDB machine hours  Only outgoing transfers are charged  Data transfers in the same region are free  Monthly rates between $0.12 and $0.05

 Optimized reads and writes  Easily integrated with other AWS  Uses the HTTP protocol for communication  Ideal for storing non – structured or semi – structured data

 Limited functionality compared to relational and other non – relational products  Complex queries need a lot of coding  No fulltext indexing  All queries have the N + 1 problem

Amazon Simple DB

 Schemaless object datastore  Designed to scale  Hierarchical  Available only on Google App Engine

 No administration needed  Flexible – not bound by a schema  Designed for no downtime  Automatic replication  Queries must run against predefined indexes  Rich query engine  Atomic transactions  APIs available for all the languages supported by GAE

 Free quota: 1GB, 200 indexes  Monthly rates: $0.24/gigabyte; between $0.01 and $0.10 for 100k database operations

 Fast  Hierarchical queries boost speed  Atomic transactions supported  Large and active community  The Java API include implementations of JDO and JPA

 Limited functionality ◦ Compared to relational databases and other non–relational data stores  Indexes require additional configuration

Google App Engine Datastore

 Non – relational, schema free database  Highly scalable  Engineered for maximum speed  Available as a stand alone product  A number of hosted MongoDB solutions available ◦ MongoLab ◦ MongoHQ ◦ Mongo Machine

 Almost administration free  High availability – replication and sharding  A rich set of features ◦ Complex queries ◦ Aggregate functions ◦ Map/Reduce operations ◦ Indexes ◦ Stored procedures ◦ BLOB storage (GridFS)  Database drivers available for a large list of programming languages

MongoLabMongoHQ  Easy setup (No billing info needed)  Intuitive interface  240MB free  Deploy on Amazon EC2, Rackspace or Joynet  MongoDB Version 1.8  Easy setup (Credit card needed)  Intuitive interface  16MB free  Deploy only on Amazon EC2  Different MongoDB Version according to price plan

 Fast  Rich feature set  Mature product  Large and active community

 No relational database style transactions  No data validation

MongoDB on MongoLab

1. Register for a free Cloudant account at Write a simple "Dictionary" application in Java, C#, PHP, or JavaScript to perform the following in Cloudant: ◦ Add a dictionary entry (word + translation) ◦ List all words and their translations ◦ Find the translation of given word The UI of the application is up to you (it could be Web-based, GUI or console-based). You may download a Cloudant client library from

3. Implement the previous task ("Dictionary") with Redis ◦ Register for a free "Redis To Go" account at: ◦ Download the client libraries for your favorite programming language from 4. Implement the previous task ("Dictionary") with MongoDB (register at MongoLab or MongoHQ) 5. Optionally (if you want) implement the previous task ("Dictionary") with Google Datastore or Amazon SimpleDB