Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

10/4/2018

Reading time:12 mins

Customer Event Hub – a modern Customer 360° view with DataStax Enterp…

by Guido Schmutz

Customer Event Hub – a modern Customer 360° view with DataStax Enterp… SlideShare Explore You Successfully reported this slideshow.Customer Event Hub – a modern Customer 360° view with DataStax Enterprise (DSE)Upcoming SlideShareLoading in …5× 0 Comments 0 Likes Statistics Notes Be the first to like this No DownloadsNo notes for slide 1. BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENFHAMBURG KOPENHAGEN LAUSANNE MÜNCHEN STUTTGART WIEN ZÜRICHCustomer Event HubCustomer 360° view with DataStax Enterprise (DSE)Guido Schmutz – 21.6.2017@gschmutz guidoschmutz.wordpress.com 2. Guido SchmutzWorking at Trivadis for more than 20 yearsOracle ACE Director for Fusion Middleware and SOAConsultant, Trainer Software Architect for Java, Oracle, SOA andBig Data / Fast DataHead of Trivadis Architecture BoardTechnology Manager @ TrivadisMore than 30 years of software development experienceContact: guido.schmutz@trivadis.comBlog: http://guidoschmutz.wordpress.comSlideshare: http://www.slideshare.net/gschmutzTwitter: gschmutz2 3. COPENHAGENMUNICHLAUSANNEBERNZURICHBRUGGGENEVAHAMBURGDÜSSELDORFFRANKFURTSTUTTGARTFREIBURGBASELVIENNAWith over 600 specialists and IT experts in your region.14 Trivadis branches and more than600 employees200 Service Level AgreementsOver 4,000 training participantsResearch and development budget:CHF 5.0 millionFinancially self-supporting andsustainably profitableExperience from more than 1,900projects per year at over 800customers3 4. Agenda41. Customer 360° View – Introduction2. Customer 360° View – Challenges3. Customer 360° View – DataStax Enterprise (Graph) to the rescue 5. Customer 360° View - Introduction5 6. Why Customer 360° View?“Get closer than ever to yourcustomers. So close that you tellthem what they need well beforethey realize it themselves.”Steve Jobs, Appleq Enhance customer serviceq Provides real-time personalizationq Opens doors to new applicationsq Increases securityq Lowers operational costsq Increases operational efficiency6 7. Customer 360°: Experience Expectations7 8. “The Amazon effect” – why can’t I do .... as easy asbuying a product on Amazon8Each time a customer is exposed to an improved digital experience,their engagement expectations are reset to a new higher level.Source: Forrester 9. Customer 360°: Experience ExpectationsConsistentAcross all channels, brands and devicesPersonalizedTo reflect preferences and aspirationRelevantIn the moment to customer’s needs and expectationsContextualizedTo present location and circumstances9 10. Customer 360 – Key Use Cases• Customer microsegmentation• Next Best Offer• Campaign Analytics• Geo-LocationAnalytics• RecommendationModels• Churn Modeling &Prediction• Rotational / SocialChurn• Customer LifetimeValue• Sentiment Analytics• Price ElasticityModeling• Proactive CareDashboard• Customer LifetimeValue• Subscriber Analytics• QoS Analytics• Real-Time AlertsTarget Marketing &PersonalizationChurn Prevention &Customer RetentionProactive Care10 11. From Static to Dynamic, Real-Time Micro-SegmentationAgeGenderAverage SpendPrice PlansUsage HistoryData, Voice, TextBilling HistoryDevice UpgradeTraditionalSegmentationAgeGenderAverage SpendPrice PlansUsage HistoryData, Voice, TextBilling HistoryDevice UpgradeDevice HistoryOther products / servicesBundling preferencesOffer HistoryCampaign AdoptionHistoryCall Center TicketsLocationSocial InfluenceApplications UsedContent PreferencesUsage DetailsRoaming AnalysisTravel PatternsQoS HistoryHousehold AnalysisLifetime ValueChurn ScoreClickstream InfoChannel PreferencesSurveyReal-Time Micro-Segmentation11IndividualizationEngaging customers as a segment of one in real-time by listening,capturing, measuring, assessing, and addressing intent across everyenterprise touchpoint.Source: Forrester 12. From Static to Dynamic, Real-Time Micro-SegmentationAgeGenderAverage SpendPrice PlansUsage HistoryData, Voice, TextBilling HistoryDevice UpgradeTraditionalSegmentationAgeGenderAverage SpendPrice PlansUsage HistoryData, Voice, TextBilling HistoryDevice UpgradeDevice HistoryOther products / servicesBundling preferencesOffer HistoryCampaign AdoptionHistoryCall Center TicketsLocationSocial InfluenceApplications UsedContent PreferencesUsage DetailsRoaming AnalysisTravel PatternsQoS HistoryHousehold AnalysisLifetime ValueChurn ScoreClickstream InfoChannel PreferencesSurveyReal-Time Micro-Segmentation12 13. A Sample Customer 360° ProfileWho are you?Where are you?What have youpurchased?What content do youprefer?Who do you know?What can you afford?What is your value to thebusiness?How / why have youcontacted us?13 14. Customer 360° View - Challenges16 15. Key Challenges in Driving a Customer 360° ViewData SilosNew Data Sources Costs of Data ProcessingData Volumes• Multiple Data Silos• Often store overlapping andconflicting information• Data growing rapidly• Internet of Things will add tothat substantially• Semi/Un-Structured DataSources• Streaming / Real-time data• Critical for building a true360° view• Cost prohibitive• Cost of storing data inrelational database systemsper yearClickstream Location/GPSCall centerRecordsSocial Media17 16. Customer 360° View - Traditional Flow DiagramEnterprise DataWarehouseETL / StoredProceduresData Marts /AggregationsLocationSocialClickstreamSegmentation & ChurnAnalysisBI ToolsMarketing OffersBilling &OrderingCRM / ProfileMarketingCampaigns18 17. Customer 360° View - Traditional Flow DiagramEnterprise DataWarehouseETL / StoredProceduresData Marts /AggregationsLocationSocialClickstreamSegmentation & ChurnAnalysisBI ToolsMarketing OffersBilling &OrderingCRM / ProfileMarketingCampaignsLimitedProcessingPowerDoes notmodel easilyto traditionaldatabaseschemaLimitedProcessingPowerStorageScalingveryexpensiveBased onsample /limited dataLoss inFidelityOther /New DataSourcesHighVoumeandVelocity19 18. Customer 360° View: Why status quo won’t work?• Most organizations have a staticversion of the customer profile intheir data warehouse• Mainly structured data• Only internal data• Only “important” data• Only limited history• Activity data – clickstream data,content preferences, customer carelogs are kept in siloes or not kept atallData AnalystData AnalystData AnalystData AnalystData AnalystDetailed Customer Activity Data sits in silos!20 19. Journey of Customer through multiple Siloed Systems21SocialMediaCallCenterComplaintManagementMarketingCouponsWarehouse CRMShippingBillingOrderProcessingWebApplication 20. Journey of Customer through multiple Siloed Systems22SocialMediaCallCenterComplaintManagementMarketingCouponsWarehouse CRMShippingBillingOrderProcessingWebApplication 21. Customer 360° View – DataStaxEnterprise (Graph) to the rescue23 22. Why using Graph for Customer 360° View24Traditional RDBMS• Multiple Data Locations => siloes• Not all information related• difficult to access all the differentinformation and to relate to each otherGraph Database• Connect all customer-related information• Model multi-connected customer relationships• Special questions graphs can answer• Performance & ScalabilityPartnerIdFirstNameLastNameBirthDateProfileImageURLIdCustomerIdWhenWhereTypeDescriptionContactsAddressIdPartnerIdStreetStreetNrZipCodeCityCountryIdNamePriceDescriptionImageURLProductsCustomerIdProductIdOrderIdCustomerIdWhenWhereInteractionTypeDescriptionCustomer ServiceIdProductIdCommentUserIdProduct ReviewsIdPartnerIdTwitterIdFacebookIdCustomerGeo PointCustomerAddressProductownerOf(since)interestedIn(since, degree)lives (since)ActivityparticipatesIn TermusesusesEmployeeinteractsWithreferenceidnameidwhenwheretextidfirstNamelastNamebirthDateprofileImageURLusesidnameimageURLidstreetstreetNrzipCodecityidnamealternateNameslocationpopulationelevationCountryneighbourbelongsToidnameiso2iso3isoNumericcapitalareapopulationcontinentusesActivityTypeidnamebelongsToidnameatknows(since)mentionsuses 23. Customer 360° View - Example25 24. Geo PointCustomerAddressProductownerOf(since)interestedIn(since, degree)lives (since)ActivityparticipatesIn TermusesusesEmployeeinteractsWithreferenceidnameidwhenwheretextidfirstNamelastNamebirthDateprofileImageURLusesidnameimageURLidstreetstreetNrzipCodecityidnamealternateNameslocationpopulationelevationCountryneighbourbelongsToidnameiso2iso3isoNumericcapitalareapopulationcontinentusesActivityTypeidnamebelongsToidnameatknows(since)mentionsusesCustomer 360° View - Example26 25. Hadoop ClusterdHadoop ClusterDSE ClusterBatch Data Ingestion into Customer HubBilling &OrderingCRM /ProfileMarketingCampaignsLocationSocialClickstreamSensorDataWeatherDataMobileAppsEmailsvFile Import /SQL ImportCassandra DSE Graph27high latencyEvent Stream 26. Batch Data Ingestion into Customer HubDSE GraphDSE GraphLoaderRDBMSGroovy ScriptClick Stream28Geo PointCustomerAddressProductownerOf (since)interestedIn (since, degree)lives (since)ActivityparticipatesIn TermusesusesEmployeeinteractsWithreferenceidnameidwhenwheretextidfirstNamelastNamebirthDateprofileImageURLusesidnameimageURLidstreetstreetNrzipCodecityidnamealternateNameslocationpopulationelevationCountryneighbourbelongsToidnameiso2iso3isoNumericcapitalareapopulationcontinentusesActivityTypeidnamebelongsToidnameatknows(since)Transformation CSV / JSONPartnerIdFirstNameLastNameBirthDateProfileImageURLIdCustomerIdWhenWhereTypeDescriptionContactsAddressIdPartnerIdStreetStreetNrZipCodeCityCountryIdNamePriceDescriptionImageURLProductsCustomerIdProductIdOrderIdCustomerIdWhenWhereInteractionTypeDescriptionCustomer ServiceIdProductIdCommentUserIdProduct ReviewsIdPartnerIdTwitterIdFacebookIdCustomerReal-Time Insights? 27. Streaming Ingestion into Customer Event HubMicroservice ClusterMicroservice State{ }APIStream Processing ClusterStreamProcessorState{ }APIBilling &OrderingCRM /ProfileMarketingCampaignsLocationSocialClickstreamSensorDataWeatherDataMobileAppsEmailFile Import /SQL ImportEventStreamEventHubEventHubEventHubEventStreamEventStreamHadoop ClusterdHadoop ClusterDSE ClusterCassandra DSE Graph32 28. Process native Event StreamsTwitterTweet-to-Cassandra CassandraTweetGraphTweet-to-GraphCustomer ReferenceClickStreamCllck StreamActivity-to-GraphDSE Cluster33Geo PointCustomerAddressProductownerOf (since)interestedIn (since, degree)lives (since)ActivityparticipatesIn TermusesusesEmployeeinteractsWithreferenceidnameidwhenwheretextidfirstNamelastNamebirthDateprofileImageURLusesidnameimageURLidstreetstreetNrzipCodecityidnamealternateNameslocationpopulationelevationCountryneighbourbelongsToidnameiso2iso3isoNumericcapitalareapopulationcontinentusesActivityTypeidnamebelongsToidnameatknows(since)Event Hub Stream ProcessingSensor 29. Benchmark Single vs. Scripted Insert34• One Event ends up in manymodifications of vertex and edges• many round-trips need if done withsingle API calls• batch API calls into a Groovy scriptprovides 3 – 5x performance gainsDSE GraphTweet-to-GraphTweetUserpublishesTerm *uses*DSE GraphTweet-to-Graph...Geo PointCustomerAddressProductownerOf (since)interestedIn (since, degree)lives (since)ActivityparticipatesIn TermusesusesEmployeeinteractsWithreferenceidnameidwhenwheretextidfirstNamelastNamebirthDateprofileImageURLusesidnameimageURLidstreetstreetNrzipCodecityidnamealternateNameslocationpopulationelevationCountryneighbourbelongsToidnameiso2iso3isoNumericcapitalareapopulationcontinentusesActivityTypeidnamebelongsToidnameatknows(since) 30. Process Change Data Capture EventsCDCCustomer-to-Cassandra CassandraCustomerDSE GraphCustomer-to-GraphCustomerCDCAddressCDCContactCDCAggregate-to-CustomerDSE Cluster39Geo PointCustomerAddressProductownerOf (since)interestedIn (since, degree)lives (since)ActivityparticipatesIn TermusesusesEmployeeinteractsWithreferenceidnameidwhenwheretextidfirstNamelastNamebirthDateprofileImageURLusesidnameimageURLidstreetstreetNrzipCodecityidnamealternateNameslocationpopulationelevationCountryneighbourbelongsToidnameiso2iso3isoNumericcapitalareapopulationcontinentusesActivityTypeidnamebelongsToidnameatknows(since)PartnerIdFirstNameLastNameBirthDateProfileImageURLIdCustomerIdWhenWhereTypeDescriptionContactsAddressIdPartnerIdStreetStreetNrZipCodeCityCountryIdNamePriceDescriptionImageURLProductsCustomerIdProductIdOrderIdCustomerIdWhenWhereInteractionTypeDescriptionCustomer ServiceIdProductIdCommentUserIdProduct ReviewsIdPartnerIdTwitterIdFacebookIdCustomerEvent Hub Stream ProcessingSensor 31. Streaming Oriented Ingestion into Customer HubMicroservice ClusterMicroservice State{ }APIStream Processing ClusterStreamProcessorState{ }APIBilling &OrderingCRM /ProfileMarketingCampaignsLocationSocialClickstreamSensorDataWeatherDataMobileAppsEmailFile Import /SQL ImportEventStreamEventHubEventHubEventHubEventStreamEventStreamHadoop ClusterdHadoop ClusterDSE ClusterCassandra DSE Graph40 32. How to implement an Event Hub?Apache Kafka to the rescue• publish-subscribe messaging system• Designed for processing high-volume,real time activity stream data (logs,metrics, social media, …)• Stateless (passive) architecture,offset-based consumption• Initially developed at LinkedIn, nowpart of Apache• Peak Load on single cluster: 2 millionmessages/sec, 4.7 Gigabits/secinbound, 15 Gigabits/sec outboundReliable Data Ingestion in Big Data/IoTKafka ClusterConsumer Consumer ConsumerProducer Producer ProducerBroker 1 Broker 2 Broker 3ZookeeperEnsemble 33. Apache Kafka Connect• Scalably and reliably streaming data betweenApache Kafka and other data systems• not an ETL framework• Pre-build connectors available for DataSource and Data Sinks• JDBC (Source)• Cassandra (Source & Sink)• Oracle GoldenGate (Source)• MQTT (Source)• HDFS (Sink)• Elasticsearch (Sink)• MongoDB (Sink)Reliable Data Ingestion in Big Data/IoTSource: Confluent 34. Declarative Dataflow Definition & Execution43Apache NiFi StreamSets 35. Hadoop ClusterdHadoop ClusterDSEClusterStreaming Ingestion into Customer HubOLAPMicroservice ClusterMicroservice State{ }APIFile Import /SQL ImportOLTPParallelProcessingCassandraCassandraStreamProcessingDSEFSBilling &OrderingCRM /ProfileMarketingCampaignsLocationSocialClickstreamSensorDataWeatherDataMobileAppsEmailEventStreamEventHubEventHubEventHubEventStreamCassandraReplication44 36. Hadoop ClusterdHadoop ClusterDSEClusterStreaming Ingestion into Customer HubOLAPMicroservice ClusterMicroservice State{ }APIFile Import /SQL ImportOLTPParallelProcessingCassandraCassandraStreamProcessingDSEFSBilling &OrderingCRM /ProfileMarketingCampaignsLocationSocialClickstreamSensorDataWeatherDataMobileAppsEmailEventStreamEventHubEventHubEventHubEventStreamCassandraReplication45 37. Questions which can only be answered by Graph46Dependencies• Failure chains• Order of operationMatching / CategorizingHighlight variant of dependenciesClusteringFinding things closely related to each other (friends, fraud)Flow / CostFind distributionproblems, efficienciesSimilaritySimilar paths or patternsCentrality, SearchWhich nodes are the most connected or relevantSource: Expero 38. Questions which can only be answered by Graph -Visualize Customer 36049Source: Expero 39. Questions which can only be answered by Graph -Visualize Customer 36050KeyLinesCytoscapeLinkuriousJSSigmajsD3Source: Expero 40. Guido SchmutzTechnology Managerguido.schmutz@trivadis.com@gschmutz guidoschmutz.wordpress.com Recommended Creative Inspirations: Duarte Design, Presentation Design StudioOnline Course - LinkedIn Learning Common Core: Exploring K-12 StandardsOnline Course - LinkedIn Learning Betsy Corcoran on Choosing the Right Technology for Your SchoolOnline Course - LinkedIn Learning How to build an effective omni-channel CRM & Marketing Strategy & 360 custome...Comarch Connected Banking FrameworkKashif Akram A Customer-Centric Banking Platform Powered by MongoDBMongoDB ANTS - 360 view of your customer - bigdata innovation summit 2016Dinh Le Dat (Kevin D.) 360° View of Your CustomersOSF Commerce Graph in Customer 360 - StampedeCon Big Data Conference 2017StampedeCon CMA Summit 2012Delvinia About Blog Terms Privacy Copyright LinkedIn Corporation © 2018 Public clipboards featuring this slideNo public clipboards found for this slideSelect another clipboard ×Looks like you’ve clipped this slide to already.Create a clipboardYou just clipped your first slide! Clipping is a handy way to collect important slides you want to go back to later. Now customize the name of a clipboard to store your clips. Description Visibility Others can see my Clipboard

