SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
Big	
  Brother	
  for	
  Enterprises:	
  	
  
Social	
  Media	
  Stream	
  Use	
  Cases	
  

Samisa	
  Abeysinghe	
  
VP	
  Developer	
  Evangelism	
  
26	
  Feb	
  2014
About	
  the	
  Presenter	
  
๏ 

๏ 

2	
  

Samisa	
  Abeysinghe	
  
VP	
  Developer	
  Evangelism	
  
samisa@wso2.com	
  	
  
Samisa	
  Abeysinghe,	
  Vice	
  
President	
  of	
  Developer	
  
Evangelism	
  joined	
  the	
  company	
  in	
  
September	
  2005.	
  	
  Prior	
  to	
  the	
  
current	
  role,	
  Samisa	
  used	
  to	
  be	
  
VP	
  of	
  Engineering	
  and	
  managed	
  
the	
  development	
  of	
  WSO2	
  
Carbon	
  based	
  product	
  plaOorm.	
  	
  
About	
  WSO2	
  
๏ 
๏ 

๏ 

Global	
  enterprise,	
  founded	
  in	
  2005	
  
by	
  acknowledged	
  leaders	
  in	
  XML,	
  
web	
  services	
  	
  technologies,	
  
standards	
  	
  and	
  open	
  source	
  
Provides	
  only	
  open	
  source	
  
plaOorm-­‐as-­‐a-­‐service	
  for	
  private,	
  
public	
  and	
  hybrid	
  cloud	
  
deployments	
  

๏ 

๏ 

3	
  

All	
  WSO2	
  products	
  are	
  100%	
  open	
  
source	
  and	
  released	
  under	
  the	
  
Apache	
  License	
  Version	
  2.0.	
  
Is	
  an	
  AcXve	
  Member	
  of	
  OASIS,	
  
Cloud	
  Security	
  Alliance,	
  OSGi	
  
Alliance,	
  AMQP	
  Working	
  Group,	
  
OpenID	
  FoundaXon	
  and	
  W3C.	
  

Driven	
  by	
  InnovaXon	
  

๏ 

Launched	
  first	
  open	
  source	
  API	
  
Management	
  soluXon	
  in	
  2012	
  

๏ 

Launched	
  App	
  Factory	
  in	
  2Q	
  2013	
  

๏ 

Launched	
  Enterprise	
  Store	
  and	
  
first	
  open	
  source	
  Mobile	
  soluXon	
  
in	
  4Q	
  2013	
  
What	
  WSO2	
  Deliver	
  
4	
  
NSA like Monitoring for
Your Enterprise
๏ Analyze volumes of data 	

๏ Address correlation complexities in analytics	

๏ Off line vs Real time operations implications	


๏ Some operations got to be in real time, else the value is lost 	

๏ Summarized data over time (and other) dimensions for analytics 	

A “Big Brother” that keeps an eye on
the whole enterprise 	


5	
  
Why should I bother?
๏ Deal with high volume (terra bites) of information 	

๏ In order to make decisions 	

๏ Real time & Offline 	

๏ Take action	


6	
  
WSO2 :ONLY COMPLETE
& INTEGRATED Platform

๏ Complete and integrated for 	


๏ Data capture	

๏ Analysis: both real-time and batch	

๏ Visualization 	

๏ Action taking business process execution	

Making data driven intelligence for
your enterprise easy	


7	
  
Big Data: Strategy

8	
  
Responsive and Effective

9	
  
WSO2 Big Data Analytics
Platform for Your Enterprise

WSO2	
  Big	
  Data	
  Analy0cs	
  
Pla4orm	
  for	
  Your	
  Enterprise
	
  

10	
  
Key	
  Elements	
  
Data	
  
CollecXon	
  

Taking	
  
AcXon	
  

Data	
  
Analysis	
  

Data	
  
VisualizaXon	
  

11	
  
WSO2 Big Data Analytics
Platform for Your Enterprise

Data Collection	

12	
  

Data Analysis	


Data Visualization &
Taking Action
Use	
  Case	
  Scenario:	
  
Analyzing	
  Twiaer	
  Streams	
  	

	

	


13	
  
Social	
  media	
  …	
  !	
  
o 

Test	
  
o 

	
  	
  

Test	
  
Processing	
  Social	
  Media	
  !!!	
  

	
  	
  
Why	
  Monitor	
  Social	
  Media	
  ?	
  
●  To	
  get	
  useful	
  insight	
  about	
  the	
  market	
  	
  
