Hi there,

Correct me if I'm wrong, but I think I read somewhere that custom
data-types can be created through schemas or something like that. So, apart
from COUNTERS, SETS and MAPS we could have some custom defined ones.

I would love to have a STACKS data-type that would work like a FIFO stack,
so I could save the last 100 objects for some action. Imagine we are
building Twitter where millions of tweets are sent all the time, but we
want to quickly know the last 100 tweets for a user. Imagine something like:

obj.stacks['last_tweets'].add(id_of_last_tweet)

IN: last_tweet ---> STACK_OF_100_TWEETS ---> OUT: older than the 100th goes
out

Is this possible? If so, how to do it?

Thanks and Best Regards,
Alex
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to