Dublin Microservices Meetup 31st March 2015

46
software simulated memories machines William louth

Transcript of Dublin Microservices Meetup 31st March 2015

Page 1: Dublin Microservices Meetup 31st March 2015

software simulated

memories machines

William louth

Page 2: Dublin Microservices Meetup 31st March 2015

context context

Page 3: Dublin Microservices Meetup 31st March 2015

Cognizant Computing

Page 4: Dublin Microservices Meetup 31st March 2015

Cognizant machines

Page 5: Dublin Microservices Meetup 31st March 2015

cause effect

microservices

mobile & IoT

continuous delivery

many more small actions

many more small changes

many more small systems

consolidation

recollection

observation

mirror and simulate

Probe and measure

record and playback

Page 6: Dublin Microservices Meetup 31st March 2015

seeing seeing

Page 7: Dublin Microservices Meetup 31st March 2015

service

command coordinate

service

service call

service

event notify

action

service

servicepercept

Page 8: Dublin Microservices Meetup 31st March 2015

☯event

action percept

call

Perception developed from action to serve action

shaped by learning, memory, expectation, and attention

Page 9: Dublin Microservices Meetup 31st March 2015

stack sequence

a

b

c

d

top

call depth d c b a

begin begin begin begin first

event stream

Page 10: Dublin Microservices Meetup 31st March 2015

pop add

a

bcall

depth

C Dend end

event stream

Page 11: Dublin Microservices Meetup 31st March 2015

memories memories

Page 12: Dublin Microservices Meetup 31st March 2015

life without memory would be close to impossible

software has memory but no memories

Page 13: Dublin Microservices Meetup 31st March 2015

human memory

sensory memory

short-term memory

long-term memory

explicit memory

implicit memory

declarative memory

procedural memory

episodic memory

semantic memory

events experiences

facts concepts

skills tasks

memory models

Page 14: Dublin Microservices Meetup 31st March 2015

remembering eventually

Page 15: Dublin Microservices Meetup 31st March 2015

Deckard “Memories!

You're talking about memories!”

UNICORN DREAMS

blade runner

Tyrell “If we gift them with a past,

we create a cushion or a pillow for their emotions,

and consequently, we can control them better.”

Page 16: Dublin Microservices Meetup 31st March 2015

time time

Page 17: Dublin Microservices Meetup 31st March 2015

time’s arrow is straight with one exception being remembrance

the reality of the mind is at least as important as the physical reality

time less

Page 18: Dublin Microservices Meetup 31st March 2015

Do not try and bend the spoon—that’s impossible.

time now

Instead, only try to realize the truth. There is no spoon.

Page 19: Dublin Microservices Meetup 31st March 2015

software mirroring

demo

simulated playback

Page 20: Dublin Microservices Meetup 31st March 2015

mind mind

Page 21: Dublin Microservices Meetup 31st March 2015

cognition is strongly influenced by aspects of the

body beyond the brain

The function of the mind is to guide action

Page 22: Dublin Microservices Meetup 31st March 2015

every good regulator of a system must be a

model of that system

All doing is knowing and all knowing is doing

Page 23: Dublin Microservices Meetup 31st March 2015

We form predictions…and explanations of someone by putting……ourselves in the shoes

of another person…..and simulating them

Page 24: Dublin Microservices Meetup 31st March 2015

motion motion

Page 25: Dublin Microservices Meetup 31st March 2015

Act

agent

agency

scenepurpose

attitude

LIFE DRAMA

Page 26: Dublin Microservices Meetup 31st March 2015

ACT What was done?

SCENE Where was it done?

Agent Who did it?

Purpose Why did it happen?

Agency how was it done?

DRAMATISM PROFILINGWHAT CRIME (ACT) COMMITTED

WHERE SCENE WHERE IT HAPPENED

WHEN TIME ACT TOOK PLACE

WHO AGENT (ACTOR)

WHY MOTIVE (INTENT)

HOW PERFORMANCE (ACTION)

Page 27: Dublin Microservices Meetup 31st March 2015

activity metering

Activity Resource

Device Probe Meter

Develop Code Counter

Design Behavior Usage

Data Group Metering

Page 28: Dublin Microservices Meetup 31st March 2015

Context+Thread

Probe =Code

MeteringMeter+Resource

