Expanding Retail Frontiers with MongoDB

45
#mongodbretail Senior Solutions Architect, MongoDB Inc. Norberto Leite Expanding Retail Frontiers with MongoDB

description

How MongoDB is being used by retail organisations, use cases, references and challenges MongoDB helps to overcome

Transcript of Expanding Retail Frontiers with MongoDB

Page 1: Expanding Retail Frontiers with MongoDB

#mongodbretail

Senior Solutions Architect, MongoDB Inc. Norberto Leite

Expanding Retail Frontiers with MongoDB

Page 2: Expanding Retail Frontiers with MongoDB

2

•  Norberto Leite •  Solutions Architect

–  Technical Account Manager –  Engineer

•  Barcelona, Spain •  [email protected]

•  @nleite

Presenter Notes

Page 3: Expanding Retail Frontiers with MongoDB

Phoenician  saying  

“The  art  of  commerce  is  to  buy  goods  for  5  when  they  are  worth  10  and  sell  for  10  what  is  worth  5”  

Page 4: Expanding Retail Frontiers with MongoDB

4

•  Introduction •  Retail Challenges •  Why MongoDB

•  Common Use Cases •  References

Agenda

Page 5: Expanding Retail Frontiers with MongoDB

Introduction

Page 6: Expanding Retail Frontiers with MongoDB

6

MongoDB

The leading NoSQL database

Document Database

Open-Source

General Purpose

Page 7: Expanding Retail Frontiers with MongoDB

7

To provide the best database for how we build and run apps today

MongoDB Vision

Build –  New and complex data –  Flexible –  New languages –  Faster development

Run –  Big Data scalability –  Real-time –  Commodity hardware –  Cloud

Page 8: Expanding Retail Frontiers with MongoDB

8

Agile

MongoDB Overview

Scalable

Page 9: Expanding Retail Frontiers with MongoDB

9

4,000,000+ MongoDB Downloads

100,000+ Online Education Registrants

20,000+ MongoDB User Group Members

20,000+ MongoDB Days Attendees

15,000+ MongoDB Management Service (MMS) Users

Global Community

Page 10: Expanding Retail Frontiers with MongoDB

10

Data Hub User Data Management

Big Data Content Mgmt & Delivery Mobile & Social

MongoDB Solutions

Page 11: Expanding Retail Frontiers with MongoDB

11

•  10 of the Top Financial Services Institutions •  10 of the Top Electronics Companies •  10 of the Top Media and Entertainment

Companies •  8 of the Top Retailers

•  6 of the Top Telcos •  5 of the Top Technology Companies •  4 of the Top Healthcare Companies

Fortune 500 & Global 500

Page 12: Expanding Retail Frontiers with MongoDB

Retail Challenges

Page 13: Expanding Retail Frontiers with MongoDB

13

•  Old School –  Evolving Landscape

–  Customer Loyalty

–  New Competitors

–  New Markets

•  Avant-garde –  Seamless Experience

–  Online + Offline

–  Buying Patterns

–  Predict Trends

Challenges

Page 14: Expanding Retail Frontiers with MongoDB

http://www.blendwerk-­‐freiburg.de/wp-­‐content/uploads/2010/08/jai-­‐vu-­‐jai-­‐lu-­‐kukuxumusu-­‐ovolution.jpg  

Evolving  Landscape  

Page 15: Expanding Retail Frontiers with MongoDB

15

•  Extended Offering •  Home delivery •  Online only supermarkets

–  Lots of new companies –  Lots of traditional retailers populating the web

•  Physical stores as complements –  Show rooms –  Pick up locations

Evolving Landscape

Page 16: Expanding Retail Frontiers with MongoDB

http://s.wsj.net/media/cards_E_20111020111733.jpg  

Customer  Loyalty  

Page 17: Expanding Retail Frontiers with MongoDB

17

•  Understand your customer •  “Customize” what customer needs and wants

–  And when he want’s it!

•  Reward the your “fans”

•  Make sure everyone knows they have been rewarded –  Gamification is a strong powerful driver! –  points + points + points

Customer Loyalty

