See the video here: https://vimeo.com/131631801
IoT projects are really integration projects. This talk introduces Sesam and Data Oriented Architecture, useful for IoT, Micro Services, Master Data Management. Why DOA is better than SOA, and a new way of thinking! The talk will become available on Vimeo soon. I realize that the "SOA is dead commandment" is provocative. SOA is not dead but lacking when implemented with canonical data model. Perhaps we should make a Sesam manifesto instead, with "we value X over Y"
âĽđ 7737669865 đâť Mathura Call-girls in Women Seeking Men đMathurađ Escorts...
Â
Hafslund AMS - Drinking from the fire hose at a large IoT project
1. Hafslund AMS
Drinking from the fire hose
at a large IOT project
Jon Andreas Pretorius, Hafslund Nett
Axel Borge,Sesam
Simen Sommerfeldt, Bouvet
to NDC 2015
4. â˘âŻ Hafslund Nett owns and operates Norway's largest
electricity grid and has long had one of the lowest net
rents
â˘âŻ Hafslund Nett owns and operates the regional grid in
Oslo, Akershus county and Ăstfold county
â˘âŻ Hafslund Nett owns and operates the distribution network
in Oslo and most of Akershus and Ăstfold counties
â˘âŻ Number of distribution network customers are 675,000
â˘âŻ The network consists of 37,000 km overhead lines and
underground cables
â˘âŻ Hafslund Driftssentral is one of Europe's most advanced
operating centers, that controls, monitors and optimizes
power to 1.4 million people, Hafslund Varme's district
heating plants in the Oslo area and Hafslund Produksjon's
power plants in Glomma
Business Area Network
s.4
6. There will be more changes to the power grid
operation the next five years than the 100 last
years
1899 1911 2011 2020
?&
7. Changes in regulations will increase complexity
significant and increase demand for automation
s.7
35 000 enkle fjernavleste mĂĽlere
Ă rlig driftskost pr mĂĽler: ca 950
700 000 komplekse fjernavleste
mĂĽlere
Har i dag buffer for feilretting.
Stort sett bare ifm mĂĽler-
avlesning at programmet er tett
Ă rlig driftskost pr mĂĽler: 150
Alt online og ingen buffer eller
servicevindu. Alt mĂĽ alltid vĂŚre
tilgjengelig. Kan illustreres ved ĂĽ
tenke at det var mĂĽleravlesning
hver dag hele døgnet
IT er i liten grad en trussel for
omdømme
Hacking, virus mm vil utgjøre en
mye større trussel generelt og
mĂĽlere vil kunne hackes
Kompleksitet høy, men vi reddes
av rolige perioder
Kompleksitet vil vĂŚre betydelig
høyere og konstant
I dag 2020
AMS
elHUB
Kundens forventning som i 1990
Hvordan vil kundens forventning
endres?
9. s.9
Elhub and the supplier centric model
ElHub
Statnett has been commissioned by NVE to establish
Elhub.
Elhub shall collect all metering values for Norway and
makie these values available for power suppliers and
their end customers. Furthermore Elhub will support
processes for customers moving or switching suppliers,
and compile data for clearing between participants in
the electricity market
For Hafslund Nett this means that collected and verified
hour ly values from all AMS meters shall be transferred
to ElHub once a day
When vthe supplier centric model is established ,
customers will only deal with the electricity company
(example service and infrastructure provider of mobile
telephony)
The supplier centric model creates major changes in
business processes and data exchange in the industry
Drawing from elhub.no
10. s.10
System&D& System&âŚ&
System&C&System&B&System&A&
System&N&
Hafslund investigated two
alternative solutions for
integration architecture that will
support the demands of new
AMS solution;
-⯠ServiceBus
-⯠Data hub(Semantic/RDF)
Hafslund has experience with
both solutions, but the project
consider a Data Hub based
solution most appropriate in this
context;
-⯠Increased stability
(asynchronous data
exchange)
-⯠Fewer integration points
-⯠Similarly architecture chosen
for central El Hub
DataNAV&
Choice$of$integra/on$solu/on
11. s.11
IFS$ERP$
Warehousing&&&
Logis1cs&
Project&module& WO7module& 360Âş&Scheduling&
New&ďŹeld&system&
Economy&installa1on®istry&
Documenta1on&
HR/resource&
Rollout$
AMS$
Opera/ons$
AMS$
Stage&Planning&and&
monitoring& Assign& Start&& Perform& Report&
Project,)Opera-ons,)
Maintanance)excis-ng)
Recep1on&7&
withdrawals&goods&
Data&Hub&
GeoNIS&
#installa1on&
Quant&
#AMS&&
Generis&
#old&meters&
CAB&
#Customer&&
Datawarehouse&/&
archive&
Consolidated&customer&and&
installa1on&data&from&Data&hub&
Data&sources&for&
rollout&
Data&Recipients&
rollout&
Historical&data&archive&
and&analysis&
Integration engine
All masterdata is
consolidated in
Data Hub
Data Hub is the
only source for all
business
applications
In the semantic
data base all data
are connected
Data Hub provides
great potential for
management of the
information model
and analysis
Established$applica/on$solu/on$design
30. Convert data to triplets - RDF
ID Name Position Born E-mail Manager
101 Tim Berners-
Lee
Programmer 08061955
timbl@w3c.org 958
958 Vint Cerf Inventor 23061940 vint@stanford.edu 999
765 PĂĽl Spilling Professor 04111940 pspilling@uio.no 765
Subject Predicate Object
101
101
101
101
Type Person
Name
Position
Born
E-mail
Manager
101
timbl@w3c.org08061955 958ProgrammerTim Berners-Lee101
31. Universally unique identifiers
Subject Predicate Object
www.org.no/data/system/person/1 Type Person
www.org.no/data/system/person/1 Name Tim Berners-Lee
www.org.no/data/system/person/1 Position Programmer
www.org.no/data/system/person/1 Manager www.org.no/data/system/person/2
www.org.no/data/system/person/2 Name Vint Cerf
www.org.no = Unique organisation on the internet
www.org.no/data/system/person/1 = unique id of the information element
37. HR Dest
SDShare
Source
HUB
â˘âŻ Based on Atom: Pull data, donât push
â˘âŻ Asynchronous
â˘âŻ Subscribers ask for data that has changed
since the last time
â˘âŻ Update frequencies are adjustable
â˘âŻ You can ask for changes or the whole dataset
â˘âŻ Data formats changed in transfer.
43. Kafka for extra throughput
SDShare'Server'
KaDa'
Provider'
RDF'Store'
KaDa'Queue'
The Kafka Provider Pulls Information off from the Queue and can add
extra data from the RDF store before exposing it out via SDShare. It can
also apply filters based on data in the hub or the item on the queue.
44. â˘âŻ SQL Databases via jdbc
â˘âŻ CSV files
â˘âŻ RDF triple stores
â˘âŻ Sharepoint
â˘âŻ Kafka
â˘âŻ XML files
â˘âŻ LDAP providers
â˘âŻ Excel files
â˘âŻ MS Exchange server (mail and calendar)
â˘âŻ SDSHARE â anything! (MongoDB, etc)
Data sources and sinks
46. Data Analytics & Enhancement Existing Systems
Processes Search and Reporting
All Data Indexed
Contribute data
Drive process through
state change
Models in data,
Constraints in data
Act on all data
Analytics results are
just more data
Complete
views of all
systems and
processes
Use Data
All people can ask
all questions
U
niform
ly
Structured
data
from
heterogeneous
sources
System Improved
47. Other systems can keep running
even if one is down. And you
can upgrade a system or install
a new with fewer impacts
48. The customer controls the
information model and
becomes more independent
from vendors
50. 1.⯠Thou shall only get data from other domains through Sesam
2.⯠SOA is dead, long live DOA. Processes advance through state changes
3.⯠There can never be a common data model in the company
4.⯠Thou shall never query Sesam directly, but through SDSHARE
5.⯠Thou shall be comfortable with eventual consistency
6.⯠Thou will always get the same answer when you ask Sesam the same
question. And Sesam can say the same things many times
7.⯠The world is asynchronus, as is Sesam. Donât try to shoehorn synchronicity
8.⯠Thou shall embrace that data can have different sources/master and values
9.⯠The systems need not know about Sesam
10.⯠Sesam is not a backup.
The Commandments of Sesam
51. â˘âŻ Runs in Docker containers
â˘âŻ Github and Saltstack are used to keep all
installations up-to-date
â˘âŻ At the core: Virtuoso Triple Store
â˘âŻ Includes a data browser
â˘âŻ Indexed with SOLR to provide universal search
â˘âŻ All communication happens with SDSHARE
â˘âŻ Configuration over coding
Sesam tech
52. A paradigm shift for developers
â˘âŻ Eventual consistency
â˘âŻ âPilferingâ of data
â˘âŻ RDF and SDShare
â˘âŻ Sparql is not SQL
â˘âŻ Idempotence: Sesam
can send duplicates
â˘âŻ No RPC calls or
message passing
â˘âŻ You need an information
architect in the project
â˘âŻ Don´t add more queues.
55. A recap of the requirements
â˘âŻ Massive amounts of data
â˘âŻ Many systems must be coordinated
â˘âŻ Many stages in the deployment, with changing
needs
â˘âŻ Systems will be upgraded and changed
â˘âŻ The systems were not designed to cooperate with
each other
â˘âŻ Bugs and errors happen â in systems and human
actions.
68. When to use Sesam
â˘âŻ When all else is tried â you are f***ked
â˘âŻ If you have many domains in the company
â˘âŻ If your integration work involves a lot of
data transformation, lookup and
conversion
â˘âŻ If the logic in the ESB rivals that of the
systems
â˘âŻ For Internet of things projects
â˘âŻ As a collector for big data projects
70. Want to know more?
â˘âŻ contact us at info@sesam.no and we will
help you get started
â˘âŻ www.sesam.no
â˘âŻ www.sdshare.org
71. â˘âŻ Anders Volle
â˘âŻ StĂĽle Heitmann
â˘âŻ Steinar Rudsar
â˘âŻ Axel Borge
â˘âŻ Ăystein Isaksen
â˘âŻ Graham Moore
â˘âŻ Lars Marius Garshol
â˘âŻ Steinar Rune Eriksen
Thanks to...