SlideShare a Scribd company logo
<SOCIAL NETWORK ARCHITECTURE>
@DEV ZONE
Overview architecture
Web Apps
Web Service APIs
Mobile Apps
4. Front-end
SSO
User
ranking
1. Core User
User Data Storage
Real-time
Notification
News Feed
2. User Activity System
User Activity Storage
3. Others
Real-time Chat
Search System Suggestion System
3. Big Data System
Big Data Storage
…
External Apps
Service Data
User
Administrator
Notification & Feed System –
NFS (Need For Speed :D)
2. NFS: Definition
• Notification: to owner
• News feed: to owner connection
2. NFS: Process
STORAGE
Activities
Connections
AGGREGATION
Feed Items
Notifications
DISPLAY
HTMLs
JSONs
AJAXs
2. NFS: STORAGE
• Actions
• Ronaldo followed Messi
• Ronaldo tagged Messi on a Post
Subject Verb Object Target
User
Group
Follow
Add (friend, member)
Join
Post
Like
Share
Comment
Tag
Update
User
Group
Content
User
Group
Content
2. NFS: STORAGE
• Connections
• Ronaldo follow Messi
• Ronaldo post a Content
• Ronaldo comment a Content
• Ronaldo join a Group
• …
Content
Group
User
User
post, follow,
tag, comment
2. NFS: STORAGE
• Store actions -> activities
• [owner, [{ subject, verb, object, target }]]
• Examples:
• Ronaldo followed Messi
• [ Ronaldo, [{ Ronaldo, follow, Messi, null }]]
• Ronaldo added friend to Messi
• [ Ronaldo, [{ Ronaldo, friend, Messi, null }]]
• [Messi, [{ Ronaldo, friend, Messi, null }]]
• Ronaldo post Content on a Group
• [ Ronaldo, [{ Ronaldo, post, Content, Group }]]
• [Content, [{ Ronaldo, post, Content, Group }]]
• [ Group, [{ Ronaldo, post, Content, Group }]]
• Ronaldo tagged Messi on a Post
• [ Ronaldo, [{ Ronaldo, tag, Messi, Post }]]
• [ Messi, [{ Ronaldo, tag, Messi, Post }]]
• [ Post, [{ Ronaldo, tag, Messi, Post }]]
2. NFS: STORAGE
• Store Connections
• Model
• [from, to, weight]
from to weight
A B 0.1
A C 0.2
C A 0.3
2. NFS: AGGREGATION
• News feed Plans
• Pull: generate feed item for requested user as soon as he|she request
• Push: generate feed item for connected users as soon as a user action
• Pull & Push
• Active user  push
• Other  pull
• Schedule: generate feed item for connected user
2. NFS: AGGREGATION
• Steps
1. Iterate Activities
2. Select Connections
3. Generate Feed items
 Focus Push plan
2. NFS: AGGREGATION
• Select connections
• Activities: Ronaldo post Content on a Group
• Connections
owner subject verb object target
Ronaldo Ronaldo Post Content Group
Group Ronaldo Post Content Group
from to weight
Neymar Ronaldo 0.5
Kaka Ronaldo 0.5
Suarez Messi 0.8
Kaka Group 0.5
• Generate Feed items
• Feed items
owner order SVO VOT Data
Neymar 1.1 RPC PCG {}
Kaka 1.2 RPC PCG {}
Kaka 1.5 RPC PCG {}
2. NFS: AGGREGATION
• Feed items
1.1
Feed item
0x0001
0x0002
1.2
Feed item
0x0001(RPC)
0x101(PCG)
1.5
Feed item
0x0001(RPC)
0x101(PCG)
2. NFS: DISPLAY
• Front-ends
• Web: HTML, JSON, AJAX
• Mobile: HTML, JSON, XML
• API: JSON
2. NFS: DISPLAY
• Group
• Example: Ronaldo and Messi commented on Content
• Get relation contents
• Generate HTML, JSON
1.2
Feed item
0x0011
0x101
1.5
Feed item
0x0001
0x101

More Related Content

What's hot

Twapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work ProductsTwapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work ProductsJohn O'Brien III
 
Metadata based statistics for DSpace
Metadata based statistics for DSpaceMetadata based statistics for DSpace
Metadata based statistics for DSpace
Bram Luyten
 
Strayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-new
Strayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-newStrayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-new
Strayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-new
krystalhero123
 
