[REBOL] Re: Social Networks...
From: moliad:gma:il at: 28-Mar-2008 7:08
On Fri, Mar 28, 2008 at 6:54 AM, Carl Read <carl-cybercraft.co.nz> wrote:
> I have no idea of how nodes are supposed to work, but I can't understand
> why any code would have to handle billions of them - other than for
> searching the whole network, and I don't see any need for that in the
> social-network code itself.
liquid is an engine by which all data elements are nodes. data does not
only exist as storage, but also as an entity. if you created a chat, each
post would create a liquid node, and a discussion would simply be a node
linked to all of those posts. This scales up to aggregates of nodes and
processed values, which become data entities by themselves.
so your user node, would be connected to several hundred smaller nodes,
which in turn would also be connected to their own little nodes, on an on.
wheter the connection is a remote server or a simple string, the liquid
engine abstracts the source, all is relevant is that you provide data and
can connect to data. what happens on within your liquid node classes is
completely private.
the nice thing is that by default data is only passed on demand. so you may
have 1000 connections, but until any one of them asks for a value, no data
messaging will occur (only simple state management messaging will occur as
needed).
but as I said, for such a complex thing as a social networking, the default
liquid node would need to be tailored for the system.
-MAx