<div dir="ltr">I added some comments to the trello ticket - copying them here for visibility...<div><br></div><div>The problem with this approach (and the reason we have historically used shared DB) is that a new empty DB in MongoDB 2.x requires ~300MB of disk space - that's a HUGE overhead for every single app created (especially considering that a large % of apps created are hello world style apps that do not require dedicated DB). In MongoDB 3.x, there is pretty much a 0 overhead on creating a new DB - i.e. it does not pre-allocate 100's of MB of disk space. So, I think we either need to wait until we have 3.X MongoDB or be able to indicate in the project/app/service template if it requires a dedicated DB and only create the dedicated DB for those templates that need it.<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#999999">--</font></div><div><div style="font-size:small"><font color="#999999">John Frizelle</font></div><div style="font-size:small"><font color="#999999">Platform Architect, Red Hat Mobile<br></font><span style="font-family:Helvetica,Verdana,sans-serif"><font color="#999999">Consulting Engineering</font></span><font color="#999999"><br><br></font><div><span style="font-size:12.8000001907349px;color:rgb(153,153,153)">mobile:</span><span style="font-size:12.8000001907349px;color:rgb(153,153,153)"> </span><span style="font-size:12.8000001907349px;color:rgb(153,153,153)"><font face="Tahoma, Arial, Helvetica, sans-serif"><b><a href="tel://+353872901644" target="_blank">+353 87 290 1644</a></b></font></span><br></div><div style="font-size:12.8000001907349px"><span style="font-family:Tahoma,Arial,Helvetica,sans-serif;color:rgb(153,153,153);font-size:12.8000001907349px">twitter:</span><b style="font-family:Tahoma,Arial,Helvetica,sans-serif;color:rgb(153,153,153);font-size:12.8000001907349px"> @johnfriz</b><br></div><font color="#999999" style="font-size:12.8000001907349px"></font><div><font color="#999999">skype: <font face="Tahoma, Arial, Helvetica, sans-serif"><b>john_frizelle</b></font></font></div><div><span style="color:rgb(153,153,153);font-size:12.8000001907349px">mail: </span><font color="#999999" style="color:rgb(17,85,204);font-size:12.8000001907349px"><b><a href="mailto:jfrizell@redhat.com" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">jfrizell@redhat.com</a></b></font></div><div><font color="#999999" style="color:rgb(17,85,204);font-size:12.8000001907349px"><br></font></div><div><br></div><div><img src="cid:1deff70600823b9ebf187fa9e94df6ff10966d4e@zimbra"><font color="#999999" style="color:rgb(17,85,204);font-size:12.8000001907349px"><br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 21 November 2016 at 16:22, Wojciech Trocki <span dir="ltr"><<a href="mailto:wtrocki@redhat.com" target="_blank">wtrocki@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><b>TL;DR - New cloud apps and services should use direct mongo db access. Migration should be used only for legacy projects.</b><br></div><div><br></div><div>We require database migrations for the new apps mostly because of historical reasons. We should enable creation of service and cloud app with direct access to the mongo database. Creating ditch type database doesn't make any sense at the moment because in most of the guides and services we require database to be migrated straightaway. </div><div><br></div><div>That's would improve our guides and would mean way less hassle for customers. Conor mentioned this numerous times in some of high level requirements documents. This functionality was also confirmed to be really useful for consulting. Sometimes developers forgot to migrate database and fh-ditch is used in production which is causing some performance and access problems and involve painful database migration. </div><div><br></div><div>This feature may be also mentioned in various tickets and different contexts. </div><div>Purpose of this emails is to determine some blockers (do we still have to use ditch by default) and provide some general actions. </div><div><br>Regards</div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_4904357392442056752gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><span style="color:rgb(153,153,153);font-size:small">Wojciech Trocki</span></div><div><div><font color="#999999" size="2">Software Engineer</font><font color="#999999" style="font-size:small">, Red Hat Mobile</font></div><div><div style="font-size:small"><br></div><div style="font-size:small"><img src="cid:1deff70600823b9ebf187fa9e94df6ff10966d4e@zimbra"></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
feedhenry-dev mailing list<br>
<a href="mailto:feedhenry-dev@redhat.com">feedhenry-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/feedhenry-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/feedhenry-dev</a><br>
<br></blockquote></div><br></div>