pgte / alfred

Node is your mansion, Alfred is your butler. Node.js key-value store
http://pgte.github.com/alfred/
MIT License
149 stars 10 forks source link

How alfred keep sync between multi-processes #4

Closed guileen closed 13 years ago

guileen commented 13 years ago

As I know that alfred is in process db, so each process handle an db instance, so how to keep these databases sync?

And unlike mongodb, multi-server and multi-process can connect to 1 master database, every alfred is stand alone, do you means that the architecture of a website should mix up the web and database, and if we need sharding then we should be shard by pairs of web and database.

It's a question but I don't know where to ask.

pgte commented 13 years ago

Alfred is only suited for single-process apps.