○  CompeXtor	
  Analysis	
  
○  Customer	
  Trend	
  and	
  Interest	
  

●  IdenXfy	
  and	
  Compare	
  Trends	
  	
  
○  Monitoring	
  the	
  brand	
  
○  Comparing	
  the	
  trends	
  of	
  the	
  public	
  interest	
  
16	
  
WSO2	
  Business	
  AcXvity	
  Monitor
	
  
(BAM)	
  
●  Can	
  capture	
  data	
  from	
  any	
  applicaXon/service	
  	
  
●  APIs,	
  Services	
  or	
  source	
  including	
  file-­‐based	
  data	
  
○  WSO2	
  has	
  lightweight	
  agents	
  to	
  provide	
  	
  
■  raw	
  data	
  from	
  numerous	
  sources	
  	
  
■  as	
  well	
  as	
  support	
  for	
  	
  
●  gateways	
  (lightweight	
  or	
  heavyweight)	
  	
  
●  Service	
  and	
  API	
  proxies	
  
●  Data	
  imports	
  from	
  various	
  sources	
  (including	
  file	
  based	
  data)	
  
●  Any	
  other	
  source	
  (extended	
  agents)	
  

17	
  
WSO2	
  Business	
  AcXvity	
  Monitor
	
  
(BAM)	
  

18	
  
WSO2	
  Complex	
  Event	
  Processor	
  
(CEP)	
  
●  CEP	
  process	
  mulXple	
  event	
  streams	
  generated	
  within	
  the	
  
enterprise	
  to	
  construct	
  data	
  abstracXon	
  and	
  idenXfy	
  
meaningful	
  paaerns	
  among	
  those	
  streams	
  
○  Powered	
  by	
  WSO2	
  Siddhi	
  
■ 
■ 

Processes	
  more	
  than	
  2.5M	
  events/sec	
  on	
  single	
  server	
  (commodity	
  hardware)	
  
Has	
  a	
  powerful	
  and	
  extensible	
  SQL	
  Like	
  Siddhi	
  query	
  language	
  	
  

○  Integrates	
  with	
  any	
  enterprise	
  system	
  for	
  event	
  capture	
  
■ 

Support	
  mulXple	
  transports	
  &	
  event	
  formats:	
  HTTP,	
  JMS	
  &	
  SMTP	
  on	
  XML,	
  JSON,	
  Text	
  &	
  Map
	
  

○  Efficient	
  large	
  volume	
  event	
  publishing	
  to	
  enterprise	
  
systems	
  and	
  custom	
  noXficaXons	
  	
  
■ 
■ 
■ 

19	
  

XML,	
  JSON,	
  Text	
  over	
  HTTP,	
  JMS	
  &	
  SMTP	
  	
  	
  
SMS	
  Support	
  	
  
MySQL	
  DB	
  and	
  Cassandra	
  Support	
  
WSO2	
  Complex	
  Event	
  Processor	
  
(CEP)	
  

20	
  
E.g.	
  Usecases	
  
●  Finding	
  out	
  the	
  trend	
  of	
  #Cloud	
  Twiaer	
  tags	
  
over	
  Xme	
  	
  
●  IdenXfy	
  the	
  public	
  interest	
  on	
  cloud	
  market	
  
leaders	
  based	
  on	
  tweets	
  on	
  #Cloud	
  Twiaer	
  tags	
  	
  
●  Comparing	
  interest	
  trends	
  on	
  cloud	
  market	
  	
  
●  NoXfying	
  via	
  Email	
  when	
  an	
  interesXng	
  tweet	
  
was	
  posted.	
  
21	
  
SoluXon	
  Architecture	
  

22	
  
