cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Boxenhorn <da...@lookin2.com>
Subject Re: Sorting by timestamp
Date Sun, 30 May 2010 08:26:05 GMT
Tupshin,

If I already have a text-based timestamp (e.g. from Oracle), and a unique
id, is there any benefit to using timeuuid instead of just concatenating
what I have: <timestamp>.<id>?

On Sun, May 30, 2010 at 6:28 AM, Tupshin Harper <tupshin@tupshin.com> wrote:

> Generate a timeuuid for each post based on the original timestamp.
>
> -Tupshin
>
> On May 29, 2010 7:50 PM, "Erik" <erikober@gmail.com> wrote:
>
> Hi,
>
> I have a list of posts I'm trying to insert into Cassandra.  Each post has
> a
> timestamp already (in the past) that is not necessarily unique.  I'm trying
> to
> insert these posts into Cassandra so that when I retrieve them, they are
> ordered
> chronologically.  When I insert them, I can't guarantee that the order of
> insertion is ordering them based on the actual timestamp of the post.
>
> Can someone help me find a solution for this?
>
> Thanks.
>
> Erik
>
>
>

Mime
View raw message