Re: Implementation PrevaylerEight
Christian Stein <[email protected]> Tue, 21 Oct 2014 22:34:25 +0200
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <CAJi8+g7sJmWVNz=TDiyPxmcXKgRciSNY8rp7rfFpNR2AdvVnaQ@mail.gmail.com> |
--===============8207413601809729931== Content-Type: multipart/alternative; boundary=001a1133b634d60d580505f4c12a --001a1133b634d60d580505f4c12a Content-Type: text/plain; charset=UTF-8 On Tue, Oct 21, 2014 at 9:25 PM, Marcel Oerlemans <[email protected] > wrote: > Hi Christian, > > Those numbers are impressive! > I see you tested default Prevayler up to only 8 threads. You might want to > scale that up a bit? > Did this already and it peaked at about 900 threads here with 18k operations per second. > After I read your mail, I ran a prevayler scalability test, from 1 to 1500 > threads, 20 seconds per round/ > In my test setup Prevayler handled 60 transactions/second @ 8 threads, but > at 1489 threads, Prevayler could handle 5945 transactions / second. That's > ~100 times as many. Results in graph form can be found here: > http://imgur.com/sRIaCVD > What machine are you running the test on? > I wanted to do a similar test with Prevayler8, but I see now I need two > classes which I cant seem to find: ByteBufferOutputStream > and ByteBufferInputStream. Can you help me with that? > > See the first mail - and mind the purpose and limitation of that implementation: shines at single-threaded environments (no sync) and sacrifices some Durability points to speed. I'm playing with memory.force() at the moment and will integrate that soon. What I'm going to test next, is the default implementation configured for speed: no deep copy, no forced disk sync. And draw some charts, too. ;-) Cheers, Christian --001a1133b634d60d580505f4c12a 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 Tue, Oct 21, 2014 at 9:25 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div= dir=3D"ltr">Hi Christian,<div><br></div><div>Those numbers are impressive!= </div><div>I see you tested default Prevayler up to only 8 threads. You mig= ht want to scale that up a bit?=C2=A0</div></div></blockquote><div><br></di= v><div>Did this already and it peaked at about 900 threads here with 18k op= erations per second.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote= " style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><= div dir=3D"ltr"><div>After I read your mail, I ran a prevayler scalability = test, from 1 to 1500 threads, 20 seconds per round/</div><div>In my test se= tup Prevayler handled 60 transactions/second @ 8 threads, but at 1489 threa= ds, Prevayler could handle 5945 transactions / second. That's ~100 time= s as many. Results in graph form can be found here:=C2=A0<a href=3D"http://= imgur.com/sRIaCVD" target=3D"_blank">http://imgur.com/sRIaCVD</a></div></di= v></blockquote><div><br></div><div>What machine are you running the test on= ?</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0= 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><di= v></div><div>I wanted to do a similar test with Prevayler8, but I see now I= need two classes which I cant seem to find:=C2=A0ByteBufferOutputStream an= d=C2=A0ByteBufferInputStream. Can you help me with that?<br></div><div><br>= </div></div></blockquote><div><br></div><div>See the first mail - and mind = the purpose and limitation of that implementation: shines at single-threade= d environments (no sync) and sacrifices some Durability points to speed. I&= #39;m playing with memory.force() at the moment and will integrate that soo= n.</div><div><br></div><div>What I'm going to test next, is the default= implementation configured for speed: no deep copy, no forced disk sync.</d= iv><div><br></div><div>And draw some charts, too. ;-)</div><div><br></div><= div>Cheers,</div><div>Christian</div></div></div></div> --001a1133b634d60d580505f4c12a-- --===============8207413601809729931== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho --===============8207413601809729931== 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 --===============8207413601809729931==--