Twiaer	
  Agent	
  
	
  	
  	
  	
  	
  	
  	
  //Configuring	
  Agent	
  
	
  	
  	
  	
  	
  	
  	
  	
  AgentConfiguraXon	
  agentConfiguraXon	
  =	
  new	
  AgentConfiguraXon();	
  
	
  	
  	
  	
  	
  	
  	
  	
  agentConfiguraXon.setTrustStorePassword("/Users/suho/wso2/dev/twiaer-­‐sample/wso2cep-­‐3.0.0/repository/"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "resources/security/client-­‐truststore.jks");	
  
	
  	
  	
  	
  	
  	
  	
  	
  agentConfiguraXon.setTrustStore("wso2carbon”);	
  
	
  	
  	
  	
  	
  	
  	
  	
  Agent	
  agent	
  =	
  new	
  Agent(agentConfiguraXon);	
  
	
  
	
  	
  	
  	
  	
  	
  	
  	
  //New	
  Data	
  publisher	
  to	
  BAM	
  
	
  	
  	
  	
  	
  	
  	
  	
  final	
  AsyncDataPublisher	
  asyncDataPublisher	
  =	
  new	
  AsyncDataPublisher("tcp://localhost:7611",	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "admin",	
  "admin",	
  agent);	
  
	
  
	
  	
  	
  	
  	
  	
  	
  	
  //Defining	
  the	
  Stream	
  
	
  	
  	
  	
  	
  	
  	
  	
  String	
  STREAM_NAME	
  =	
  "twiaer_data_stream";	
  
	
  	
  	
  	
  	
  	
  	
  	
  String	
  VERSION	
  =	
  "1.0.0";	
  
	
  	
  	
  	
  	
  	
  	
  	
  String	
  streamDefiniXon	
  =	
  "{"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  'name':'"	
  +	
  STREAM_NAME	
  +	
  "',"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  'version':'"	
  +	
  VERSION	
  +	
  "',"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  'nickName':	
  'Twiaer_Data_Stream',"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  'descripXon':	
  'Stream	
  of	
  twiaer	
  data',"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  'payloadData':["	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  {'name':'createdAt','type':'LONG'},"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  {'name':'user','type':'STRING'},"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  {'name':'tweet','type':'STRING'}"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "	
  ]"	
  +	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  "}";	
  
	
  	
  	
  	
  	
  	
  	
  	
  asyncDataPublisher.addStreamDefiniXon(streamDefiniXon,	
  STREAM_NAME,	
  VERSION);	
  
	
  
23	
  
Visualizing	
  #Cloud	
  Twiaer	
  Social	
  
Stream
	
  

24	
  
25	
  
Finding	
  out	
  the	
  trend	
  of	
  #Cloud	
  
Twiaer	
  tags	
  over	
  Xme	
  
๏ 

๏ 
26	
  

insert	
  overwrite	
  table	
  Twi@erDataStreamStatsPerMinute	
  select	
  count(1)	
  as	
  
total_tweet_count,	
  year(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  
HH:mm:ss.SSS'	
  ))	
  as	
  year,	
  month(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐
MM-­‐dd	
  HH:mm:ss.SSS'	
  ))	
  as	
  month,day(from_unixXme(cast(created_at/1000	
  as	
  
BIGINT),'yyyy-­‐MM-­‐dd	
  HH:mm:ss.SSS'	
  ))	
  as	
  day,hour(from_unixXme(cast(created_at/
1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  HH:mm:ss.SSS'	
  ))	
  as	
  hour,	
  
minute(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  HH:mm:ss.SSS'	
  ))	
  
as	
  minute,concat(substring(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),	
  'yyyy-­‐MM-­‐
dd	
  HH:mm:ss'),0,16),':00')	
  as	
  Xme	
  from	
  TwiaerDataStream	
  group	
  by	
  
year(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  HH:mm:ss.SSS'	
  )),	
  
month(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  
HH:mm:ss.SSS'	
  )),day(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  
HH:mm:ss.SSS'	
  )),hour(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  
HH:mm:ss.SSS'	
  )),minute(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),'yyyy-­‐MM-­‐dd	
  