Mendeley
MendeleyMendeley
Mendeley
TonyCherian
 
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks newStrayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
vikscarter
 
Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...
Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...
Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...Anil Mishra
 
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks newStrayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
olivergeorg
 
Biothings presentation
Biothings presentationBiothings presentation
Biothings presentation
Cyrus Afrasiabi
 

What's hot (10)

Twapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work ProductsTwapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work Products
 
Metadata based statistics for DSpace
Metadata based statistics for DSpaceMetadata based statistics for DSpace
Metadata based statistics for DSpace
 
Strayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-new
Strayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-newStrayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-new
Strayer cis-273-week-2-lab-assignment-2-three-web-pages-with-hyperlinks-new
 
Mendeley
MendeleyMendeley
Mendeley
 
Endnote Gaya UKM
Endnote Gaya UKMEndnote Gaya UKM
Endnote Gaya UKM
 
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks newStrayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
 
Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...
Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...
Rss technology -a_tool_to_expedite_up-to-date_information_for_library_users -...
 
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks newStrayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
Strayer cis 273 week 2 lab assignment 2 three web pages with hyperlinks new
 
Biothings presentation
Biothings presentationBiothings presentation
Biothings presentation
 
Mendeley
MendeleyMendeley
Mendeley
 

Viewers also liked

Social network architecture - Part 1. Core user
Social network architecture - Part 1. Core userSocial network architecture - Part 1. Core user
Social network architecture - Part 1. Core user
Phu Luong Trong
 
Citihub Open Source and Cloud approach to Social Media Listening
Citihub Open Source and Cloud approach to Social Media ListeningCitihub Open Source and Cloud approach to Social Media Listening
Citihub Open Source and Cloud approach to Social Media Listening
Chris Allison
 
Facebook architecture
Facebook architectureFacebook architecture
Facebook architecture
mysqlops
 
Social and-psychological-impact-of-social-networking-sites
Social and-psychological-impact-of-social-networking-sitesSocial and-psychological-impact-of-social-networking-sites
Social and-psychological-impact-of-social-networking-sitesSumit Malhotra
 
Social network architecture - Part 3. Big data - Machine learning
Social network architecture - Part 3. Big data - Machine learningSocial network architecture - Part 3. Big data - Machine learning
Social network architecture - Part 3. Big data - Machine learning
Phu Luong Trong
 
OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??
Guy Vinograd ☁
 
Social Media, Cloud Computing and architecture
Social Media, Cloud Computing and architectureSocial Media, Cloud Computing and architecture
Social Media, Cloud Computing and architecture
Rick Mans
 
Lessons from Highly Scalable Architectures at Social Networking Sites
Lessons from Highly Scalable Architectures at Social Networking SitesLessons from Highly Scalable Architectures at Social Networking Sites
Lessons from Highly Scalable Architectures at Social Networking Sites
Patrick Senti
 
Researching Social Media – Big Data and Social Media Analysis
Researching Social Media – Big Data and Social Media AnalysisResearching Social Media – Big Data and Social Media Analysis
Researching Social Media – Big Data and Social Media Analysis
Farida Vis
 
What's behind facebook
What's behind facebookWhat's behind facebook
What's behind facebook
Ajen 陳
 
Social Networking: Past, Present & Future
Social Networking: Past, Present & FutureSocial Networking: Past, Present & Future
Social Networking: Past, Present & Future
Mark Suster
 
Facebook Architecture - Breaking it Open
Facebook Architecture - Breaking it OpenFacebook Architecture - Breaking it Open
Facebook Architecture - Breaking it Open
HARMAN Services
 
Social Networking Project (website) full documentation
Social Networking Project (website) full documentation Social Networking Project (website) full documentation
Social Networking Project (website) full documentation
Tenzin Tendar
 
The impact of social media
The impact of social mediaThe impact of social media
The impact of social media
ememdesign
 
Role and impact of media on society final ppt............
Role and impact of media on society final ppt............Role and impact of media on society final ppt............
Role and impact of media on society final ppt............Aaryendr
 
Impact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School ChildrenImpact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School Children
Reeba Sara Koshy
 
Social Networking Presentation
Social Networking PresentationSocial Networking Presentation
Social Networking Presentation
Anusorn Kansap
 
Social networking PPT
Social networking PPTSocial networking PPT
Social networking PPT
varun0912
 

Viewers also liked (20)

Social network architecture - Part 1. Core user
Social network architecture - Part 1. Core userSocial network architecture - Part 1. Core user
Social network architecture - Part 1. Core user
 
