tag:support.appharbor.com,2010-11-23:/discussions/problems/1427-how-to-handle-background-tasks-on-appharbor-environmentAppHarbor: Discussion 2012-03-09T04:16:12Ztag:support.appharbor.com,2010-11-23:Comment/113003262011-11-10T11:59:34Z2011-11-10T11:59:34ZHow to handle background tasks on AppHarbor environment?<div><p>I'm currently running my .net solution on an EC2 instance. Since
ASP.NET projects aren't really suitable for on going threads I've
pushed all background tasks onto a Windows Service and using
Quartz.net library I schedule tasks and they get invoked. I'm
thinking of trying AppHarbor but I have a couple of questions
first:</p>
<ol>
<li>How are background tasks handled here. Can my Windows Service
code or it's variation be deployed on App Harbor?</li>
<li>How can I inspect the performance of the app. EC2 can show
detailed graphs for CPU and RDS instance usage. Do you have
something like it?</li>
<li>Is it possible to FTP to my instance or does App Harbor force
me to deploy only through pushing changes to the GIT repository
even for small changes?</li>
</ol>
<p>Thanks in advance</p></div>Armantag:support.appharbor.com,2010-11-23:Comment/113003262011-11-10T12:16:39Z2011-11-10T12:16:39ZHow to handle background tasks on AppHarbor environment?<div><p><a href=
"http://feedback.appharbor.com/forums/95687-general/suggestions/1370747-background-jobs?ref=title">
Background jobs</a> are not currently available although AppHarbor
team is working on implementing it.</p>
<p>What I'm doing is make use of <a href=
"http://momentapp.com/">MomentApp</a> to schedule my jobs and it's
been running fine.</p>
<p>At least is something working while not official support.</p></div>balexandretag:support.appharbor.com,2010-11-23:Comment/113003262011-11-10T17:19:02Z2011-11-10T17:19:02ZHow to handle background tasks on AppHarbor environment?<div><p>Hi Arman</p>
<p>1) Bruno's suggestion is good. Another option is to <a href=
"http://blog.appharbor.com/2011/01/20/handling-background-tasks">run
your own EC2 micro instance</a> with your background job.</p>
<p>2) Currently, you can use <a href=
"http://getglimpse.com/">Glimpse</a> or add your own performance
monitoring. We're working on adding additional performance
monitoring though.</p>
<p>3) You can't use FTP. Note that we also integrate with Bitbucket
for Mercurial support, if you're not happy with Git. If you wanted
to, you could probably build your own FTP deploy bridge by using
<a href=
"http://support.appharbor.com/kb/api/using-appharbor-build-urls">AppHarbor
build URLs</a>.</p>
<p>Michael</p></div>friismtag:support.appharbor.com,2010-11-23:Comment/113003262012-03-09T04:16:11Z2012-03-09T04:16:11ZHow to handle background tasks on AppHarbor environment?<div><p>Hi,</p>
<p>I just wanted to let you know that we now have <a href=
"http://blog.appharbor.com/2012/03/08/background-workers-in-beta">background
workers available in beta</a>.</p>
<p>Hope this helps!</p>
<p>Cheers,<br>
Rune</p></div>rune