Top Banner
sMART Store of Cypher-Annotated microservices Building a sMART API Store on a Neo4j Recommendation Engine Stefan V Ianta servi sMART & Ianta Labs @v_ianta Self-assembling Wires Stanford Complexity Group www.youtube.com/watch?v=PeHWqr9dz3c microServices Market Worldwide
28

sMART Store of Cypher-Annotated Microservices

Jan 26, 2017

Download

Technology

Stefan Ianta
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: sMART Store of Cypher-Annotated Microservices

sMART Store of

Cypher-Annotated

microservicesBuilding a sMART API Store on a

Neo4j Recommendation Engine

Stefan V Ianta

servi sMART & Ianta Labs

@v_iantaSelf-assembling Wires

Stanford Complexity Group

www.youtube.com/watch?v=PeHWqr9dz3c

microServices Market Worldwide

Page 2: sMART Store of Cypher-Annotated Microservices

sMART Store of

Cypher-Annotated

microservicesBuilding a sMART API Store on a

Neo4j Recommendation Engine

Stefan V Ianta

servi sMART & Ianta Labs

@v_ianta

Thank You

IBM / SoftLayer

Neo Technology

Atlassian / JIRA

Page 3: sMART Store of Cypher-Annotated Microservices

EngineSearchservi.ca

Services as Verbs

Page 4: sMART Store of Cypher-Annotated Microservices

EngineSearchservi.ca

Services as Verbs

Page 5: sMART Store of Cypher-Annotated Microservices

EngineSearch

Page 6: sMART Store of Cypher-Annotated Microservices

EngineRecommendation

Page 7: sMART Store of Cypher-Annotated Microservices

Marketmicroservices

optimal solutions

https://en.wikipedia.org/wiki/Smart_market

Page 8: sMART Store of Cypher-Annotated Microservices

Agile X Change

Context Change Management

Agile Project Management

Story | Change | Service

Confluence | JIRA/Agile | GitHub

Solutions = Σ Services

Optimal Software generation

Optimal Business workflows

Smart Market of Services

servi.ca

Page 9: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs

Initial Business Context – Data & Code – Entities/Roles & Processes

ClientsRulesRivals

Code

MetaData

Plans

Data Team

Sales

Bank

Skills

CONTEXT

Page 10: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs

Final Business Context – Data & Code – Entities/Roles & Processes

ClientsRules

Rivals

Codes

Meta-Data

Plan

DataTeam

Sales

Money

Skills

CONTEXT

Page 11: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs

Epic / Story / Change = (Initial Context, Services, Final Context)

Change

Service = (Initial Context Pattern, Microservices, Final Context Pattern)

Microservice = (Input Query, Function, Output Query)

Page 12: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs

Project = Sum (Services)

Service 1

Service 2

Service n

Page 13: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs

Solution = Sequence (Services)

Service nService 1

Page 14: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs

Optimization & Innovation by Ranking Service Paths/Traversals

Service n

Service 1

Page 15: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs15

Iterator Microservicefor (int i = 0; i < dimX; i++) {

p[i] = db.createNode(pixel);}

Antlr4 View Neo4j View

Page 16: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs

Data Graph + Code Graph = Project Graph

Page 17: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs17

Solution=

Path

Target Context

Metadata

Data

Software

Initial Context

Metadata

Data

Software

Software & Biz Process Development is a Solution Search Process

Initial Context / Code Target Context / CodeChanges

Transformation

Page 18: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs18

Expanding Service Recommendation Engine into an Solution Build & Rank Engine

AdWordsAdvertisersPay Per Click

AdSenseWeb MastersPay Per Click

Internet Pages SearchInternet UsersOne question/search

MicroservicesProgrammers

Pay Per Use

Cypher AnnotationsBusiness AnalystsPay Per Use

Budgeted ProjectsProduct ManagersPay Per Use

Page 19: sMART Store of Cypher-Annotated Microservices

Types of Changes:

Create, Read, Update, Delete

Growing Abstract Syntax Tree from Business Model Graphs

Uber ( Services ) | path from current context to destination

Neo4j ( Services ) | find the services covering the Delta

Similarity with Git processes

Stage ~ Extract Input vars from Business Data Graph

Commit ~ Insert AST statement(s) into file AST

Branch ~ Automatic logical branches

servi.ca

Coding Algorithm with Cypher annotated microservices

Ianta Labs

https://www.youtube.com/watch?v=YGhSDV7nrtw

Page 20: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs20

Page 21: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs21

Workflow Solutions: Solving The 3 Recipients Problem

Page 22: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs22

Workflow Solutions: Solving The 3 Recipients Problem

Page 23: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs23servi.ca

Page 24: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs24servi.ca

Confluence JIRA / Agile BitbucketGitHUB

Page 25: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs25

Workflow Solutions: Solving The 3 Recipients Problem

Page 26: sMART Store of Cypher-Annotated Microservices

Graph Reactor / Ianta Labs26

Implementation Steps

• Translate existing APIs into Microservices / Coders + DevOps• Annotate microservices with Cypher queries / BAs• Define projects including test queries / Product Managers / BAs• Build a Service compiler or join a Service Smart Market – Servi.ca

Page 27: sMART Store of Cypher-Annotated Microservices

Summary

Agile Service Exchange

Growing parse trees from business model data

Solving a Simple Workflow Problem

Smart markets of services

servi.ca

DNA Code Self-Replication

YourGenome.org

www.youtube.com/watch?v=TNKWgcFPHqw

Self-assembling Wires

Stanford Complexity Group

www.youtube.com/watch?v=PeHWqr9dz3c

Page 28: sMART Store of Cypher-Annotated Microservices

Q & A

Stefan Ianta

@v_ianta

servi.ca

https://ca.linkedin.com/in/stefanianta

http://www.slideshare.net/StefanIanta/evolutionary-

design-patterns-for-software-development

servi.ca

DNA Code Self-Replication

YourGenome.org

www.youtube.com/watch?v=TNKWgcFPHqw