HH:mm:ss.SSS'	
  )),substring(from_unixXme(cast(created_at/1000	
  as	
  BIGINT),	
  'yyyy-­‐MM-­‐
dd	
  HH:mm:ss'),0,16);	
  
	
  
	
  
27	
  
IdenXfy	
  the	
  public	
  interest	
  on	
  
cloud	
  market	
  leaders	
  	
  
insert	
  overwrite	
  table	
  CountOnCompanyTwi@erDataStream	
  	
  
select	
  'IBM'	
  as	
  company,	
  count(1)	
  as	
  cnt	
  from	
  TwiaerDataStream	
  where	
  instr(lower(tweet),	
  
'ibm')	
  >0	
  ;	
  
	
  
insert	
  overwrite	
  table	
  CountOnCompanyTwi@erDataStream	
  	
  
select	
  'Google'	
  as	
  company,	
  count(1)	
  as	
  cnt	
  from	
  TwiaerDataStream	
  where	
  
instr(lower(tweet),	
  'google')	
  >0	
  ;	
  
	
  
insert	
  overwrite	
  table	
  CountOnCompanyTwi@erDataStream	
  	
  
select	
  'VMware'	
  as	
  company,	
  count(1)	
  as	
  cnt	
  from	
  TwiaerDataStream	
  where	
  
instr(lower(tweet),	
  'vmware')	
  >0	
  ;	
  
	
  
insert	
  overwrite	
  table	
  CountOnCompanyTwi@erDataStream	
  	
  
select	
  'Azure'	
  as	
  company,	
  count(1)	
  as	
  cnt	
  from	
  TwiaerDataStream	
  where	
  instr(lower(tweet),	
  
'azure')	
  >0	
  ;	
  
	
  
	
  
28	
  
29	
  
Comparing	
  interest	
  trends	
  on	
  
cloud	
  market
	
  

30	
  
31	
  
NoXfying	
  via	
  Email	
  when	
  an	
  
interesXng	
  tweet	
  was	
  posted!
	
  
&	
  Take	
  AcXon
	
  

32	
  
CEP:	
  Retweet	
  NoXficaXon	
  	
  
from	
  twiaerStream[tweet	
  contains	
  'RT	
  ']	
  	
  
insert	
  into	
  reTweetStream;	
  
	
  
	
  
	
  

33	
  
Demo	
  …..	
  
http://wso2.com/library/demonstrations/2014/02/screencast-bigbrother-for-the-enterprise-social-stream-analysis/ 	


34	
  
Log	
  Analysis	
  Demos	
  …..	
  
http://wso2.com/library/demonstrations/2014/02/screencast-monitoring-system-logs-with-wso2-business-activity-monitor/ 	


http://wso2.com/library/demonstrations/2014/02/screencast-http-log-monitoring-with-wso2-business-activity-monitor/ 	


35	
  
Business	
  Model	
  

36	
  
Call	
  to	
  acXon	
  page	
  
๏ 
๏ 

Big	
  Data	
  Webinar	
  Series:	
  
hap://wso2.com/landing/wso2-­‐bigbrother-­‐webinar-­‐series/	
  	
  

๏ 

WSO2	
  Business	
  AcXvity	
  Monitor:	
  
hap://wso2.com/products/business-­‐acXvity-­‐monitor/	
  	
  

๏ 

WSO2	
  BAM	
  Docs:	
  
hap://docs.wso2.org/display/BAM240/WSO2+Business+AcXvity+Monitor
+DocumentaXon	
  	
  

๏ 

WSO2	
  Complex	
  Event	
  Processor:	
  
hap://wso2.com/products/complex-­‐event-­‐processor/	
  	
  

๏ 

37	
  

Be	
  your	
  own	
  NSA:	
  hap://wso2.com/landing/nsa/	
  	
  

WSO2	
  CEP	
  Docs:	
  
hap://docs.wso2.org/display/CEP300/WSO2+Complex+Event+Processor
+DocumentaXon	
  	
  
Contact	
  us	
  !	
  

Más contenido relacionado

Similar a Social Stream Analysis Use Cases

Big Data, Analytics and Real Time Event Processing
Big Data, Analytics and Real Time Event Processing Big Data, Analytics and Real Time Event Processing
Big Data, Analytics and Real Time Event Processing
WSO2
 
2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...
2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...
2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...
Timothy Spann
 
Big Brother for Enterprises - The WSO2 Advantage
Big Brother for Enterprises - The WSO2 AdvantageBig Brother for Enterprises - The WSO2 Advantage
Big Brother for Enterprises - The WSO2 Advantage
WSO2
 
WSO2 Product Release webinar - WSO2 BAM 2.5
WSO2 Product Release webinar - WSO2 BAM 2.5WSO2 Product Release webinar - WSO2 BAM 2.5
WSO2 Product Release webinar - WSO2 BAM 2.5
WSO2
 

Similar a Social Stream Analysis Use Cases (20)

WSO2 Analytics Platform - The one stop shop for all your data needs
WSO2 Analytics Platform - The one stop shop for all your data needsWSO2 Analytics Platform - The one stop shop for all your data needs
WSO2 Analytics Platform - The one stop shop for all your data needs
 
Big Data, Analytics and Real Time Event Processing
Big Data, Analytics and Real Time Event Processing Big Data, Analytics and Real Time Event Processing
Big Data, Analytics and Real Time Event Processing
 
Using Data Science & Serverless Python to find apartment in Toronto
Using Data Science & Serverless Python to find apartment in TorontoUsing Data Science & Serverless Python to find apartment in Toronto
Using Data Science & Serverless Python to find apartment in Toronto
 
2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...
2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...
2024 February 28 - NYC - Meetup Unlocking Financial Data with Real-Time Pipel...
 
Big Brother for Enterprises - The WSO2 Advantage
Big Brother for Enterprises - The WSO2 AdvantageBig Brother for Enterprises - The WSO2 Advantage
Big Brother for Enterprises - The WSO2 Advantage
 
FullDay Faeder on Friday
FullDay Faeder on Friday FullDay Faeder on Friday
FullDay Faeder on Friday
 
FullDay on Fridays Feb. 3, 2017
FullDay on Fridays Feb. 3, 2017FullDay on Fridays Feb. 3, 2017
FullDay on Fridays Feb. 3, 2017
 
GIB2020 - Building Event-Driven Integration Architectures
GIB2020 - Building Event-Driven Integration ArchitecturesGIB2020 - Building Event-Driven Integration Architectures
GIB2020 - Building Event-Driven Integration Architectures
 
WSO2 Product Release webinar - WSO2 BAM 2.5
WSO2 Product Release webinar - WSO2 BAM 2.5WSO2 Product Release webinar - WSO2 BAM 2.5
WSO2 Product Release webinar - WSO2 BAM 2.5
 
Primend Pilvekonverents - Azure Infrastruktuur
Primend Pilvekonverents - Azure InfrastruktuurPrimend Pilvekonverents - Azure Infrastruktuur
Primend Pilvekonverents - Azure Infrastruktuur
 
Introduction to WSO2 Data Analytics Platform
Introduction to  WSO2 Data Analytics PlatformIntroduction to  WSO2 Data Analytics Platform
Introduction to WSO2 Data Analytics Platform
 
Serverless is FaaS-tastic - All Things Open Meet-up
Serverless is FaaS-tastic - All Things Open Meet-upServerless is FaaS-tastic - All Things Open Meet-up
Serverless is FaaS-tastic - All Things Open Meet-up
 
Discover Data That Matters- Deep dive into WSO2 Analytics
Discover Data That Matters- Deep dive into WSO2 AnalyticsDiscover Data That Matters- Deep dive into WSO2 Analytics
Discover Data That Matters- Deep dive into WSO2 Analytics
 
Building a Real-Time Analytics Application with Apache Pulsar and Apache Pinot
Building a Real-Time Analytics Application with  Apache Pulsar and Apache PinotBuilding a Real-Time Analytics Application with  Apache Pulsar and Apache Pinot
Building a Real-Time Analytics Application with Apache Pulsar and Apache Pinot
 
OSA Con 2022 - Building a Real-time Analytics Application with Apache Pulsar ...
OSA Con 2022 - Building a Real-time Analytics Application with Apache Pulsar ...OSA Con 2022 - Building a Real-time Analytics Application with Apache Pulsar ...
OSA Con 2022 - Building a Real-time Analytics Application with Apache Pulsar ...
 
Extending WSO2 Analytics Platform
Extending WSO2 Analytics PlatformExtending WSO2 Analytics Platform
Extending WSO2 Analytics Platform
 
Self-Service Data Ingestion Using NiFi, StreamSets & Kafka
Self-Service Data Ingestion Using NiFi, StreamSets & KafkaSelf-Service Data Ingestion Using NiFi, StreamSets & Kafka
Self-Service Data Ingestion Using NiFi, StreamSets & Kafka
 
OpenWhisk - A platform for cloud native, serverless, event driven apps
OpenWhisk - A platform for cloud native, serverless, event driven appsOpenWhisk - A platform for cloud native, serverless, event driven apps
OpenWhisk - A platform for cloud native, serverless, event driven apps
 
Getting insights from IoT data with Apache Spark and Apache Bahir
Getting insights from IoT data with Apache Spark and Apache BahirGetting insights from IoT data with Apache Spark and Apache Bahir
Getting insights from IoT data with Apache Spark and Apache Bahir
 
WSO2 Big Data Analytics Platform
WSO2 Big Data Analytics PlatformWSO2 Big Data Analytics Platform
WSO2 Big Data Analytics Platform
 

Más de WSO2

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected Products
WSO2
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital Businesses
WSO2
 

Más de WSO2 (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
How to Create a Service in Choreo
How to Create a Service in ChoreoHow to Create a Service in Choreo
How to Create a Service in Choreo
 
Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023Ballerina Tech Talk - May 2023
Ballerina Tech Talk - May 2023
 
Platform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on AzurePlatform Strategy to Deliver Digital Experiences on Azure
Platform Strategy to Deliver Digital Experiences on Azure
 
GartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdfGartnerITSymSessionSlides.pdf
GartnerITSymSessionSlides.pdf
 
[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes[Webinar] How to Create an API in Minutes
[Webinar] How to Create an API in Minutes
 
Modernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos IdentityModernizing the Student Journey with Ethos Identity
Modernizing the Student Journey with Ethos Identity
 
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
Choreo - Build unique digital experiences on WSO2's platform, secured by Etho...
 
CIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdfCIO Summit Berlin 2022.pptx.pdf
CIO Summit Berlin 2022.pptx.pdf
 
Delivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing ChoreoDelivering New Digital Experiences Fast - Introducing Choreo
Delivering New Digital Experiences Fast - Introducing Choreo
 
Fueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected ProductsFueling the Digital Experience Economy with Connected Products
Fueling the Digital Experience Economy with Connected Products
 
A Reference Methodology for Agile Digital Businesses
 A Reference Methodology for Agile Digital Businesses A Reference Methodology for Agile Digital Businesses
A Reference Methodology for Agile Digital Businesses
 
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
Workflows in WSO2 API Manager - WSO2 API Manager Community Call (12/15/2021)
 
Lessons from the pandemic - From a single use case to true transformation
 Lessons from the pandemic - From a single use case to true transformation Lessons from the pandemic - From a single use case to true transformation
Lessons from the pandemic - From a single use case to true transformation
 
Adding Liveliness to Banking Experiences
Adding Liveliness to Banking ExperiencesAdding Liveliness to Banking Experiences
Adding Liveliness to Banking Experiences
 
Building a Future-ready Bank
Building a Future-ready BankBuilding a Future-ready Bank
Building a Future-ready Bank
 
WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021WSO2 API Manager Community Call - November 2021
WSO2 API Manager Community Call - November 2021
 
[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs[API World ] - Managing Asynchronous APIs
[API World ] - Managing Asynchronous APIs
 
[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment[API World 2021 ] - Understanding Cloud Native Deployment
[API World 2021 ] - Understanding Cloud Native Deployment
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Social Stream Analysis Use Cases

  • 1. Big  Brother  for  Enterprises:     Social  Media  Stream  Use  Cases   Samisa  Abeysinghe   VP  Developer  Evangelism   26  Feb  2014
  • 2. About  the  Presenter   ๏  ๏  2   Samisa  Abeysinghe   VP  Developer  Evangelism   samisa@wso2.com     Samisa  Abeysinghe,  Vice   President  of  Developer   Evangelism  joined  the  company  in   September  2005.    Prior  to  the   current  role,  Samisa  used  to  be   VP  of  Engineering  and  managed   the  development  of  WSO2   Carbon  based  product  plaOorm.    
  • 3. About  WSO2   ๏  ๏  ๏  Global  enterprise,  founded  in  2005   by  acknowledged  leaders  in  XML,   web  services    technologies,   standards    and  open  source   Provides  only  open  source   plaOorm-­‐as-­‐a-­‐service  for  private,   public  and  hybrid  cloud   deployments   ๏  ๏  3   All  WSO2  products  are  100%  open   source  and  released  under  the   Apache  License  Version  2.0.   Is  an  AcXve  Member  of  OASIS,   Cloud  Security  Alliance,  OSGi   Alliance,  AMQP  Working  Group,   OpenID  FoundaXon  and  W3C.   Driven  by  InnovaXon   ๏  Launched  first  open  source  API   Management  soluXon  in  2012   ๏  Launched  App  Factory  in  2Q  2013   ๏  Launched  Enterprise  Store  and   first  open  source  Mobile  soluXon   in  4Q  2013  
  • 5. NSA like Monitoring for Your Enterprise ๏ Analyze volumes of data ๏ Address correlation complexities in analytics ๏ Off line vs Real time operations implications ๏ Some operations got to be in real time, else the value is lost ๏ Summarized data over time (and other) dimensions for analytics A “Big Brother” that keeps an eye on the whole enterprise 5  
  • 6. Why should I bother? ๏ Deal with high volume (terra bites) of information ๏ In order to make decisions ๏ Real time & Offline ๏ Take action 6  
  • 7. WSO2 :ONLY COMPLETE & INTEGRATED Platform ๏ Complete and integrated for ๏ Data capture ๏ Analysis: both real-time and batch ๏ Visualization ๏ Action taking business process execution Making data driven intelligence for your enterprise easy 7  
  • 10. WSO2 Big Data Analytics Platform for Your Enterprise WSO2  Big  Data  Analy0cs   Pla4orm  for  Your  Enterprise   10  
  • 11. Key  Elements   Data   CollecXon   Taking   AcXon   Data   Analysis   Data   VisualizaXon   11  
  • 12. WSO2 Big Data Analytics Platform for Your Enterprise Data Collection 12   Data Analysis Data Visualization & Taking Action
  • 13. Use  Case  Scenario:   Analyzing  Twiaer  Streams   13  
  • 14. Social  media  …  !   o  Test   o      Test  
  • 15. Processing  Social  Media  !!!      
  • 16. Why  Monitor  Social  Media  ?   ●  To  get  useful  insight  about  the  market     ○  CompeXtor  Analysis   ○  Customer  Trend  and  Interest   ●  IdenXfy  and  Compare  Trends     ○  Monitoring  the  brand   ○  Comparing  the  trends  of  the  public  interest   16  
  • 17. WSO2  Business  AcXvity  Monitor   (BAM)   ●  Can  capture  data  from  any  applicaXon/service     ●  APIs,  Services  or  source  including  file-­‐based  data   ○  WSO2  has  lightweight  agents  to  provide     ■  raw  data  from  numerous  sources     ■  as  well  as  support  for     ●  gateways  (lightweight  or  heavyweight)     ●  Service  and  API  proxies   ●  Data  imports  from  various  sources  (including  file  based  data)   ●  Any  other  source  (extended  agents)   17  
  • 18. WSO2  Business  AcXvity  Monitor   (BAM)   18  
  • 19. WSO2  Complex  Event  Processor   (CEP)   ●  CEP  process  mulXple  event  streams  generated  within  the   enterprise  to  construct  data  abstracXon  and  idenXfy   meaningful  paaerns  among  those  streams   ○  Powered  by  WSO2  Siddhi   ■  ■  Processes  more  than  2.5M  events/sec  on  single  server  (commodity  hardware)   Has  a  powerful  and  extensible  SQL  Like  Siddhi  query  language     ○  Integrates  with  any  enterprise  system  for  event  capture   ■  Support  mulXple  transports  &  event  formats:  HTTP,  JMS  &  SMTP  on  XML,  JSON,  Text  &  Map   ○  Efficient  large  volume  event  publishing  to  enterprise   systems  and  custom  noXficaXons     ■  ■  ■  19   XML,  JSON,  Text  over  HTTP,  JMS  &  SMTP       SMS  Support     MySQL  DB  and  Cassandra  Support  
  • 20. WSO2  Complex  Event  Processor   (CEP)   20  
  • 21. E.g.  Usecases   ●  Finding  out  the  trend  of  #Cloud  Twiaer  tags   over  Xme     ●  IdenXfy  the  public  interest  on  cloud  market   leaders  based  on  tweets  on  #Cloud  Twiaer  tags     ●  Comparing  interest  trends  on  cloud  market     ●  NoXfying  via  Email  when  an  interesXng  tweet   was  posted.   21  
  • 23. Twiaer  Agent                //Configuring  Agent                  AgentConfiguraXon  agentConfiguraXon  =  new  AgentConfiguraXon();                  agentConfiguraXon.setTrustStorePassword("/Users/suho/wso2/dev/twiaer-­‐sample/wso2cep-­‐3.0.0/repository/"  +                                  "resources/security/client-­‐truststore.jks");                  agentConfiguraXon.setTrustStore("wso2carbon”);                  Agent  agent  =  new  Agent(agentConfiguraXon);                    //New  Data  publisher  to  BAM                  final  AsyncDataPublisher  asyncDataPublisher  =  new  AsyncDataPublisher("tcp://localhost:7611",                                  "admin",  "admin",  agent);                    //Defining  the  Stream                  String  STREAM_NAME  =  "twiaer_data_stream";                  String  VERSION  =  "1.0.0";                  String  streamDefiniXon  =  "{"  +                                  "  'name':'"  +  STREAM_NAME  +  "',"  +                                  "  'version':'"  +  VERSION  +  "',"  +                                  "  'nickName':  'Twiaer_Data_Stream',"  +                                  "  'descripXon':  'Stream  of  twiaer  data',"  +                                  "  'payloadData':["  +                                  "  {'name':'createdAt','type':'LONG'},"  +                                  "  {'name':'user','type':'STRING'},"  +                                  "  {'name':'tweet','type':'STRING'}"  +                                  "  ]"  +                                  "}";                  asyncDataPublisher.addStreamDefiniXon(streamDefiniXon,  STREAM_NAME,  VERSION);     23  
  • 24. Visualizing  #Cloud  Twiaer  Social   Stream   24  
  • 25. 25  
  • 26. Finding  out  the  trend  of  #Cloud   Twiaer  tags  over  Xme   ๏  ๏  26   insert  overwrite  table  Twi@erDataStreamStatsPerMinute  select  count(1)  as   total_tweet_count,  year(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐MM-­‐dd   HH:mm:ss.SSS'  ))  as  year,  month(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐ MM-­‐dd  HH:mm:ss.SSS'  ))  as  month,day(from_unixXme(cast(created_at/1000  as   BIGINT),'yyyy-­‐MM-­‐dd  HH:mm:ss.SSS'  ))  as  day,hour(from_unixXme(cast(created_at/ 1000  as  BIGINT),'yyyy-­‐MM-­‐dd  HH:mm:ss.SSS'  ))  as  hour,   minute(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐MM-­‐dd  HH:mm:ss.SSS'  ))   as  minute,concat(substring(from_unixXme(cast(created_at/1000  as  BIGINT),  'yyyy-­‐MM-­‐ dd  HH:mm:ss'),0,16),':00')  as  Xme  from  TwiaerDataStream  group  by   year(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐MM-­‐dd  HH:mm:ss.SSS'  )),   month(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐MM-­‐dd   HH:mm:ss.SSS'  )),day(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐MM-­‐dd   HH:mm:ss.SSS'  )),hour(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐MM-­‐dd   HH:mm:ss.SSS'  )),minute(from_unixXme(cast(created_at/1000  as  BIGINT),'yyyy-­‐MM-­‐dd   HH:mm:ss.SSS'  )),substring(from_unixXme(cast(created_at/1000  as  BIGINT),  'yyyy-­‐MM-­‐ dd  HH:mm:ss'),0,16);      
  • 27. 27  
  • 28. IdenXfy  the  public  interest  on   cloud  market  leaders     insert  overwrite  table  CountOnCompanyTwi@erDataStream     select  'IBM'  as  company,  count(1)  as  cnt  from  TwiaerDataStream  where  instr(lower(tweet),   'ibm')  >0  ;     insert  overwrite  table  CountOnCompanyTwi@erDataStream     select  'Google'  as  company,  count(1)  as  cnt  from  TwiaerDataStream  where   instr(lower(tweet),  'google')  >0  ;     insert  overwrite  table  CountOnCompanyTwi@erDataStream     select  'VMware'  as  company,  count(1)  as  cnt  from  TwiaerDataStream  where   instr(lower(tweet),  'vmware')  >0  ;     insert  overwrite  table  CountOnCompanyTwi@erDataStream     select  'Azure'  as  company,  count(1)  as  cnt  from  TwiaerDataStream  where  instr(lower(tweet),   'azure')  >0  ;       28  
  • 29. 29  
  • 30. Comparing  interest  trends  on   cloud  market   30  
  • 31. 31  
  • 32. NoXfying  via  Email  when  an   interesXng  tweet  was  posted!   &  Take  AcXon   32  
  • 33. CEP:  Retweet  NoXficaXon     from  twiaerStream[tweet  contains  'RT  ']     insert  into  reTweetStream;         33  
  • 35. Log  Analysis  Demos  …..   http://wso2.com/library/demonstrations/2014/02/screencast-monitoring-system-logs-with-wso2-business-activity-monitor/ http://wso2.com/library/demonstrations/2014/02/screencast-http-log-monitoring-with-wso2-business-activity-monitor/ 35  
  • 37. Call  to  acXon  page   ๏  ๏  Big  Data  Webinar  Series:   hap://wso2.com/landing/wso2-­‐bigbrother-­‐webinar-­‐series/     ๏  WSO2  Business  AcXvity  Monitor:   hap://wso2.com/products/business-­‐acXvity-­‐monitor/     ๏  WSO2  BAM  Docs:   hap://docs.wso2.org/display/BAM240/WSO2+Business+AcXvity+Monitor +DocumentaXon     ๏  WSO2  Complex  Event  Processor:   hap://wso2.com/products/complex-­‐event-­‐processor/     ๏  37   Be  your  own  NSA:  hap://wso2.com/landing/nsa/     WSO2  CEP  Docs:   hap://docs.wso2.org/display/CEP300/WSO2+Complex+Event+Processor +DocumentaXon