Illustration Image
Customer Event Hub – a modern Customer 360° view with DataStax Enterp…

Successfully reported this slideshow.

Customer Event Hub – a modern Customer 360° view with DataStax Enterprise (DSE)
BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENF
HAMBURG KOPENHAGEN LAUSANNE MÜNCHEN STUTTGART WIEN ZÜRICH
C...
Guido Schmutz
Working at Trivadis for more than 20 years
Oracle ACE Director for Fusion Middleware and SOA
Consultant, Tra...
COPENHAGEN
MUNICH
LAUSANNE
BERN
ZURICH
BRUGG
GENEVA
HAMBURG
DÜSSELDORF
FRANKFURT
STUTTGART
FREIBURG
BASEL
VIENNA
With over...
Agenda
4
1. Customer 360° View – Introduction
2. Customer 360° View – Challenges
3. Customer 360° View – DataStax Enterpri...
Customer 360° View - Introduction
5
Why Customer 360° View?
“Get closer than ever to your
customers. So close that you tell
them what they need well before
th...
Customer 360°: Experience Expectations
7
“The Amazon effect” – why can’t I do .... as easy as
buying a product on Amazon
8
Each time a customer is exposed to an im...
Customer 360°: Experience Expectations
Consistent
Across	all	channels,	brands	
and	devices
Personalized
To	reflect	prefere...
Customer 360 – Key Use Cases
• Customer micro
segmentation
• Next Best Offer
• Campaign Analytics
• Geo-Location
Analytics...
From Static to Dynamic, Real-Time Micro-Segmentation
Age
Gender
Average Spend
Price Plans
Usage History
Data, Voice, Text
...
From Static to Dynamic, Real-Time Micro-Segmentation
Age
Gender
Average Spend
Price Plans
Usage History
Data, Voice, Text
...
A Sample Customer 360° Profile
Who are you?
Where are you?
What have you
purchased?
What content do you
prefer?
Who do you...
Customer 360° View - Challenges
16
Key Challenges in Driving a Customer 360° View
Data Silos
New Data Sources Costs of Data Processing
Data Volumes
• Multipl...
Customer 360° View - Traditional Flow Diagram
Enterprise Data
Warehouse
ETL / Stored
Procedures
Data Marts /
Aggregations
...
Customer 360° View - Traditional Flow Diagram
Enterprise Data
Warehouse
ETL / Stored
Procedures
Data Marts /
Aggregations
...
Customer 360° View: Why status quo won’t work?
• Most organizations have a static
version of the customer profile in
their...
Journey of Customer through multiple Siloed Systems
21
Social
Media
Call
Center
Complaint
Management
Marketing
Coupons
War...
Journey of Customer through multiple Siloed Systems
22
Social
Media
Call
Center
Complaint
Management
Marketing
Coupons
War...
Customer 360° View – DataStax
Enterprise (Graph) to the rescue
23
Why using Graph for Customer 360° View
24
Traditional RDBMS
• Multiple Data Locations => siloes
• Not all information rela...
Customer 360° View - Example
25
Geo Point
Customer
Address
Product
ownerOf
(since)
interestedIn
(since, degree)
lives (since)
ActivityparticipatesIn Termu...
Hadoop ClusterdHadoop Cluster
DSE Cluster
Batch Data Ingestion into Customer Hub
Billing &
Ordering
CRM /
Profile
Marketin...
Batch Data Ingestion into Customer Hub
DSE	Graph
DSE	
GraphLoaderRDBMS
Groovy	
Script
Click	
Stream
28
Geo Point
Customer
...
Streaming Ingestion into Customer Event Hub
Microservice Cluster
Microservice State
{		}
API
Stream Processing Cluster
Str...
Process native Event Streams
Twitter
Tweet-to-
Cassandra Cassandra
Tweet
Graph
Tweet-to-Graph
Customer	
Reference
Click
St...
Benchmark Single vs. Scripted Insert
34
• One Event ends up in many
modifications of vertex and edges
• many round-trips n...
Process Change Data Capture Events
CDC
Customer-to-
Cassandra Cassandra
Customer
DSE	Graph
Customer-to-
Graph
CustomerCDC
...
Streaming Oriented Ingestion into Customer Hub
Microservice Cluster
Microservice State
{		}
API
Stream Processing Cluster
...
How to implement an Event Hub?
Apache Kafka to the rescue
• publish-subscribe messaging system
• Designed for processing h...
Apache Kafka Connect
• Scalably and reliably streaming data between
Apache Kafka and other data systems
• not an ETL frame...
Declarative Dataflow Definition & Execution
43
Apache NiFi StreamSets
Hadoop ClusterdHadoop Cluster
DSE
Cluster
Streaming Ingestion into Customer Hub
OLAP
Microservice Cluster
Microservice Sta...
Hadoop ClusterdHadoop Cluster
DSE
Cluster
Streaming Ingestion into Customer Hub
OLAP
Microservice Cluster
Microservice Sta...
Questions which can only be answered by Graph
46
Dependencies
•	Failure	chains
•	Order	of	operation
Matching	/	
Categorizi...
Questions which can only be answered by Graph -
Visualize Customer 360
49
Source: Expero
Questions which can only be answered by Graph -
Visualize Customer 360
50
KeyLines
Cytoscape
LinkuriousJS
SigmajsD3
Source...
Guido Schmutz
Technology Manager
guido.schmutz@trivadis.com
@gschmutz guidoschmutz.wordpress.com

