<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Balz<br>
<br>
Thanks very much for pointing this out in such great detail.<br>
<br>
Generally I agree, but need to have a closer look at it and discuss
it a bit further.<br>
Also re scalability, because I am currently struggling with a case
having a group with millions of users,<br>
and the current "one-file" based implementation just doesn't scale
anyway in such a case and hence I was considering to<br>
refactor the implementation anyway and which should also solve the
write/update problem which you describe.<br>
<br>
Thanks<br>
<br>
Michael<br>
<br>
Am 21.02.12 11:34, schrieb basZero:
<blockquote
cite="mid:CAOXzDSHs=Bdqsa73AqB8v7WdL4abq9W+YW-vO2GBEyMXZJCt7w@mail.gmail.com"
type="cite">dear all,
<div><br>
</div>
<div>we had a dramatic incident last evening, one of the
group.xmls got corrupted by two parallel requests doing exactly
the same thing.</div>
<div><br>
</div>
<div>I described the whole use case and solution propsal including
a workaround here:</div>
<div><a moz-do-not-send="true"
href="https://github.com/wyona/security/issues/1">https://github.com/wyona/security/issues/1</a></div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>The code proposal to solve it is included in the issue
description above. </div>
<div>If really needed, I can also create a pull request for this.
But I think the idea is clear how to fix it.</div>
<div>
<br>
</div>
<div>Cheers</div>
<div>Balz</div>
<div><br>
</div>
<div title="signature"> </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>