SlideShare a Scribd company logo
1 of 37
Download to read offline
#SENDSummit17
Il viaggio di un’architettura:
dal monolite ad un ecosistema di API ed eventi
Ernesto Colombo, Head of Engineering – Contactlab
Luca Cipriani, CIO - Arduino
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 2
API, event driven and near real time ingestion platform
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Team a raccolta
3
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 4
2017 – Architettura
Riuscite a leggere lo schema?
Allora avete superpoteri
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 5
L’evoluzione 2015 – 2017[8]
Applicazione per la distribuzione
di messaggi digitali
Piattaforma per la raccolta,
raffinazione e utilizzo dei dati
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Cosa intendiamo per dati
6
Miss Piggy
Il contatto
Miss Piggy
piggy@muppet.com
Ha comprato la borsetta #123
Ha visitato la pagina http://muppet.com
Ha cliccato il link #345 nella mail #234
Ha aperto la mail #234
Le è stata inviata la mail #234
Socio-demo
Eventi
Tempo
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 7
2001 – 2015: c’era una volta l’email service provider
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 8
Send Web UI
Handler/Datalab
API Legacy
Engine
DB Legacy
C’era una volta
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 9
Kermit
l’utente
della
piattaforma
Miss Piggy
Il contatto
Miss Piggy
piggy@muppet.com
Cliccato link
Mail aperta
Mail inviata
Dr. Stranasetola
Data scientist
Tempo
C’era una volta
9
Send Web UI
Handler/Datalab
API Legacy
Engine
DB Legacy
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 10
The thinker
Quali sono limiti i
architetturali e funzionali?
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Quali sono limiti i
architetturali e funzionali?
11
Integrazione su DB
– Interazioni nascoste
– Unico pattern persistenza
– Difficilmente estendibile
Eventi persi
Non totalmente aperta
Poco intelligente
Poco automatizzabile
DB Legacy
Send Web UI
Handler/Datalab
API Legacy
Engine
Kermit
l’utente
Miss Piggy
Il contatto
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
The thinker
12
The Doer
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 13
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
14
2017[8]: la nuova archittetura
Data River
• Enrich
• Analyze
• Visualize
• Segment
• Plan
OAuth
Public
REST
API
• Gather
• Aggregate
• Send• Deliver• Automation
• Activate
• Automate
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
1. Miss Piggy e l’ecommerce
15
Data River / Data Lake
Miss Piggy
piggy@muppet.com
Profilo Miss Piggy
Tempo
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
2. Miss Piggy fa shopping
16
Data River / Data Lake
• Send
Miss Piggy
piggy@muppet.com
Transazione #1
Transazione #2
Transazioni #1 e #2
Tempo
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
3. Data in azione
17
Data River / Data Lake
Miss Piggy
piggy@muppet.com
Transazione #1
Transazione #2
High Spender
Enrichment: Miss Piggy è un High Spender
Tempo
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
4. Flow in azione
18
Data River / Data Lake
Miss Piggy
piggy@muppet.com
Transazione #1
Transazione #2
High Spender
Mail #1 inviata
One Page
App UI’s
Mail #1 inviata
Tempo
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Mail #2 inviata
5. Plan in soccorso
19
Data River / Data Lake
Miss Piggy
piggy@muppet.com
Transazione #1
Transazione #2
High Spender
Mail #2 inviata
Mail #1 inviata
One Page
App UI’s
Tempo
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Transazione #3 Mail #2 aperta
20
Data River / Data Lake
Miss Piggy
piggy@muppet.com
Transazione #1
Transazione #2
High Spender
Transazione #3
Mail #2 inviata
Mail #1 inviata
One Page
App UI’s
Mail #2 aperta
6. Finalmente Miss Piggy torna a comprare
Tempo
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Integrazione su DB
– Interazioni nascoste
– Unico pattern persistenza
– Difficilmente estendibile
Interazioni invisibili
Non totalmente aperta
Poco smart
Poco automatizzabile✓ Programmabile
DB Legacy
Send Web UI
Handler/Datalab
API Legacy
Engine
Kermit
l’utente
Miss Piggy
Il contatto
Limiti superati?
21
Data River / Data Lake
✓ Event-driven
✓ Interfacce esplicite
✓ Poliglotta nella persistenza
✓ Modulare
✓ Raccoglie tutti gli eventi
✓ Aperta e API-first
✓ Comincia a ragionare :)
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Il panorama è bello qua su
22
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 23
C’è molto di più…
Organizzazione
– Architettura e organizzazione
– Adozione agile
Architetture
– Automazioni infrastruttura
– Servizi fat vs micro
– Logging, monitoring
API REST
– Documentazione
– Design
Sviluppo
– Continuous delivery
– Test driven development
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 24
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17 25
ARDUINO Single Sign On
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Il problema
Più di 15 siti in produzione
Ciascun sito con il proprio header/footer
Database utenti non uniforme
I siti di Arduino collezionano più di 120M di utenti unici l’anno.
Arduino.cc è uno dei top 3000 websites al mondo.
26
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Gli utenti dovevano loggarsi più
volte sui vari siti (seppur con le
stesse credenziali)
La UI dei siti era leggermente
diversa
I designer pixel perfect
diventavano paranoici
UI/UX needs
27
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Se devi farlo più di due volte,
automatizzalo
Ogni modifica all’header o al
footer richiedeva la modifica su
tutti i siti
Stima per aggiungere una menu
entry 16h di sviluppo
Lazy Developers
28
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Unire le esigenze dei designer,
degli utenti e degli sviluppatori
Avere una singola sorgente
dell’html
Semplificare la manutenzione
Consentire rapide modifiche ai
siti
Avere una pagina profilo utente
unificata
SSO + UI Unificate
29
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Compatibilità Oauth2
Supporto per app client side only (Angular.js)
Sicurezza
REST API server to server
Un solo DB per tutte le info utente (store, sito, blog, forum)
NoSQL DB
Login flow standard
Pianificazione
30
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Leggere tutte le specifiche Oauth2 (ad esempio Jasig non implementa
l’implicit flow)
rfc6749
REST API jwt, temporary token
Captcha, recaptcha, nocaptcha
Accessi dalla Cina
Studio
31
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Libreria JS async
HTML injection
Responsive design
Supporto multilingua
Mostra/Nascondi elementi
Carrello su tutti i siti
REST API per carrello,
avatar, auth flow
Implementazione
32
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
CDN
Auto deploy ad ogni github
release
AWS Lambda per cache
invalidation
CORS config
Cache
Deploy
33
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Modifica dati da parte degli utenti stessi
Validazione campi (frontend e backend)
Stop ai Bot
Visualizzazione di alcuni dati da parte di altri utenti
Possibilità di aggregare i dati con Contacthub
User view
34
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Una sola sorgente dati
Un solo db a documenti
REST API per qualunque azione
Webhooks per realtime sync
Bulk upload
Perché scegliere Contacthub?
35
SEND17
è un evento
organizzato da
GRAZIE
è un evento organizzato da
© Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner.
#SENDSummit17
Piattaforma di engagement, una
data pipe:
Modulare
Aperta a tutti gli eventi
API-first
Intelligente
Programmabile
TAKE AWAY
37