Upcoming SlideShare

Loading in …5

×

  • Be the first to like this

  1. 1. BASEL BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENF HAMBURG KOPENHAGEN LAUSANNE MÜNCHEN STUTTGART WIEN ZÜRICH Customer Event Hub Customer 360° view with DataStax Enterprise (DSE) Guido Schmutz – 21.6.2017 @gschmutz guidoschmutz.wordpress.com
  2. 2. Guido Schmutz Working at Trivadis for more than 20 years Oracle ACE Director for Fusion Middleware and SOA Consultant, Trainer Software Architect for Java, Oracle, SOA and Big Data / Fast Data Head of Trivadis Architecture Board Technology Manager @ Trivadis More than 30 years of software development experience Contact: guido.schmutz@trivadis.com Blog: http://guidoschmutz.wordpress.com Slideshare: http://www.slideshare.net/gschmutz Twitter: gschmutz 2
  3. 3. COPENHAGEN MUNICH LAUSANNE BERN ZURICH BRUGG GENEVA HAMBURG DÜSSELDORF FRANKFURT STUTTGART FREIBURG BASEL VIENNA With over 600 specialists and IT experts in your region. 14 Trivadis branches and more than 600 employees 200 Service Level Agreements Over 4,000 training participants Research and development budget: CHF 5.0 million Financially self-supporting and sustainably profitable Experience from more than 1,900 projects per year at over 800 customers 3
  4. 4. Agenda 4 1. Customer 360° View – Introduction 2. Customer 360° View – Challenges 3. Customer 360° View – DataStax Enterprise (Graph) to the rescue
  5. 5. Customer 360° View - Introduction 5
  6. 6. Why Customer 360° View? “Get closer than ever to your customers. So close that you tell them what they need well before they realize it themselves.” Steve Jobs, Apple q Enhance customer service q Provides real-time personalization q Opens doors to new applications q Increases security q Lowers operational costs q Increases operational efficiency 6
  7. 7. Customer 360°: Experience Expectations 7
  8. 8. “The Amazon effect” – why can’t I do .... as easy as buying a product on Amazon 8 Each time a customer is exposed to an improved digital experience, their engagement expectations are reset to a new higher level. Source: Forrester
  9. 9. Customer 360°: Experience Expectations Consistent Across all channels, brands and devices Personalized To reflect preferences and aspiration Relevant In the moment to customer’s needs and expectations Contextualized To present location and circumstances 9
  10. 10. Customer 360 – Key Use Cases • Customer micro segmentation • Next Best Offer • Campaign Analytics • Geo-Location Analytics • Recommendation Models • Churn Modeling & Prediction • Rotational / Social Churn • Customer Lifetime Value • Sentiment Analytics • Price Elasticity Modeling • Proactive Care Dashboard • Customer Lifetime Value • Subscriber Analytics • QoS Analytics • Real-Time Alerts Target Marketing & Personalization Churn Prevention & Customer Retention Proactive Care 10
  11. 11. From Static to Dynamic, Real-Time Micro-Segmentation Age Gender Average Spend Price Plans Usage History Data, Voice, Text Billing History Device Upgrade Traditional Segmentation Age Gender Average Spend Price Plans Usage History Data, Voice, Text Billing History Device Upgrade Device History Other products / services Bundling preferences Offer History Campaign Adoption History Call Center Tickets Location Social Influence Applications Used Content Preferences Usage Details Roaming Analysis Travel Patterns QoS History Household Analysis Lifetime Value Churn Score Clickstream Info Channel Preferences Survey Real-Time Micro- Segmentation 11 Individualization Engaging customers as a segment of one in real-time by listening, capturing, measuring, assessing, and addressing intent across every enterprise touchpoint. Source: Forrester
  12. 12. From Static to Dynamic, Real-Time Micro-Segmentation Age Gender Average Spend Price Plans Usage History Data, Voice, Text Billing History Device Upgrade Traditional Segmentation Age Gender Average Spend Price Plans Usage History Data, Voice, Text Billing History Device Upgrade Device History Other products / services Bundling preferences Offer History Campaign Adoption History Call Center Tickets Location Social Influence Applications Used Content Preferences Usage Details Roaming Analysis Travel Patterns QoS History Household Analysis Lifetime Value Churn Score Clickstream Info Channel Preferences Survey Real-Time Micro- Segmentation 12
  13. 13. A Sample Customer 360° Profile Who are you? Where are you? What have you purchased? What content do you prefer? Who do you know? What can you afford? What is your value to the business? How / why have you contacted us? 13
  14. 14. Customer 360° View - Challenges 16
  15. 15. Key Challenges in Driving a Customer 360° View Data Silos New Data Sources Costs of Data Processing Data Volumes • Multiple Data Silos • Often store overlapping and conflicting information • Data growing rapidly • Internet of Things will add to that substantially • Semi/Un-Structured Data Sources • Streaming / Real-time data • Critical for building a true 360° view • Cost prohibitive • Cost of storing data in relational database systems per year Clickstream Location/GPS Call center Records Social Media 17
  16. 16. Customer 360° View - Traditional Flow Diagram Enterprise Data Warehouse ETL / Stored Procedures Data Marts / Aggregations Location Social Clickstream Segmentation & Churn Analysis BI Tools Marketing Offers Billing & Ordering CRM / Profile Marketing Campaigns 18
  17. 17. Customer 360° View - Traditional Flow Diagram Enterprise Data Warehouse ETL / Stored Procedures Data Marts / Aggregations Location Social Clickstream Segmentation & Churn Analysis BI Tools Marketing Offers Billing & Ordering CRM / Profile Marketing Campaigns Limited Processing Power Does not model easily to traditional database schema Limited Processing Power Storage Scaling very expensive Based on sample / limited data Loss in Fidelity Other / New Data Sources High Voume and Velocity 19
  18. 18. Customer 360° View: Why status quo won’t work? • Most organizations have a static version of the customer profile in their data warehouse • Mainly structured data • Only internal data • Only “important” data • Only limited history • Activity data – clickstream data, content preferences, customer care logs are kept in siloes or not kept at all Data Analyst Data Analyst Data Analyst Data Analyst Data Analyst Detailed Customer Activity Data sits in silos! 20
  19. 19. Journey of Customer through multiple Siloed Systems 21 Social Media Call Center Complaint Management Marketing Coupons Warehouse CRM Shipping Billing Order Processing Web Application
  20. 20. Journey of Customer through multiple Siloed Systems 22 Social Media Call Center Complaint Management Marketing Coupons Warehouse CRM Shipping Billing Order Processing Web Application
  21. 21. Customer 360° View – DataStax Enterprise (Graph) to the rescue 23
  22. 22. Why using Graph for Customer 360° View 24 Traditional RDBMS • Multiple Data Locations => siloes • Not all information related • difficult to access all the different information and to relate to each other Graph Database • Connect all customer-related information • Model multi-connected customer relationships • Special questions graphs can answer • Performance & Scalability Partner Id FirstName LastName BirthDate ProfileImageURL Id CustomerId When Where Type Description Contacts Address Id PartnerId Street StreetNr ZipCode City Country Id Name Price Description ImageURL Products CustomerId ProductId Order Id CustomerId When Where InteractionType Description Customer Service Id ProductId Comment UserId Product Reviews Id PartnerId TwitterId FacebookId Customer Geo Point Customer Address Product ownerOf (since) interestedIn (since, degree) lives (since) ActivityparticipatesIn Termuses uses Employee interactsWith reference id name id when where text id firstName lastName birthDate profileImageURL uses id name imageURL id street streetNr zipCode city id name alternateNames location population elevation Country neighbour belongsTo id name iso2 iso3 isoNumeric capital area population continent uses ActivityType id name belongsTo id name at knows(since) mentions uses
  23. 23. Customer 360° View - Example 25
  24. 24. Geo Point Customer Address Product ownerOf (since) interestedIn (since, degree) lives (since) ActivityparticipatesIn Termuses uses Employee interactsWith reference id name id when where text id firstName lastName birthDate profileImageURL uses id name imageURL id street streetNr zipCode city id name alternateNames location population elevation Country neighbour belongsTo id name iso2 iso3 isoNumeric capital area population continent uses ActivityType id name belongsTo id name at knows(since) mentions uses Customer 360° View - Example 26
  25. 25. Hadoop ClusterdHadoop Cluster DSE Cluster Batch Data Ingestion into Customer Hub Billing & Ordering CRM / Profile Marketing Campaigns Location Social Click stream Sensor Data Weather Data Mobile Apps Emails v File Import / SQL Import Cassandra DSE Graph 27 high latency Event Stream
  26. 26. Batch Data Ingestion into Customer Hub DSE Graph DSE GraphLoaderRDBMS Groovy Script Click Stream 28 Geo Point Customer Address Product ownerOf (since) interestedIn (since, degree) lives (since) ActivityparticipatesIn Termuses uses Employee interactsWith reference id name id when where text id firstName lastName birthDate profileImageURL uses id name imageURL id street streetNr zipCode city id name alternateNames location population elevation Country neighbour belongsTo id name iso2 iso3 isoNumeric capital area population continent uses ActivityType id name belongsTo id name at knows(since) Transformation CSV / JSON Partner Id FirstName LastName BirthDate ProfileImageURL Id CustomerId When Where Type Description Contacts Address Id PartnerId Street StreetNr ZipCode City Country Id Name Price Description ImageURL Products CustomerId ProductId Order Id CustomerId When Where InteractionType Description Customer Service Id ProductId Comment UserId Product Reviews Id PartnerId TwitterId FacebookId Customer Real-Time Insights?
  27. 27. Streaming Ingestion into Customer Event Hub Microservice Cluster Microservice State { } API Stream Processing Cluster Stream Processor State { } API Billing & Ordering CRM / Profile Marketing Campaigns Location Social Click stream Sensor Data Weather Data Mobile Apps Email File Import / SQL Import Event Stream Event Hub Event Hub Event Hub Event Stream Event Stream Hadoop ClusterdHadoop Cluster DSE Cluster Cassandra DSE Graph 32
  28. 28. Process native Event Streams Twitter Tweet-to- Cassandra Cassandra Tweet Graph Tweet-to-Graph Customer Reference Click Stream Cllck Stream Activity-to- Graph DSE Cluster 33 Geo Point Customer Address Product ownerOf (since) interestedIn (since, degree) lives (since) ActivityparticipatesIn Termuses uses Employee interactsWith reference id name id when where text id firstName lastName birthDate profileImageURL uses id name imageURL id street streetNr zipCode city id name alternateNames location population elevation Country neighbour belongsTo id name iso2 iso3 isoNumeric capital area population continent uses ActivityType id name belongsTo id name at knows(since) Event Hub Stream ProcessingSensor
  29. 29. Benchmark Single vs. Scripted Insert 34 • One Event ends up in many modifications of vertex and edges • many round-trips need if done with single API calls • batch API calls into a Groovy script provides 3 – 5x performance gains DSE Graph Tweet-to-Graph Tweet User publishes Term * uses* DSE GraphTweet-to-Graph … ... Geo Point Customer Address Product ownerOf (since) interestedIn (since, degree) lives (since) ActivityparticipatesIn Termuses uses Employee interactsWith reference id name id when where text id firstName lastName birthDate profileImageURL uses id name imageURL id street streetNr zipCode city id name alternateNames location population elevation Country neighbour belongsTo id name iso2 iso3 isoNumeric capital area population continent uses ActivityType id name belongsTo id name at knows(since)
  30. 30. Process Change Data Capture Events CDC Customer-to- Cassandra Cassandra Customer DSE Graph Customer-to- Graph CustomerCDC AddressCDC ContactCDC Aggregate-to- Customer DSE Cluster 39 Geo Point Customer Address Product ownerOf (since) interestedIn (since, degree) lives (since) ActivityparticipatesIn Termuses uses Employee interactsWith reference id name id when where text id firstName lastName birthDate profileImageURL uses id name imageURL id street streetNr zipCode city id name alternateNames location population elevation Country neighbour belongsTo id name iso2 iso3 isoNumeric capital area population continent uses ActivityType id name belongsTo id name at knows(since) Partner Id FirstName LastName BirthDate ProfileImageURL Id CustomerId When Where Type Description Contacts Address Id PartnerId Street StreetNr ZipCode City Country Id Name Price Description ImageURL Products CustomerId ProductId Order Id CustomerId When Where InteractionType Description Customer Service Id ProductId Comment UserId Product Reviews Id PartnerId TwitterId FacebookId Customer Event Hub Stream ProcessingSensor
  31. 31. Streaming Oriented Ingestion into Customer Hub Microservice Cluster Microservice State { } API Stream Processing Cluster Stream Processor State { } API Billing & Ordering CRM / Profile Marketing Campaigns Location Social Click stream Sensor Data Weather Data Mobile Apps Email File Import / SQL Import Event Stream Event Hub Event Hub Event Hub Event Stream Event Stream Hadoop ClusterdHadoop Cluster DSE Cluster Cassandra DSE Graph 40
  32. 32. How to implement an Event Hub? Apache Kafka to the rescue • publish-subscribe messaging system • Designed for processing high-volume, real time activity stream data (logs, metrics, social media, …) • Stateless (passive) architecture, offset-based consumption • Initially developed at LinkedIn, now part of Apache • Peak Load on single cluster: 2 million messages/sec, 4.7 Gigabits/sec inbound, 15 Gigabits/sec outbound Reliable Data Ingestion in Big Data/IoT Kafka Cluster Consumer Consumer Consumer Producer Producer Producer Broker 1 Broker 2 Broker 3 Zookeeper Ensemble
  33. 33. Apache Kafka Connect • Scalably and reliably streaming data between Apache Kafka and other data systems • not an ETL framework • Pre-build connectors available for Data Source and Data Sinks • JDBC (Source) • Cassandra (Source & Sink) • Oracle GoldenGate (Source) • MQTT (Source) • HDFS (Sink) • Elasticsearch (Sink) • MongoDB (Sink) Reliable Data Ingestion in Big Data/IoT Source: Confluent
  34. 34. Declarative Dataflow Definition & Execution 43 Apache NiFi StreamSets
  35. 35. Hadoop ClusterdHadoop Cluster DSE Cluster Streaming Ingestion into Customer Hub OLAP Microservice Cluster Microservice State { } API File Import / SQL Import OLTP Parallel Processing Cassandra Cassandra Stream Processing DSEFS Billing & Ordering CRM / Profile Marketing Campaigns Location Social Click stream Sensor Data Weather Data Mobile Apps Email Event Stream Event Hub Event Hub Event Hub Event Stream Cassandra Replication 44
  36. 36. Hadoop ClusterdHadoop Cluster DSE Cluster Streaming Ingestion into Customer Hub OLAP Microservice Cluster Microservice State { } API File Import / SQL Import OLTP Parallel Processing Cassandra Cassandra Stream Processing DSEFS Billing & Ordering CRM / Profile Marketing Campaigns Location Social Click stream Sensor Data Weather Data Mobile Apps Email Event Stream Event Hub Event Hub Event Hub Event Stream Cassandra Replication 45
  37. 37. Questions which can only be answered by Graph 46 Dependencies • Failure chains • Order of operation Matching / Categorizing Highlight variant of dependencies Clustering Finding things closely related to each other (friends, fraud) Flow / Cost Find distribution problems, efficiencies Similarity Similar paths or patterns Centrality, Search Which nodes are the most connected or relevant Source: Expero
  38. 38. Questions which can only be answered by Graph - Visualize Customer 360 49 Source: Expero
  39. 39. Questions which can only be answered by Graph - Visualize Customer 360 50 KeyLines Cytoscape LinkuriousJS SigmajsD3 Source: Expero
  40. 40. Guido Schmutz Technology Manager guido.schmutz@trivadis.com @gschmutz guidoschmutz.wordpress.com

Related Articles

cluster
troubleshooting
datastax

GitHub - arodrime/Montecristo: Datastax Cluster Health Check Tooling

arodrime

4/3/2024

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

cassandra

microservices

cassandra
microservices