Citihub Open Source and Cloud approach to Social Media Listening
Citihub Open Source and Cloud approach to Social Media ListeningCitihub Open Source and Cloud approach to Social Media Listening
Citihub Open Source and Cloud approach to Social Media Listening
 
Facebook architecture
Facebook architectureFacebook architecture
Facebook architecture
 
Social and-psychological-impact-of-social-networking-sites
Social and-psychological-impact-of-social-networking-sitesSocial and-psychological-impact-of-social-networking-sites
Social and-psychological-impact-of-social-networking-sites
 
Social network architecture - Part 3. Big data - Machine learning
Social network architecture - Part 3. Big data - Machine learningSocial network architecture - Part 3. Big data - Machine learning
Social network architecture - Part 3. Big data - Machine learning
 
OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??OK, I Need an IoT Service. Now What??
OK, I Need an IoT Service. Now What??
 
Social Media, Cloud Computing and architecture
Social Media, Cloud Computing and architectureSocial Media, Cloud Computing and architecture
Social Media, Cloud Computing and architecture
 
Lessons from Highly Scalable Architectures at Social Networking Sites
Lessons from Highly Scalable Architectures at Social Networking SitesLessons from Highly Scalable Architectures at Social Networking Sites
Lessons from Highly Scalable Architectures at Social Networking Sites
 
Researching Social Media – Big Data and Social Media Analysis
Researching Social Media – Big Data and Social Media AnalysisResearching Social Media – Big Data and Social Media Analysis
Researching Social Media – Big Data and Social Media Analysis
 
What's behind facebook
What's behind facebookWhat's behind facebook
What's behind facebook
 
Social networking
Social networkingSocial networking
Social networking
 
Social Networking: Past, Present & Future
Social Networking: Past, Present & FutureSocial Networking: Past, Present & Future
Social Networking: Past, Present & Future
 
Facebook Architecture - Breaking it Open
Facebook Architecture - Breaking it OpenFacebook Architecture - Breaking it Open
Facebook Architecture - Breaking it Open
 
Social Networking Project (website) full documentation
Social Networking Project (website) full documentation Social Networking Project (website) full documentation
Social Networking Project (website) full documentation
 
The impact of social media
The impact of social mediaThe impact of social media
The impact of social media
 
Role and impact of media on society final ppt............
Role and impact of media on society final ppt............Role and impact of media on society final ppt............
Role and impact of media on society final ppt............
 
Impact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School ChildrenImpact of Social Networking Sites on Secondary School Children
Impact of Social Networking Sites on Secondary School Children
 
Social Networking Presentation
Social Networking PresentationSocial Networking Presentation
Social Networking Presentation
 
Presentation social network
Presentation social networkPresentation social network
Presentation social network
 
Social networking PPT
Social networking PPTSocial networking PPT
Social networking PPT
 

Similar to Social network architecture - Part 2. News feed

Social features sp2013
Social features sp2013Social features sp2013
Social features sp2013
Gayathri Narayanan
 
Gnizr Feed
Gnizr FeedGnizr Feed
Gnizr Feed
pdscomp
 
Rails scaling
Rails scalingRails scaling
Rails scaling
Sebastian Roth
 
Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)
SPC Adriatics
 
Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)
SPC Adriatics
 
Beyond Social
Beyond SocialBeyond Social
Beyond Social
SPC Adriatics
 
F8 tech talk_pinterest_v4
F8 tech talk_pinterest_v4F8 tech talk_pinterest_v4
F8 tech talk_pinterest_v4
malorie_pinterest
 
La big datacamp-2014-aws-dynamodb-overview-michael_limcaco
La big datacamp-2014-aws-dynamodb-overview-michael_limcacoLa big datacamp-2014-aws-dynamodb-overview-michael_limcaco
La big datacamp-2014-aws-dynamodb-overview-michael_limcaco
Data Con LA
 
Social Architecture of SharePoint 2013 for Developers
Social Architecture of SharePoint 2013 for DevelopersSocial Architecture of SharePoint 2013 for Developers
Social Architecture of SharePoint 2013 for Developers
Paul J. Swider
 
Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...
Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...
Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...
HostedbyConfluent
 
Building an Enterprise Content Management solution on top of liferay
Building an Enterprise Content Management solution on top of liferayBuilding an Enterprise Content Management solution on top of liferay
Building an Enterprise Content Management solution on top of liferay
Andrea Di Giorgi
 