More Related Content

Similar to Il viaggio di un'architettura: dal monolite ad un ecosistema di API ed eventi

SEND16 | Why to use data driven personalization to grow commerce?
SEND16 | Why to use data driven personalization to grow commerce?SEND16 | Why to use data driven personalization to grow commerce?
SEND16 | Why to use data driven personalization to grow commerce?Contactlab
 
Web marketing per il turismo
Web marketing per il turismoWeb marketing per il turismo
Web marketing per il turismoMarco Tibaldeschi
 
IoT e Big Data: architetture Cloud Open Source (Giu. 2016)
IoT e Big Data: architetture Cloud Open Source (Giu. 2016)IoT e Big Data: architetture Cloud Open Source (Giu. 2016)
IoT e Big Data: architetture Cloud Open Source (Giu. 2016)Omnys
 
Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...
Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...
Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...Team per la Trasformazione Digitale
 
Il project management degli avatar
Il project management degli avatarIl project management degli avatar
Il project management degli avatarRoberto Cobianchi
 
UX e UI: buone pratiche e strumenti
UX e UI: buone pratiche e strumenti UX e UI: buone pratiche e strumenti
UX e UI: buone pratiche e strumenti Coppa+Landini
 
CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...
CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...
CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...Contactlab
 
Bot and related technologies landscape - BotConference 2017 - Turin - ISMB
Bot and related technologies landscape - BotConference 2017 - Turin - ISMBBot and related technologies landscape - BotConference 2017 - Turin - ISMB
Bot and related technologies landscape - BotConference 2017 - Turin - ISMBalberto buzio
 
ELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di business ELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di business Giusy Califano
 
ELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di businessELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di businessGiusy Califano
 
Applicazioni web e web design responsive - SMAU Bologna 2013
Applicazioni web e web design responsive - SMAU Bologna 2013Applicazioni web e web design responsive - SMAU Bologna 2013
Applicazioni web e web design responsive - SMAU Bologna 2013Fabrizio Caccavello
 
Un design system allineato alle best practice internazionali, aperto ai contr...
Un design system allineato alle best practice internazionali, aperto ai contr...Un design system allineato alle best practice internazionali, aperto ai contr...
Un design system allineato alle best practice internazionali, aperto ai contr...Team per la Trasformazione Digitale
 
Accredia: proudly powered by co-design & WordPress
Accredia: proudly powered by co-design & WordPressAccredia: proudly powered by co-design & WordPress
Accredia: proudly powered by co-design & WordPressnois3
 
Smau Milano 2016 - Robert Braga
Smau Milano 2016 - Robert BragaSmau Milano 2016 - Robert Braga
Smau Milano 2016 - Robert BragaSMAU
 
La Filosofia Digital targata Datasys
La Filosofia Digital targata DatasysLa Filosofia Digital targata Datasys
La Filosofia Digital targata DatasysGiuseppe Romeo
 
Come vengono percepiti i siti delle PA da parte degli utenti - forum pa 2017
Come vengono percepiti i siti delle PA da parte degli utenti -  forum pa 2017Come vengono percepiti i siti delle PA da parte degli utenti -  forum pa 2017
Come vengono percepiti i siti delle PA da parte degli utenti - forum pa 2017Fabrizio Caccavello
 

Similar to Il viaggio di un'architettura: dal monolite ad un ecosistema di API ed eventi (20)

SEND16 | Why to use data driven personalization to grow commerce?
SEND16 | Why to use data driven personalization to grow commerce?SEND16 | Why to use data driven personalization to grow commerce?
SEND16 | Why to use data driven personalization to grow commerce?
 
Amministrazione digitale
Amministrazione digitaleAmministrazione digitale
Amministrazione digitale
 
Web marketing per il turismo
Web marketing per il turismoWeb marketing per il turismo
Web marketing per il turismo
 
IoT e Big Data: architetture Cloud Open Source (Giu. 2016)
IoT e Big Data: architetture Cloud Open Source (Giu. 2016)IoT e Big Data: architetture Cloud Open Source (Giu. 2016)
IoT e Big Data: architetture Cloud Open Source (Giu. 2016)
 
Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...
Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...
Il progetto ANPR - Mirko Calvaresi, Technical Project Manager del Team per la...
 
Il project management degli avatar
Il project management degli avatarIl project management degli avatar
Il project management degli avatar
 
