Looking into how to create a notification system like facebook. I have a few ideas on what to possible do, but my friend said something about Graphs being of use? I am working in PHP, but plan to switch to Python eventually to make an more efficient system with faster response times and such.
I can’t provide too many details, because I don’t really know what I am looking for yet. Any suggestions on how to make something that is fast and scalable would be awesome. I don’t mind doing research on data structures if I am given the info on which ones to look into.
Thanks 🙂
EDIT: Ok, so maybe I wasn’t clear on what I am trying to find out. I need help on figuring out the database/storage structure on how to implement this. I know i can use a lot of AJAX calls and such to get the information, but I want to know how to scale this properly on the size of millions.
I have a notification system on my website.
I use jquery and ajax. It pulls all of the information from php pages through out my server and doesn’t need to refresh the page to get the newest information.
Like @Prody said make a small working system and then add stuff to it, and then optimize it, thats what I did and It worked out very well.
I suggest to make a mock up (of the design) first and them think what do I want it to do? Second try to build them into it and then try it if you don’t like it then try again? Thats what I did but is still have quite a lot more to do.
if you must know I sent a ajax request every 3 seconds to get friend requests and emails and other notification’s
And also this isn’t a real question and will probably get minus votes because it’s not a ‘real question’