actoractivity

begin event end event

call

act(ion)

execution metering

Page 29: Dublin Microservices Meetup 31st March 2015

Actor Activity

Context

Coordinate

Event

Environment

Resource

Page 30: Dublin Microservices Meetup 31st March 2015

motion picture

Page 31: Dublin Microservices Meetup 31st March 2015

monitoring monitoring

Page 32: Dublin Microservices Meetup 31st March 2015

Application #1

The view the service provider has of the infrastructure and applications.

Application

The view a PaaS vendor or managed service provider offers to customers.

Application

The view a customer needs of applications deployed to PaaS.

Infrastructure Infrastructure

Application #2

Application #3

cloudy visibility

Page 33: Dublin Microservices Meetup 31st March 2015

010101010101010101

01010101010

010101010101010101

010101010101

010101010101010

010101010

01010101010

0101010101010

010101010101010101

0101010101010

01010101

010101010

010101010101010101

01010101010

010101010101010101

010101010101

010101010101010

010101010

0101010101010

010101010101010101

0101010101010

01010101

010101010

010101010101010101

01010101010

010101010101010101

010101010101

010101010101010

010101010

01010101010

0101010101010

010101010101010101

0101010101010

01010101

010101010

010101010101010101

01010101010

Threads

0101

01010

0101010

0101

Simz

Thoughts Thoughts Thoughts Threads

0101

01010

0101010

0101

Simz

Threads

0101

01010

0101010

0101

Simz

users apps

mirrored machine

Page 34: Dublin Microservices Meetup 31st March 2015

Infrastructure

Application #1

Customer Dev(Ops) & Test

Teams

Mirroring & Simulation

Simz Service

Single Application Monitoring

Plane

Metering Feed

UnidirectionalApplication #2

Application #3

mirror isolate

Page 35: Dublin Microservices Meetup 31st March 2015

Infrastructure

Application #1

Security & Auditing

Mirroring & Simulation

Simz Service

Simulated Application

Metering Feed

UnidirectionalApplication #2

Application #3

Business Analytics & Integrations

Service Level Management

API

API

mirror augment

Page 36: Dublin Microservices Meetup 31st March 2015

collective intelligence

post-execution augmentation

demo

Page 37: Dublin Microservices Meetup 31st March 2015

ping pong

simz playback

satoris agent

simz client

Precept

game

Precept

set state

metered activity

replicate action

simz server

satoris agent

simz playback

metering engine

simz server

Precept

game

Precept

set state

metered activity

simz client

simulate action

simulate action

replicate action

metering feed

ping

Pong

action > pingprecept < pong

pong < actionping > precept

Page 38: Dublin Microservices Meetup 31st March 2015

PING PONG

SEEING MINDS

demo

Page 39: Dublin Microservices Meetup 31st March 2015

POSSIBILITIES POSSIBILITIES

Page 40: Dublin Microservices Meetup 31st March 2015

mini-me computing

real application

process

heap

IOthreads

code

probes

stacks

threads

probes

stacks

mirrored application

process

isolation

metered behavio

r

diagnostics supervision ————————

signaling symbiosis

episodic memory

crash report

Page 41: Dublin Microservices Meetup 31st March 2015

anytime computing

online

application

mirroring

offline

recording playback

integrations

integrations

service monitoring security & auditing

workflow integration

change detection software analytics post augmentation

time

simulation

simulation

Page 42: Dublin Microservices Meetup 31st March 2015

in-flight simulator

playback

OK trouble trouble

crash

timelinex x

“total recall” for devops deviation deviation

Page 43: Dublin Microservices Meetup 31st March 2015

polyglot universe

mirrored application

process

isolation

metered behavio

r

episodic memory

scala

java

ruby

javascript

java plugins ————— probes

open api

Page 44: Dublin Microservices Meetup 31st March 2015

FINALLY FINALLY

Page 45: Dublin Microservices Meetup 31st March 2015

SCRIPT RECALL

simulates & playbacks software behavior

simulates & playbacks

request data

data does not scale

✉️✉️✉️✉️

540 million

events/sec

coupled to code

& version

there is no code

only action

what was actioned

what was asked

can dreamzzzzzzzz

immutablerollback

Page 46: Dublin Microservices Meetup 31st March 2015

@autoleticsfollow