Page 18: Expanding Retail Frontiers with MongoDB

18

•  How easy it is nowadays to open a web shop? •  How many are approaching a need that you do

not attend?

•  Is your market share growing or shrinking? –  Time to get a Vietnamese translator ?

•  How fast can I react to habits and perception change ?

New Competitors and Markets

Page 19: Expanding Retail Frontiers with MongoDB

http://www.sinbadesign.com/wp-­‐content/uploads/2011/07/Tesco-­‐Homeplus-­‐Subway-­‐Virtual-­‐Store-­‐in-­‐South-­‐Korea01.jpg  

Seamless  Experience  

Page 20: Expanding Retail Frontiers with MongoDB

20

•  It’s all about knowing your Customer •  Make better customized offers •  Avoid useless promotions

–  Not valuable for your customers –  Degradation of your brand

•  Make use of the network effect

•  Analytics anyone?

Buying Patterns + Trends Prediction

Page 21: Expanding Retail Frontiers with MongoDB

Why MongoDB?

Page 22: Expanding Retail Frontiers with MongoDB

22

•  Flexible Datastore •  Horizontal Scalability •  Multi Platform

•  Polyglot •  Cost Efficient

•  Large Community •  Talent War?

MongoDB = Good Stuff

Page 23: Expanding Retail Frontiers with MongoDB

23

RDBMS

Flexible Datastore

MongoDB

{ _id : ObjectId("4c4ba5e5e8aabf3"),

employee_name: "Dunham, Justin", department : "Marketing",

title : "Product Manager, Web", report_up: "Neray, Graham",

pay_band: “C", benefits : [

{ type : "Health", plan : "PPO Plus" },

{ type : "Dental", plan : "Standard" }

] }

Page 24: Expanding Retail Frontiers with MongoDB

24

Horizontal Scalability

Auto-Sharding

•  Increase capacity as you go

•  Commodity and cloud architectures

•  Improved operational simplicity and cost visibility

Page 25: Expanding Retail Frontiers with MongoDB

25

Multi Platform

http://images7.alphacoders.com/333/333230.jpg  

Page 26: Expanding Retail Frontiers with MongoDB

Polyglot  

Page 27: Expanding Retail Frontiers with MongoDB

27

Shell Command-line shell for interacting directly with database

Polyglot

Drivers Drivers for most popular programming languages and frameworks

> db.collection.insert({product:“MongoDB”, type:“Document Database”}) > > db.collection.findOne() {

“_id” : ObjectId(“5106c1c2fc629bfe52792e86”), “product” : “MongoDB” “type” : “Document Database”

}

Java

Python

Perl

Ruby

Haskell

JavaScript

Page 28: Expanding Retail Frontiers with MongoDB

28

Developer/Ops Savings •  Ease of Use •  Agile development •  Less maintenance

Hardware Savings •  Commodity servers •  Internal storage (no SAN) •  Scale out, not up

Software/Support Savings •  No upfront license •  Cost visibility for usage growth

Cost Efficient

DB Alternative

Page 29: Expanding Retail Frontiers with MongoDB

29

Cost Efficient

Dev. and Admin

Compute – Scale-Up Servers

Storage - SAN

Dev. and Admin

Compute – Scale-Up Servers

Storage - SAN

Page 30: Expanding Retail Frontiers with MongoDB

http://i.smimg.net/13/33/usain-­‐bolt_1.jpg  

Race  for  Talent  

Page 31: Expanding Retail Frontiers with MongoDB

Common Use Cases

Page 32: Expanding Retail Frontiers with MongoDB

32

•  Rich Catalog Management •  Customer Data Management •  Customer Interaction and Sentiment Analysis

•  Digital Coupons •  Inventory Management

•  Demand Chain Optimization •  Real-Time Price Optimization

Use Cases

Page 33: Expanding Retail Frontiers with MongoDB

33

•  Flexibility –  External + Internal

information –  Evolving Product Data –  Different Buying

Process –  Funnels –  Promotions &&

Campaigns –  Hierarchy of Products

and Sections

User Preferences

Product Insights

References

Product Details

