a biologically inspired programming model for self-healing systems

12
WOSS 2002 Selvin George 1 A Biologically Inspired Programming Model for Self-Healing Systems Selvin George Computer Science David Evans Computer Science Lance Davidson Biology U N I V E R S I T Y O F V I R G I N I A

Upload: chakra

Post on 24-Jan-2016

21 views

Category:

Documents


0 download

DESCRIPTION

A Biologically Inspired Programming Model for Self-Healing Systems. David Evans Computer Science. Lance Davidson Biology. Selvin George Computer Science. U N I V E R S I T Y O F V I R G I N I A. Self Healing in Nature. Diffusion – Local Communication. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 1

A Biologically Inspired Programming Model

for Self-Healing Systems

Selvin GeorgeComputer Science

David EvansComputer Science

Lance DavidsonBiology

U N I V E R S I T Y O F V I R G I N I A

Page 2: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 2

Self Healing in Nature

Page 3: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 3

Diffusion – Local Communication

Cells are aware of surroundings by sensing chemicals emitted by other cells

Page 4: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 4

Nature’s Programs – Observations

• Aware• Of self• Of environment

• Redundant• Decentralized• Expressive

• Human program – 3 billion base pairs (~250MB)

• Two human programs differ by about 0.5MB (< 1% of Windows 2000)

Page 5: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 5

Our Programming Model

• Similar to cellular automata• Simple chemical diffusion model• Correspondence to biological cells

– Genes turn on and off state changes•Emit different chemicals depending on

state•Change state based on sensed chemicals

– Cells can divide asymmetrically

Page 6: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 6

state s1 { emits (a, 0.1) transitions (0 <= a <= 0.375) -> (s2, s2) axis; -> (s1);}

state s2 { emits (a, 0.1) transitions (0 <= a <= 0.375) -> (s3, s3) normal-X; -> (s2);}

state s3 { emits (a, 0.1) transitions (0 <= a <= 0.375) -> (s1, s1) normal-Y; -> (s3);}

Blastula Progra

ms1

s2

s3

a

a

a

Page 7: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 7

Self-Healing Blastulastate s1 { emits (a, 0.1) transitions (0 <= a <= 0.375) -> (s2, s2) axis; -> (s1);}

state s2 { emits (a, 0.1) transitions (0 <= a <= 0.375) -> (s3, s3) normal-X; -> (s2);}

state s3 { emits (a, 0.1) transitions (0 <= a <= 0.375) -> (s1, s1) normal-Y; -> (s3);}

Kill Cell

Page 8: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 8

Page 9: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 9

Distributed Wireless File Service

File Distribution and Update

Server

replicate

inhibit

Page 10: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 10

Distributed Wireless File Service

File Distribution and Update

Page 11: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 11

Purple Nodes – store File 1

Concentric Circles– Inhibit/Replicate

Green Circle– File Request

White Circle– Server Response

DWFSSimulatio

n

Page 12: A Biologically Inspired Programming Model for Self-Healing Systems

WOSS 2002 Selvin George 12

Mantra

• Biology has killed trillions of organisms over millions of years to solve complex engineering problems

• Engineers should be able to learn from these solutions

• Simulator available: http://swarm.cs.virginia.edu/cellsim