Advanced Document Modeling Techniques from a High-Scale Commerce Platform
Advanced Document Modeling Techniques from a High-Scale Commerce PlatformAdvanced Document Modeling Techniques from a High-Scale Commerce Platform
Advanced Document Modeling Techniques from a High-Scale Commerce Platform
MongoDB
 
Building Client-side Search Applications with Solr
Building Client-side Search Applications with SolrBuilding Client-side Search Applications with Solr
Building Client-side Search Applications with Solr
lucenerevolution
 
Python網站框架絕技: Django 完全攻略班
Python網站框架絕技: Django 完全攻略班Python網站框架絕技: Django 完全攻略班
Python網站框架絕技: Django 完全攻略班
Paul Chao
 
Beyond Social – Tailor SharePoint 2013 Social features according to your need...
Beyond Social – Tailor SharePoint 2013 Social features according to your need...Beyond Social – Tailor SharePoint 2013 Social features according to your need...
Beyond Social – Tailor SharePoint 2013 Social features according to your need...
Adis Jugo
 
Activitystreams 002
Activitystreams 002Activitystreams 002
Activitystreams 002
face0
 
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenariosECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
European Collaboration Summit
 
Building Your First App with Shawn Mcarthy
Building Your First App with Shawn Mcarthy Building Your First App with Shawn Mcarthy
Building Your First App with Shawn Mcarthy
MongoDB
 
16NTC Session - Beyond the File Server
16NTC Session - Beyond the File Server16NTC Session - Beyond the File Server
16NTC Session - Beyond the File Server
Community IT Innovators
 
Presenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View ControlPresenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View Control
Teamstudio
 

Similar to Social network architecture - Part 2. News feed (20)

Social features sp2013
Social features sp2013Social features sp2013
Social features sp2013
 
Gnizr Feed
Gnizr FeedGnizr Feed
Gnizr Feed
 
Rails scaling
Rails scalingRails scaling
Rails scaling
 
Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)
 
Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)Developing social solutions on Microsoft technologies (SP Social and Yammer)
Developing social solutions on Microsoft technologies (SP Social and Yammer)
 
Beyond Social
Beyond SocialBeyond Social
Beyond Social
 
F8 tech talk_pinterest_v4
F8 tech talk_pinterest_v4F8 tech talk_pinterest_v4
F8 tech talk_pinterest_v4
 
La big datacamp-2014-aws-dynamodb-overview-michael_limcaco
La big datacamp-2014-aws-dynamodb-overview-michael_limcacoLa big datacamp-2014-aws-dynamodb-overview-michael_limcaco
La big datacamp-2014-aws-dynamodb-overview-michael_limcaco
 
Social Architecture of SharePoint 2013 for Developers
Social Architecture of SharePoint 2013 for DevelopersSocial Architecture of SharePoint 2013 for Developers
Social Architecture of SharePoint 2013 for Developers
 
Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...
Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...
Implementing a Data Mesh with Apache Kafka with Adam Bellemare | Kafka Summit...
 
Building an Enterprise Content Management solution on top of liferay
Building an Enterprise Content Management solution on top of liferayBuilding an Enterprise Content Management solution on top of liferay
Building an Enterprise Content Management solution on top of liferay
 
Advanced Document Modeling Techniques from a High-Scale Commerce Platform
Advanced Document Modeling Techniques from a High-Scale Commerce PlatformAdvanced Document Modeling Techniques from a High-Scale Commerce Platform
Advanced Document Modeling Techniques from a High-Scale Commerce Platform
 
Building Client-side Search Applications with Solr
Building Client-side Search Applications with SolrBuilding Client-side Search Applications with Solr
Building Client-side Search Applications with Solr
 
Python網站框架絕技: Django 完全攻略班
Python網站框架絕技: Django 完全攻略班Python網站框架絕技: Django 完全攻略班
Python網站框架絕技: Django 完全攻略班
 
Beyond Social – Tailor SharePoint 2013 Social features according to your need...
Beyond Social – Tailor SharePoint 2013 Social features according to your need...Beyond Social – Tailor SharePoint 2013 Social features according to your need...
Beyond Social – Tailor SharePoint 2013 Social features according to your need...
 
Activitystreams 002
Activitystreams 002Activitystreams 002
Activitystreams 002
 
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenariosECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
 
Building Your First App with Shawn Mcarthy
Building Your First App with Shawn Mcarthy Building Your First App with Shawn Mcarthy
Building Your First App with Shawn Mcarthy
 
