[Yanel-dev] Yarep.addMember() issue : be aware

basZero baszero at gmail.com
Wed Feb 22 13:42:52 CET 2012


everything sounds great :)
Interesting approach to get rid og group XMLs... Keep us posted!

Cheers
Balz


-> «Ab 5000 U/min ist es Musik für PS-Verliebte, was darunter liegt, ist eben nur Geräusch.»

On 22.02.2012, at 08:50, Michael Wechner <michael.wechner at wyona.com> wrote:

> Hi Balz
> 
> Thanks very much for pointing this out in such great detail.
> 
> Generally I agree, but need to have a closer look at it and discuss it a bit further.
> Also re scalability, because I am currently struggling with a case having a group with millions of users,
> and the current "one-file" based implementation just doesn't scale anyway in such a case and hence I was considering to
> refactor the implementation anyway and which should also solve the write/update problem which you describe.
> 
> Thanks
> 
> Michael
> 
> Am 21.02.12 11:34, schrieb basZero:
>> 
>> dear all,
>> 
>> we had a dramatic incident last evening, one of the group.xmls got corrupted by two parallel requests doing exactly the same thing.
>> 
>> I described the whole use case and solution propsal including a workaround here:
>> https://github.com/wyona/security/issues/1
>> 
>> This is just to let Yanel customers know that highly multi-threaded realms should be aware that most Yarep-Methods are not multi-threadable and must be synchronized in the realm's code.
>> 
>> The code proposal to solve it is included in the issue description above. 
>> If really needed, I can also create a pull request for this. But I think the idea is clear how to fix it.
>> 
>> Cheers
>> Balz
>> 
>> 
>> 
> 
> -- 
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20120222/0368912c/attachment.html>


More information about the Yanel-development mailing list