Commercial Positioning

Rich Catalog Management

Page 34: Expanding Retail Frontiers with MongoDB

34

•  Multiple Geographies •  Online + Offline •  Engagement Process

•  Preferences •  Permissions

•  Privacy and other regulation

Preferences Permissions

Regional Data Engagements

Customer

Customer Data Management

Page 35: Expanding Retail Frontiers with MongoDB

35

•  Realtime analytics –  Aggregation Framework –  MapReduce

•  KPI calculation –  CTR –  Bounce Rates –  Conversion Rates

•  Automation of Price Margins

•  DSL

Web metrics

Availability

Conversion Rate

•  Per User • Global •  Per Product

•  Inventory • Catalog • Margin

•  Per Section •  Per Unit •  Per Segment

Realtime Price Optimiation

Optimum Price

Page 36: Expanding Retail Frontiers with MongoDB

References

Page 37: Expanding Retail Frontiers with MongoDB

37

MongoDB enables Gilt to roll out new revenue-generating features faster and cheaper

Case Study

Problem Why MongoDB Results

• Monolithic Postgres architecture expensive to scale

•  Limited ability to add new features for different business silos

•  Spiky server loads

•  Dynamic schema makes it easy to build new features

•  Alignment with SOA

•  Cost-effective, horizontal scaling

•  Easy to use and maintain

•  Developers can launch new services faster, e.g., customized upsell emails

•  Stable, sub-ms performance on commodity hardware

•  Reduced complexity yields lower overhead

Page 38: Expanding Retail Frontiers with MongoDB

38

Serves variety of content and user services on multiple platforms to 7M web and mobile users

Case Study

Problem Why MongoDB Results

• MySQL reached scale ceiling – could not cope with performance and scalability demands

• Metadata management too challenging with relational model

•  Hard to integrate external data sources

•  Unrivaled performance

•  Simple scalability and high availability

•  Intuitive mapping

•  Eliminated 6B+ rows of attributes – instead creates single document per user / piece of content

•  Supports 115,000+ queries per second

•  Saved £2M+ over 3 yrs.

•  “Lead time for new implementations is cut massively”

• MongoDB is default choice for all new projects

Page 39: Expanding Retail Frontiers with MongoDB

39

Delivers agile automated supply chain service to retailers powered by MongoDB

Case Study

Problem Why MongoDB Results

•  RDBMS poorly-equipped to handle varying data types (e.g., SKUs, images)

•  Inefficient use of storage in RDBMS (i.e., 90% empty columns)

•  Complex joins degraded performance

•  Document-oriented model less complex, easier to code

•  Single data store for structured, semi-structured and unstructured data

•  Scalability and availability

•  Analytics with MapReduce

•  Decreased supplier onboard time by 12x

• Grew from 400K records to 40M in 12 months

•  Significant cost reductions on schema design time, ongoing developer effort, and storage usage

Page 40: Expanding Retail Frontiers with MongoDB

40

Leading Organizations Rely on MongoDB

Page 41: Expanding Retail Frontiers with MongoDB

How do we help?

Page 42: Expanding Retail Frontiers with MongoDB

42

MongoDB Business Value

Enabling New Apps Better Customer Experience

Lower TCO Faster Time to Market

Page 43: Expanding Retail Frontiers with MongoDB

43

MongoDB Products and Services

Training Online and In-Person for Developers and Administrators

MongoDB Management Service (MMS) Cloud-Based Suite of Services for Managing MongoDB Deployments

Subscriptions MongoDB Enterprise, MMS (On-Prem), Professional Support, Commercial License

Consulting Expert Resources for All Phases of MongoDB Implementations

Page 44: Expanding Retail Frontiers with MongoDB

44

For More Information

Resource Location

MongoDB Downloads mongodb.com/download

Free Online Training education.mongodb.com

Webinars and Events mongodb.com/events

White Papers mongodb.com/white-papers

Case Studies mongodb.com/customers

Presentations mongodb.com/presentations

Documentation docs.mongodb.org

Additional Info [email protected]

Resource Location

Page 45: Expanding Retail Frontiers with MongoDB