<div dir="ltr">Hi<div><br></div><div>I had one doubt.<div>Should i switch the link in heroku account for integration with macports github ?</div><div><br></div><div>Because i think then you need to give accesss to heroku of your account.</div><div><br></div><div>I think it would be wise for me to do the commit update in my local repository itself..<br><br>Once every 2 weeks or something ill push all the changes to macports repository.</div><div>Do comment .What should be done?</div><div><br></div><div>Thanks</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 May 2018 at 11:40, Jackson Isaac <span dir="ltr"><<a href="mailto:ijackson@macports.org" target="_blank">ijackson@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, May 8, 2018 at 10:47 AM, Mojca Miklavec <<a href="mailto:mojca@macports.org">mojca@macports.org</a>> wrote:<br>
><br>
> On 8 May 2018 at 01:12, Vishnu wrote:<br>
> > Hi<br>
> ><br>
> > I will work on all the points mentioned today..<br>
> ><br>
> > But i have been trying many different ways.<br>
> > To get 20k ports onto the database.. The site is crashing.. Timeout error.<br>
> > Or the site cant be reached.<br>
> > Maximum i got till 9k ports successfully entered.<br>
> ><br>
> > Tried many ways..<br>
> ><br>
> > If you have any suggestions do let me know.<br>
><br>
<br>
</span>We can even try firebase for the DB backend and host the frontend on heroku.<br>
<br>
Firebase free version gives 1GB of storage and 10GB of bandwidth per month.<br>
I guess for testing out the app on complete portindex we could give it a try.<br>
<br>
<a href="https://firebase.google.com/pricing/" rel="noreferrer" target="_blank">https://firebase.google.com/<wbr>pricing/</a><br>
<br>
Then again we would have some kind of limitations over here in long run.<br>
<span class=""><br>
><br>
> I was pretty sure that we would reach the database limit here.<br>
><br>
><br>
> This site<br>
>     <a href="https://devcenter.heroku.com/articles/heroku-postgres-plans" rel="noreferrer" target="_blank">https://devcenter.heroku.com/<wbr>articles/heroku-postgres-plans</a><br>
> says that the limit is 10k rows which is not anywhere near enough and<br>
> fully consistent with your observation. The plan that lets you have<br>
> 10M rows is 9 USD per month which I gladly pay if that would solve the<br>
> issues (I'm not sure if those are the only ones, we might not have<br>
> sufficient memory etc.)<br>
><br>
<br>
</span>9USD is only for the DB though. We might need to pay for the compute separately.<br>
<br>
Looks like free VMs come with only 512MB RAM.<br>
<span class=""><br>
><br>
> (I also remembered that I might have access to create a clean virtual<br>
> machine, but I need a couple of days to physically reach a place where<br>
> I have the additional info. That would require setting up the whole<br>
> machine manually of course, but we need to do that for the final<br>
> deployment anyway.)<br>
><br>
> > I think i have to break the data entry in separate chunks and do it. But not<br>
> > sure how to do that.<br>
><br>
> In any case Heroku will apparently not let you import the full<br>
> database anyway until we switch to a payed account. If you still have<br>
> troubles with performance issues afterwards, this also won't help.<br>
> What you could do is temporarily copy or move a few folders (say,<br>
> math, science and python) and run portindex just on those. This will<br>
> give you a smaller number of ports to work with, but still sufficient<br>
> to figure out what other issues you'll need to deal with (port listing<br>
> will have to be paginated etc.)<br>
><br>
> It's a good exercise to know what the limitations are. When you play<br>
> with new features and database design, it's always easier to play<br>
> with, say 10-100 ports than with full 15 MB portindex file.<br>
><br>
<br>
</span>This plan sounds good. +1<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Jackson Isaac<br>
</font></span></blockquote></div><br></div>