UX e UI: buone pratiche e strumenti
UX e UI: buone pratiche e strumenti UX e UI: buone pratiche e strumenti
UX e UI: buone pratiche e strumenti
 
I siti dei comuni italiani - Designers Italia
I siti dei comuni italiani - Designers ItaliaI siti dei comuni italiani - Designers Italia
I siti dei comuni italiani - Designers Italia
 
CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...
CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...
CONTACTONE: COSTRUISCI RELAZIONI SOLIDE E DURATURE CON I TUOI CLIENTI E MIGLI...
 
Bot and related technologies landscape - BotConference 2017 - Turin - ISMB
Bot and related technologies landscape - BotConference 2017 - Turin - ISMBBot and related technologies landscape - BotConference 2017 - Turin - ISMB
Bot and related technologies landscape - BotConference 2017 - Turin - ISMB
 
ELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di business ELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di business
 
ELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di businessELIS_Management Reloaded_Trasformazioni modelli di business
ELIS_Management Reloaded_Trasformazioni modelli di business
 
Applicazioni web e web design responsive - SMAU Bologna 2013
Applicazioni web e web design responsive - SMAU Bologna 2013Applicazioni web e web design responsive - SMAU Bologna 2013
Applicazioni web e web design responsive - SMAU Bologna 2013
 
Un design system allineato alle best practice internazionali, aperto ai contr...
Un design system allineato alle best practice internazionali, aperto ai contr...Un design system allineato alle best practice internazionali, aperto ai contr...
Un design system allineato alle best practice internazionali, aperto ai contr...
 
Accredia: proudly powered by co-design & WordPress
Accredia: proudly powered by co-design & WordPressAccredia: proudly powered by co-design & WordPress
Accredia: proudly powered by co-design & WordPress
 
RomaJS June 2022
RomaJS June 2022RomaJS June 2022
RomaJS June 2022
 
Smau Milano 2016 - Robert Braga
Smau Milano 2016 - Robert BragaSmau Milano 2016 - Robert Braga
Smau Milano 2016 - Robert Braga
 
La Filosofia Digital targata Datasys
La Filosofia Digital targata DatasysLa Filosofia Digital targata Datasys
La Filosofia Digital targata Datasys
 
Come vengono percepiti i siti delle PA da parte degli utenti - forum pa 2017
Come vengono percepiti i siti delle PA da parte degli utenti -  forum pa 2017Come vengono percepiti i siti delle PA da parte degli utenti -  forum pa 2017
Come vengono percepiti i siti delle PA da parte degli utenti - forum pa 2017
 
Presentazione web
Presentazione web Presentazione web
Presentazione web
 

More from Contactlab

Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...
Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...
Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...Contactlab
 
Digital Competitive Map Contemporary 2019 - Abstract
Digital Competitive Map Contemporary 2019 - AbstractDigital Competitive Map Contemporary 2019 - Abstract
Digital Competitive Map Contemporary 2019 - AbstractContactlab
 
Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...
Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...
Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...Contactlab
 
User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...
User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...
User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...Contactlab
 
Personas & Journeys
Personas & JourneysPersonas & Journeys
Personas & JourneysContactlab
 
Conosci il vero significato dei tuoi dati con Analytics!
Conosci il vero significato dei tuoi dati con Analytics!Conosci il vero significato dei tuoi dati con Analytics!
Conosci il vero significato dei tuoi dati con Analytics!Contactlab
 
Strategia di personalizzazione omnichannel
Strategia di personalizzazione omnichannelStrategia di personalizzazione omnichannel
Strategia di personalizzazione omnichannelContactlab
 
Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.
Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.
Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.Contactlab
 
Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.
Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.
Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.Contactlab
 
GDPR: è iniziato il countdown
GDPR: è iniziato il countdownGDPR: è iniziato il countdown
GDPR: è iniziato il countdownContactlab
 
NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...
NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...
NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...Contactlab
 