16NTC Session - Beyond the File Server
16NTC Session - Beyond the File Server16NTC Session - Beyond the File Server
16NTC Session - Beyond the File Server
 
Presenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View ControlPresenting Data – An Alternative to the View Control
Presenting Data – An Alternative to the View Control
 

Recently uploaded

In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
Roshan Dwivedi
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 

Recently uploaded (20)

In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Launch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in MinutesLaunch Your Streaming Platforms in Minutes
Launch Your Streaming Platforms in Minutes
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 

Social network architecture - Part 2. News feed

  • 2. Overview architecture Web Apps Web Service APIs Mobile Apps 4. Front-end SSO User ranking 1. Core User User Data Storage Real-time Notification News Feed 2. User Activity System User Activity Storage 3. Others Real-time Chat Search System Suggestion System 3. Big Data System Big Data Storage … External Apps Service Data User Administrator
  • 3. Notification & Feed System – NFS (Need For Speed :D)
  • 4. 2. NFS: Definition • Notification: to owner • News feed: to owner connection
  • 5. 2. NFS: Process STORAGE Activities Connections AGGREGATION Feed Items Notifications DISPLAY HTMLs JSONs AJAXs
  • 6. 2. NFS: STORAGE • Actions • Ronaldo followed Messi • Ronaldo tagged Messi on a Post Subject Verb Object Target User Group Follow Add (friend, member) Join Post Like Share Comment Tag Update User Group Content User Group Content
  • 7. 2. NFS: STORAGE • Connections • Ronaldo follow Messi • Ronaldo post a Content • Ronaldo comment a Content • Ronaldo join a Group • … Content Group User User post, follow, tag, comment
  • 8. 2. NFS: STORAGE • Store actions -> activities • [owner, [{ subject, verb, object, target }]] • Examples: • Ronaldo followed Messi • [ Ronaldo, [{ Ronaldo, follow, Messi, null }]] • Ronaldo added friend to Messi • [ Ronaldo, [{ Ronaldo, friend, Messi, null }]] • [Messi, [{ Ronaldo, friend, Messi, null }]] • Ronaldo post Content on a Group • [ Ronaldo, [{ Ronaldo, post, Content, Group }]] • [Content, [{ Ronaldo, post, Content, Group }]] • [ Group, [{ Ronaldo, post, Content, Group }]] • Ronaldo tagged Messi on a Post • [ Ronaldo, [{ Ronaldo, tag, Messi, Post }]] • [ Messi, [{ Ronaldo, tag, Messi, Post }]] • [ Post, [{ Ronaldo, tag, Messi, Post }]]
  • 9. 2. NFS: STORAGE • Store Connections • Model • [from, to, weight] from to weight A B 0.1 A C 0.2 C A 0.3
  • 10. 2. NFS: AGGREGATION • News feed Plans • Pull: generate feed item for requested user as soon as he|she request • Push: generate feed item for connected users as soon as a user action • Pull & Push • Active user  push • Other  pull • Schedule: generate feed item for connected user
  • 11. 2. NFS: AGGREGATION • Steps 1. Iterate Activities 2. Select Connections 3. Generate Feed items  Focus Push plan
  • 12. 2. NFS: AGGREGATION • Select connections • Activities: Ronaldo post Content on a Group • Connections owner subject verb object target Ronaldo Ronaldo Post Content Group Group Ronaldo Post Content Group from to weight Neymar Ronaldo 0.5 Kaka Ronaldo 0.5 Suarez Messi 0.8 Kaka Group 0.5 • Generate Feed items • Feed items owner order SVO VOT Data Neymar 1.1 RPC PCG {} Kaka 1.2 RPC PCG {} Kaka 1.5 RPC PCG {}
  • 13. 2. NFS: AGGREGATION • Feed items 1.1 Feed item 0x0001 0x0002 1.2 Feed item 0x0001(RPC) 0x101(PCG) 1.5 Feed item 0x0001(RPC) 0x101(PCG)
  • 14. 2. NFS: DISPLAY • Front-ends • Web: HTML, JSON, AJAX • Mobile: HTML, JSON, XML • API: JSON
  • 15. 2. NFS: DISPLAY • Group • Example: Ronaldo and Messi commented on Content • Get relation contents • Generate HTML, JSON 1.2 Feed item 0x0011 0x101 1.5 Feed item 0x0001 0x101