BIG THING Jyoti Bansal, Founder and CEO AGENDA 1 0 1 0 1 0 1 1 0 - - PowerPoint PPT Presentation

big thing
SMART_READER_LITE
LIVE PREVIEW

BIG THING Jyoti Bansal, Founder and CEO AGENDA 1 0 1 0 1 0 1 1 0 - - PowerPoint PPT Presentation

THE NEW GENERATION OF ENTERPRISE JAVA & .NET DESIGNING FOR THE NEXT BIG THING Jyoti Bansal, Founder and CEO AGENDA 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 Cloud 1 0 1 0 1 0 1 Big Data DevOps Managing Failure OPS Dev


slide-1
SLIDE 1

THE NEW GENERATION OF ENTERPRISE JAVA & .NET

DESIGNING FOR THE NEXT

BIG THING

Jyoti Bansal, Founder and CEO

slide-2
SLIDE 2

Dev

OPS

1 0 1 0 1 0 1

Cloud Big Data DevOps Managing Failure

AGENDA

1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1 0 1

slide-3
SLIDE 3

MONOLITHIC JAVA APPS

Web Server App Server Database Web Server Web Server Web Server Web Server App Server App Server App Server App Server
slide-4
SLIDE 4

MONOLITHIC #FAIL

  • Large Retail

Organization

  • Apache, Tomcat

& Oracle

  • Peak Season
  • Zero Fault

Tolerance

slide-5
SLIDE 5

MODERN DISTRIBUTED SERVICES

Database Web Java Database Java Database Java Database ESB SOAP Portal Inventory Payment Shipping Order Processing Service Bus Java Confirm Order
slide-6
SLIDE 6

DISTRIBUTED #FAIL

  • Large Telco

Organization

  • Apache, Weblogic,

Web Services & Oracle

  • New Product Launch
  • Shared Service

couldn't handle traffic

slide-7
SLIDE 7

DISTRIBUTED LOOKS NICE!

slide-8
SLIDE 8

COMPLEX TO MANAGE

slide-9
SLIDE 9

STAIRWAY TO HEAVEN OR HELL?

Mainframe Client Server Monolithic Distributed

Cloud

slide-10
SLIDE 10

NEXT GEN DISTRIBUTED JAVA APPS

NoSQL Database Web Java Database REST ESB Portal Billing Online Services CRM Service Bus Java

SaaS Private

Java Java Web Web

PaaS

Java Java Java Java Java Java Java Database Order Management

Private

Database NoSQL Data Warehouse/BI NoSQL Map/Reduce

Private

NoSQL Java Java Cache PC Tablet SmartPhone Car Java Java
slide-11
SLIDE 11

BIG DATA

01010110

Dev Dev Dev Dev
slide-12
SLIDE 12

WHAT IS BIG DATA?

  • Too big to store,
  • rganize and analyze
  • GB’s, TB’s or PB’s
  • Parallel Processing of

raw data

  • Make sense of

unstructured data

  • Competitive edge for

the business & apps

slide-13
SLIDE 13

FINDING PATTERNS

slide-14
SLIDE 14

WHO AND WHAT?

  • Linkedin.com - people you

might know

  • AOL.com - behavioral analysis

& targeting

  • Beebler - matching people
  • EBay - search optimization
  • PokerTableStats - analyzing

poker players history & stats

slide-15
SLIDE 15

WHY NOW?

  • Computing power is

accessible and cheaper

  • Technology like Map/Reduce

(Hadoop) exist

  • Possible to get answers in

mins/hours vs. days

  • Applications can exploit this

intelligence

slide-16
SLIDE 16

BIG DATA = BIG CHOICES

slide-17
SLIDE 17

WHAT DOES THIS MEAN FOR DEV AND OPS?

slide-18
SLIDE 18

DEVOPS RESPONSIBILITIES

Network Storage Server Virtualization OS Run-Time Data Application Network Storage Server Virtualization OS Run-Time Data Application Network Storage Server Virtualization OS Run-Time Data Application

Today Tomorrow Future Dev Ops

slide-19
SLIDE 19

DEVOPS RESPONSIBILITIES

Agile Dev creates Change Ops wants less Change

slide-20
SLIDE 20

HOW DOES THIS WORK IN OTHER INDUSTRIES?

slide-21
SLIDE 21

2011 FORMULA 1 WORLD CHAMPION SEBASTIAN VETTEL

slide-22
SLIDE 22

FORMULA 1

Being agile and managing change.

slide-23
SLIDE 23

CHANGE ISN’T EASY

slide-24
SLIDE 24

AGILE TEAM WORK

  • Cars Evolve
  • Up to 30 new parts

per race

  • Engineering
  • Aero, Engine,

Transmission, ....

  • Operations
  • Mechanics,

Telemetry, Pit Crew

slide-25
SLIDE 25

FI DEV LIFECYCLE

Engineers work hand in hand with Operations. Develop Test Support Deploy Design

Race Weekend
slide-26
SLIDE 26

MONITOR & MANAGE CHANGE

Fast Slow Fail

slide-27
SLIDE 27

MEASURE CHANGE

  • Why were we fast/slow/

useless?

  • What new parts worked/

didn’t work?

  • Where did we find time?
  • What areas can we

improve?

slide-28
SLIDE 28

WHAT CAN WE LEARN FROM F1?

#1 Teamwork & Communication #2 Monitor & Manage Change #3 Measure Success

slide-29
SLIDE 29

DEVOPS COLLABORATION

  • Change isn’t the Enemy
  • Lack of Alignment is
  • Monitor Change to Manage It
  • Innovate > Fail > Learn > Succeed
slide-30
SLIDE 30
  • Written by humans
  • Get it to work then make it fast
  • QA is dull and painful
  • Too many points of failure
  • Agile amplifies change
  • Operations aren’t app experts
30
slide-31
SLIDE 31
  • If Application is Down or Hung
  • 1. Reboot the JVM (Ops)
  • 2. Check JVM console logs (Ops)
  • 3. Analyze thread dumps (Dev)
31
slide-32
SLIDE 32
  • If Application is Slow
  • 1. Check OS processes & resource (Ops)
  • 2. Check JVM Metrics (Dev)
  • 3. Check application logs (Dev)
  • 4. Try to re-produce in Test (Dev)
  • 5. Optimize everything (Dev)
32
slide-33
SLIDE 33

When End Users complain they don’t say:

I think my threads were suffering from synchronization, can you check that for me?

v

I’m a little worried about my objects and that damn garbage collection

33
slide-34
SLIDE 34

End Users normally say something like: It’s about Business Activity “My order confirmation failed” “I can’t retrieve customer records” “My credit card payment timed out”

34
slide-35
SLIDE 35 35
slide-36
SLIDE 36

Visualize your Application... …and Business Transactions.

36
slide-37
SLIDE 37

Identify what is abnormal. Focus on what to optimize.

(3% rule)

37
slide-38
SLIDE 38

Track the Business Transaction flow. Isolate where to optimize.

Order Confirmation 9.778 ms

38
slide-39
SLIDE 39

See Diagnostics for Slow Transaction.

Order Confirmation 9.778 ms

Code Call Graph JVM Metrics Log Files 39

Optimize!

slide-40
SLIDE 40

Verify Optimization. Stop Optimization!

Order Confirmation Before 9.778 ms After 3.345 ms

40
slide-41
SLIDE 41

SUMMARY

  • Design for Failure
  • Use Cloud for agility

not cost

  • Exploit Big Data &

Real-time analytics

  • Monitor, Manage and

Measure Change