Protect your domain with DMARC
Protect your domain with DMARCProtect your domain with DMARC
Protect your domain with DMARCContactlab
 
Metodologia Agile in Contactlab
Metodologia Agile in ContactlabMetodologia Agile in Contactlab
Metodologia Agile in ContactlabContactlab
 
Welfare in Contactlab
Welfare in ContactlabWelfare in Contactlab
Welfare in ContactlabContactlab
 
SEND2017: l'Open Summit di Contactlab
SEND2017: l'Open Summit di ContactlabSEND2017: l'Open Summit di Contactlab
SEND2017: l'Open Summit di ContactlabContactlab
 
Hello Send, Messagener: conversations that drives results
Hello Send, Messagener: conversations that drives resultsHello Send, Messagener: conversations that drives results
Hello Send, Messagener: conversations that drives resultsContactlab
 
METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...
METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...
METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...Contactlab
 
Netcomm Suisse Ecommerce meets Fashion | Who buys where
Netcomm Suisse Ecommerce meets Fashion | Who buys whereNetcomm Suisse Ecommerce meets Fashion | Who buys where
Netcomm Suisse Ecommerce meets Fashion | Who buys whereContactlab
 
WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...
WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...
WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...Contactlab
 
SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...
SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...
SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...Contactlab
 

More from Contactlab (20)

Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...
Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...
Come migliorare l’engagement tramite analisi dei dati, algoritmi predittivi e...
 
Digital Competitive Map Contemporary 2019 - Abstract
Digital Competitive Map Contemporary 2019 - AbstractDigital Competitive Map Contemporary 2019 - Abstract
Digital Competitive Map Contemporary 2019 - Abstract
 
Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...
Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...
Artificial Intelligence or Artificial Dummies? Come istruire la macchina a no...
 
User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...
User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...
User journeys: FATTI non PAROLE.Come analizzare i processi di acquisto e usar...
 
Personas & Journeys
Personas & JourneysPersonas & Journeys
Personas & Journeys
 
Conosci il vero significato dei tuoi dati con Analytics!
Conosci il vero significato dei tuoi dati con Analytics!Conosci il vero significato dei tuoi dati con Analytics!
Conosci il vero significato dei tuoi dati con Analytics!
 
Strategia di personalizzazione omnichannel
Strategia di personalizzazione omnichannelStrategia di personalizzazione omnichannel
Strategia di personalizzazione omnichannel
 
Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.
Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.
Algoritmi e modelli predittivi per arricchire il profilo unico dei tuoi utenti.
 
Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.
Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.
Gestisci e automatizza le tue azioni di marketing su un'unica piattaforma.
 
GDPR: è iniziato il countdown
GDPR: è iniziato il countdownGDPR: è iniziato il countdown
GDPR: è iniziato il countdown
 
NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...
NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...
NEW EDITION! Il caso del “luxury feeling”: best practice sull’esperienza d’ac...
 
Protect your domain with DMARC
Protect your domain with DMARCProtect your domain with DMARC
Protect your domain with DMARC
 
Metodologia Agile in Contactlab
Metodologia Agile in ContactlabMetodologia Agile in Contactlab
Metodologia Agile in Contactlab
 
Welfare in Contactlab
Welfare in ContactlabWelfare in Contactlab
Welfare in Contactlab
 
SEND2017: l'Open Summit di Contactlab
SEND2017: l'Open Summit di ContactlabSEND2017: l'Open Summit di Contactlab
SEND2017: l'Open Summit di Contactlab
 
Hello Send, Messagener: conversations that drives results
Hello Send, Messagener: conversations that drives resultsHello Send, Messagener: conversations that drives results
Hello Send, Messagener: conversations that drives results
 
METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...
METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...
METTI IL DATO AL CENTRO DELLA TUA STRATEGIA. L’arte e la scienza applicate al...
 
