Re: Implementation PrevaylerEight
Christian Stein <[email protected]> Fri, 24 Oct 2014 15:17:45 +0200
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <CAJi8+g64oa2BMRDvstO98kXCaE__8GfDoryShoAVQZ=berw5Fg@mail.gmail.com> |
--===============0068219576557866516== Content-Type: multipart/alternative; boundary=089e0158b7eabcf53c05062b01d0 --089e0158b7eabcf53c05062b01d0 Content-Type: text/plain; charset=UTF-8 On Fri, Oct 24, 2014 at 2:03 PM, Marcel Oerlemans <[email protected] > wrote: > Hiya, > > I just ran the scalability test with P8 through JProfiler, and there seems > to be a locking problem at the basis of the steep decline in performance. > Hope that helps... > > Ja, it helped. Need to re-implement the locking facade like here: http://www.takipiblog.com/java-8-stampedlocks-vs-readwritelocks-and-synchronized ... that should help, if the scalability test has a alot more readers then writers. Cheers, Christian --089e0158b7eabcf53c05062b01d0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo= te">On Fri, Oct 24, 2014 at 2:03 PM, Marcel Oerlemans <span dir=3D"ltr"><= ;<a href=3D"mailto:[email protected]" target=3D"_blank">marceloerle= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rg= b(204,204,204);border-left-style:solid;padding-left:1ex"><div dir=3D"ltr">H= iya,<div><br></div><div>I just ran the scalability test with P8 through JPr= ofiler, and there seems to be a locking problem at the basis of the steep d= ecline in performance. Hope that helps...</div><div><br></div></div></block= quote><div><br></div><div>Ja, it helped. Need to re-implement the locking f= acade like here: <a href=3D"http://www.takipiblog.com/java-8-stampedlocks-v= s-readwritelocks-and-synchronized">http://www.takipiblog.com/java-8-stamped= locks-vs-readwritelocks-and-synchronized</a> ... that should help, if the<s= pan style=3D"font-family:arial,sans-serif;font-size:13px">=C2=A0</span><spa= n style=3D"font-family:arial,sans-serif;font-size:13px">scalability test ha= s a alot more readers then writers.</span></div><div><br></div><div>Cheers,= </div><div>Christian=C2=A0</div></div></div></div> --089e0158b7eabcf53c05062b01d0-- --===============0068219576557866516== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============0068219576557866516== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org --===============0068219576557866516==--