-
公开(公告)号:US10025867B2
公开(公告)日:2018-07-17
申请号:US14869656
申请日:2015-09-29
Applicant: Facebook, Inc.
Inventor: Igor Kabiljo , Laxman Dhulipala , Alon Michael Shalita , Arun Dattaram Sharma , Brian Christopher Karrer
IPC: G06F17/30
Abstract: Embodiments are disclosed for improving cache or memory efficiency of a social network system. A method according to some embodiments includes steps of: receiving an instruction to improve cache or memory efficiency of social graph data of a social graph; generating based on the social graph a partitioning tree including multiple bottom-level buckets, the partitioning tree dividing the vertices of the social graph into the bottom-level buckets and ordering the bottom-level buckets such that a social network metric regarding the vertices is optimized; assigning user IDs to the vertices of the social network in a numerical sequence based on the ordering of the bottom-level buckets; storing the social graph data of the users in storage locations in an order according to the numeral sequence of the assigned user IDs of the vertices.
-
公开(公告)号:US20170091334A1
公开(公告)日:2017-03-30
申请号:US14869656
申请日:2015-09-29
Applicant: Facebook, Inc.
Inventor: Igor Kabiljo , Laxman Dhulipala , Alon Michael Shalita , Arun Dattaram Sharma , Brian Christopher Karrer
IPC: G06F17/30
CPC classification number: G06F17/30867 , G06F17/3053 , G06F17/30584 , G06F17/30876 , G06F17/30958 , G06F17/30961
Abstract: Embodiments are disclosed for improving cache or memory efficiency of a social network system. A method according to some embodiments includes steps of: receiving an instruction to improve cache or memory efficiency of social graph data of a social graph; generating based on the social graph a partitioning tree including multiple bottom-level buckets, the partitioning tree dividing the vertices of the social graph into the bottom-level buckets and ordering the bottom-level buckets such that a social network metric regarding the vertices is optimized; assigning user IDs to the vertices of the social network in a numerical sequence based on the ordering of the bottom-level buckets; storing the social graph data of the users in storage locations in an order according to the numeral sequence of the assigned user IDs of the vertices.
-