Netcomm Suisse Ecommerce meets Fashion | Who buys where
Netcomm Suisse Ecommerce meets Fashion | Who buys whereNetcomm Suisse Ecommerce meets Fashion | Who buys where
Netcomm Suisse Ecommerce meets Fashion | Who buys where
 
WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...
WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...
WEBINAR SERIES | Raccogli e connetti le informazioni sui tuoi utenti con Cont...
 
SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...
SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...
SEND WEBINAR | The "luxury feeling" case: best practice in online purchase ex...
 

Il viaggio di un'architettura: dal monolite ad un ecosistema di API ed eventi

  • 1. #SENDSummit17 Il viaggio di un’architettura: dal monolite ad un ecosistema di API ed eventi Ernesto Colombo, Head of Engineering – Contactlab Luca Cipriani, CIO - Arduino
  • 2. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 2 API, event driven and near real time ingestion platform
  • 3. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Team a raccolta 3
  • 4. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 4 2017 – Architettura Riuscite a leggere lo schema? Allora avete superpoteri
  • 5. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 5 L’evoluzione 2015 – 2017[8] Applicazione per la distribuzione di messaggi digitali Piattaforma per la raccolta, raffinazione e utilizzo dei dati
  • 6. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Cosa intendiamo per dati 6 Miss Piggy Il contatto Miss Piggy piggy@muppet.com Ha comprato la borsetta #123 Ha visitato la pagina http://muppet.com Ha cliccato il link #345 nella mail #234 Ha aperto la mail #234 Le è stata inviata la mail #234 Socio-demo Eventi Tempo
  • 7. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 7 2001 – 2015: c’era una volta l’email service provider
  • 8. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 8 Send Web UI Handler/Datalab API Legacy Engine DB Legacy C’era una volta
  • 9. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 9 Kermit l’utente della piattaforma Miss Piggy Il contatto Miss Piggy piggy@muppet.com Cliccato link Mail aperta Mail inviata Dr. Stranasetola Data scientist Tempo C’era una volta 9 Send Web UI Handler/Datalab API Legacy Engine DB Legacy
  • 10. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 10 The thinker Quali sono limiti i architetturali e funzionali?
  • 11. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Quali sono limiti i architetturali e funzionali? 11 Integrazione su DB – Interazioni nascoste – Unico pattern persistenza – Difficilmente estendibile Eventi persi Non totalmente aperta Poco intelligente Poco automatizzabile DB Legacy Send Web UI Handler/Datalab API Legacy Engine Kermit l’utente Miss Piggy Il contatto
  • 12. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 The thinker 12 The Doer
  • 13. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 13
  • 14. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 14 2017[8]: la nuova archittetura Data River • Enrich • Analyze • Visualize • Segment • Plan OAuth Public REST API • Gather • Aggregate • Send• Deliver• Automation • Activate • Automate
  • 15. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 1. Miss Piggy e l’ecommerce 15 Data River / Data Lake Miss Piggy piggy@muppet.com Profilo Miss Piggy Tempo
  • 16. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 2. Miss Piggy fa shopping 16 Data River / Data Lake • Send Miss Piggy piggy@muppet.com Transazione #1 Transazione #2 Transazioni #1 e #2 Tempo
  • 17. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 3. Data in azione 17 Data River / Data Lake Miss Piggy piggy@muppet.com Transazione #1 Transazione #2 High Spender Enrichment: Miss Piggy è un High Spender Tempo
  • 18. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 4. Flow in azione 18 Data River / Data Lake Miss Piggy piggy@muppet.com Transazione #1 Transazione #2 High Spender Mail #1 inviata One Page App UI’s Mail #1 inviata Tempo
  • 19. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Mail #2 inviata 5. Plan in soccorso 19 Data River / Data Lake Miss Piggy piggy@muppet.com Transazione #1 Transazione #2 High Spender Mail #2 inviata Mail #1 inviata One Page App UI’s Tempo
  • 20. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Transazione #3 Mail #2 aperta 20 Data River / Data Lake Miss Piggy piggy@muppet.com Transazione #1 Transazione #2 High Spender Transazione #3 Mail #2 inviata Mail #1 inviata One Page App UI’s Mail #2 aperta 6. Finalmente Miss Piggy torna a comprare Tempo
  • 21. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Integrazione su DB – Interazioni nascoste – Unico pattern persistenza – Difficilmente estendibile Interazioni invisibili Non totalmente aperta Poco smart Poco automatizzabile✓ Programmabile DB Legacy Send Web UI Handler/Datalab API Legacy Engine Kermit l’utente Miss Piggy Il contatto Limiti superati? 21 Data River / Data Lake ✓ Event-driven ✓ Interfacce esplicite ✓ Poliglotta nella persistenza ✓ Modulare ✓ Raccoglie tutti gli eventi ✓ Aperta e API-first ✓ Comincia a ragionare :)
  • 22. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Il panorama è bello qua su 22
  • 23. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 23 C’è molto di più… Organizzazione – Architettura e organizzazione – Adozione agile Architetture – Automazioni infrastruttura – Servizi fat vs micro – Logging, monitoring API REST – Documentazione – Design Sviluppo – Continuous delivery – Test driven development
  • 24. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 24
  • 25. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 25 ARDUINO Single Sign On
  • 26. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Il problema Più di 15 siti in produzione Ciascun sito con il proprio header/footer Database utenti non uniforme I siti di Arduino collezionano più di 120M di utenti unici l’anno. Arduino.cc è uno dei top 3000 websites al mondo. 26
  • 27. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Gli utenti dovevano loggarsi più volte sui vari siti (seppur con le stesse credenziali) La UI dei siti era leggermente diversa I designer pixel perfect diventavano paranoici UI/UX needs 27
  • 28. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Se devi farlo più di due volte, automatizzalo Ogni modifica all’header o al footer richiedeva la modifica su tutti i siti Stima per aggiungere una menu entry 16h di sviluppo Lazy Developers 28
  • 29. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Unire le esigenze dei designer, degli utenti e degli sviluppatori Avere una singola sorgente dell’html Semplificare la manutenzione Consentire rapide modifiche ai siti Avere una pagina profilo utente unificata SSO + UI Unificate 29
  • 30. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Compatibilità Oauth2 Supporto per app client side only (Angular.js) Sicurezza REST API server to server Un solo DB per tutte le info utente (store, sito, blog, forum) NoSQL DB Login flow standard Pianificazione 30
  • 31. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Leggere tutte le specifiche Oauth2 (ad esempio Jasig non implementa l’implicit flow) rfc6749 REST API jwt, temporary token Captcha, recaptcha, nocaptcha Accessi dalla Cina Studio 31
  • 32. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Libreria JS async HTML injection Responsive design Supporto multilingua Mostra/Nascondi elementi Carrello su tutti i siti REST API per carrello, avatar, auth flow Implementazione 32
  • 33. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 CDN Auto deploy ad ogni github release AWS Lambda per cache invalidation CORS config Cache Deploy 33
  • 34. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Modifica dati da parte degli utenti stessi Validazione campi (frontend e backend) Stop ai Bot Visualizzazione di alcuni dati da parte di altri utenti Possibilità di aggregare i dati con Contacthub User view 34
  • 35. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Una sola sorgente dati Un solo db a documenti REST API per qualunque azione Webhooks per realtime sync Bulk upload Perché scegliere Contacthub? 35
  • 37. è un evento organizzato da © Copyright 2017 Contactlab This document may not be modified, organized or reutilized in any way without the express written permission of the rightful owner. #SENDSummit17 Piattaforma di engagement, una data pipe: Modulare Aperta a tutti gli eventi API-first Intelligente Programmabile TAKE AWAY 37