<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">&gt; Why not do something simpler first and validate that by adding a cache on the database access?</span><div><font face="arial, sans-serif">That is also an option but I&#39;m not sure how well that would scale in the long run. I think that we will later need to be able to host multiple instances in an environment like OpenShift where I&#39;m not sure if a relational database is the best choice. Having a relational database might not really be needed either, but was chosen mainly because that was the most familiar and quickest solution at the time to have persistence of some sort. </font></div>
<div><font face="arial, sans-serif"><br></font></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif"> </span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 19 September 2013 08:10, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 19, 2013 at 6:34 AM, Daniel Bevenius <span dir="ltr">&lt;<a href="mailto:daniel.bevenius@gmail.com" target="_blank">daniel.bevenius@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>&gt;<span style="font-family:arial,sans-serif;font-size:13px">I wonder what kind of numbers would we get by ditching JPA completely </span><span style="font-family:arial,sans-serif;font-size:13px">and using a non-relational DB like Redis</span></div>

<div>
<span style="font-family:arial,sans-serif;font-size:13px">Yeah, I think we will most likely need to if we want to come close to the other implementations performance wise. Others use Memcache and I&#39;ve seen MongoDB in use as well. </span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Perhaps I should just add performance tests for the rest of the SimplePush operations so that we have them covered and then look into using a non-relational DB. Once that is done we can revisit this performance task.</span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px">What do people thing about that?</span></div></div></blockquote><div><br></div></div></div></div></blockquote><div><br></div></div><div>Why not do something simpler first and validate that by adding a cache on the database access?</div>
<div><br></div></div></div><br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br></div>