1

I have been read a lot of articles to make a good design for my database so I can get the most recent updates for every single user by executing a - kind of - complex query then I send the data using ajax as a JSON to JS file that makes an appropriate edits for the records.
It seems fast but I don't know if it will be as much as fast if the site has a large number of users .
so iv'e started looking for an alternatives . and I found something called NodeJS , I really didn't understand what it is stand for and hope that you can help me with that.
from another hand if the facebook doesn't use a normal db to do whatever he does , then I think there is no way to do it .
useful link: What's the best manner of implementing a social activity stream?
waiting for your comments.
best regards

Community
  • 1
  • 1
Rawhi
  • 6,155
  • 8
  • 36
  • 57

1 Answers1

2

I recommend:

  • MongoDB (as db)
  • Node.js (for server-side programming)
  • nginx (for static content)
  • redis (for sessions storing)(optional).
maga
  • 720
  • 3
  • 13
  • You can use it instead of MongoDB, but I don't recommend. There is nothing that you can do with SQL and can't with MongoDB. – maga Jan 16 '11 at 16:22
  • Is there any article or other resources that I might find useful for understanding/implementing such a strategy? – Rawhi Jan 16 '11 at 16:27
  • I'm not sure about article with information about all the stack, but there is quite a lot materials about every tool on their sites, such as: mongodb.org, nodejs.org etc. – maga Jan 16 '11 at 16:48
  • @maga "There is nothing that you can do with SQL and can't with MongoDB" -> But there's a lot of what you can do with Mongo but can't with SQL. – Roman Jul 01 '12 at 15:24