Hi,
I want to inquire about feasibility of using riak for logging chat
messages. My architecture is as follows: There are multiple sites where a
user can either send message to another user or to a room (on the same
site), and these messages need to be logged. Is riak a good fit for this
use case?
Thanks Sergej. I will try this with Leveldb backend and use another db for
incremental ids.
Shashwat
On Mon, Oct 22, 2012 at 2:34 PM, Rapsey wrote:
>
> On Mon, Oct 22, 2012 at 10:29 AM, Shashwat Srivastava
> wrote:
>
>>
>> Now, each bucket would have conversation b
database sequence or a UUID generator.
>
> HTH,
>
> Guido.
>
>
> On 22/10/12 10:04, Rapsey wrote:
>
>
> On Mon, Oct 22, 2012 at 10:29 AM, Shashwat Srivastava
> wrote:
>
>>
>> Now, each bucket would have conversation between two users or of a room
me a problem later on. I
am apprehensive of imposing any design limitation. I will think more about
it.
Thanks,
Shashwat
>
>
> On Tue, Oct 23, 2012 at 6:00 AM, Shashwat Srivastava wrote:
>
>> Thank you Guido. Yes, a secondary index based on date would be immensely
>> help
know in advance how
>> big N can get (it has to be larger than the number of your app servers).
>>
>>
>> Sergej
>>
>>
>> On Tue, Oct 23, 2012 at 6:00 AM, Shashwat Srivastava
>> wrote:
>>
>>> Thank you Guido. Yes, a secondary index b
have a number between 1 and N. The number assigned to the server
>> is your starting ID, then increment by N every time you generate an ID from
>> that server. The only limitation is that you have to know in advance how
>> big N can get (it has to be larger than the number of your app serv
> any more ideas, it would be great, I ran out of them...
>
> Guido.
>
>
> On 23/10/12 11:47, Shashwat Srivastava wrote:
>
>
> On Tue, Oct 23, 2012 at 3:35 PM, Guido Medina wrote:
>
>>I know you want to follow a criteria for sorting messages, you could
>> s