understood • Tested in real environments • Great tools support • ACID semantics • Great framework support • ORM like hibernate • Spring • JDBC Relational databases have served us well..
data storage technologies, chosen based upon the way data is being used by individual applications or components of single application. • Martin Fowler
Document Oriented database • JSON-style documents: Lists, Maps, primitives • Schema-less • Each document is heterogeneous, and may have completely unique structure compared to other documents. • Fast and horizontally scalable • Rich query language
use notebook switched to db notebook > show dbs local (empty) > var notebook = {"name":"RedHat Developer Day Notes","desc":"Notes on RedHat developer day","author":"shekhar"} > db.notebooks.insert(notebook) > db.notebooks.find({"author":"shekhar"}) { "_id" : ObjectId("4fe1c495e89c1726c32b4966"), "name" : "RedHat Developer Day Notes", "desc" : "Notes on RedHat developer day", "author" : "shekhar" }
Lets developer focus on his job i.e. to write code. • Reduce cost and time to market • You develop “Cloud Aware “ applications from bottom up. • Improve developer productivity. • PaaS can help achieve Continuous delivery
free auto-scaling, cloud-based application platform from RedHat. • Multi Language, Multi Frameworks, Multi Cartridges. • Support Cloud Portability • No proprietary software. • Open source – OpenShift Origin
Line,Web, Eclipse , Forge plugin, and Spring Roo plugin. • Client Tools for data stores • Runs on top of EC2 but free • Supports 3 applications per user. • 40,000 files, 1GB of storage, and 512MB Memory per gear • Multi tenant • Shell Access.
To create an application • rhc app create -a notebook -l <login> -t jbossas-7 -d • Application will be running at • http://notebook-summit.rhcloud.com/