A long time I considered info vars as minor compared to data fields.
Now it seems that there is a rise of key - value databases.

The guys who built one of these databases, Redis, provide an easy to
follow tutorial on how to organize a twitter clone with key - value
only. It claims to be superfast, highly scalable and easy to built.

Maybe there is some inspiration how to manage data with info lists
(and how to extend info var functions like adding autoincrement)

http://code.google.com/p/redis/wiki/TwitterAlikeExample

First you set an unique key for every user (uid, e.g. a random number
or md5-key).
Then store everything with this uid
uid: username
uid: password

Set an unique key for every new post or article (if its a blog).
post:10343 "$uid|$time|text of posting here"

Maintain and update three more lists:
- a list with the post-ids for every user.
- a list with user-ids of people following each you.
- a list with all posts in a timeline.

Why is it fast? I do not know...

Greetings, Martin

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to