Technical question about Facebook "LIke" function..

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
acekhor
Forum Newbie
Posts: 1
Joined: Sun Aug 08, 2010 6:03 am

Technical question about Facebook "LIke" function..

Post by acekhor »

Hi, I am wondering how Facebook store their "Like" and "Comment" function on every post that posted by user..? XML? or Database? Do anyone know here?
I felt they used something like pointer in order to link them up.. but i have still no idea with it..
p/s: I mean some nice algorithm which won't eat up too much server's memory.. instead of just add bridge entity in the database for each post..

Is just like the example below:
http://www.fmylife.com/

They allow each IP click once "agree or disagree" for each post only.. normally how they structure for dis kind of data? it's about thousands+ for each topic..
I think it's similar to how to store a rating.. but i m not sure how the algorithm goes to in order to allow them to store that much of data without using up lots of memory/capacity..
Post Reply