4 ms·
Nice. Deploying a Scala / Play Framework project on Heroku is painful because the compile times out about half the time. Being able to compile locally and push
by ecopoesis 13y ago
Nice. Deploying a Scala / Play Framework project on Heroku is painful because the compile times out about half the time. Being able to compile locally and push up a zip is going to make like much nicer.
- friism 13y agoHey there, I work at Heroku - we'd love for you to try out these new APIs, but also feel free to [log a ticket][1] and we'll see if there's a way to help you get faster builds. [1]: https://help.heroku.com/ https://help.heroku.com/
- lukasm 13y agoMeh I just finish writing a script that deals with deployment. This may actually solve my problem. http://stackoverflow.com/questions/20331106/application-structure-and-workflow-with-heroku-flask-and-yeoman http://stackoverflow.com/questions/20331106/application-stru...
- Aqueous 13y agoYes. Pretty much the only thing I really dislike about Scala is the speed of the compiler, and Heroku magnifies this about 70 times by requiring a complete rebuild of the slug on every push. It would be nice if it cached the build artifacts and only recompiled source files that changed - that would be a huge time saver and would mean I could deploy several times a day instead of only the one time I allow myself. Perhaps a workaround exists but I just haven't seen a way to accomplish this To be honest I love using Git push to deploy. I just wish it was faster. This doesn't really solve that problem for me - building the slug on my own machine or as part of a CI setup seems like a step back. That and Heroku's MySQL-compatible service, ClearDB, is very inconsistent, with query times for simple queries ranging from normal to a couple of seconds inexplicably.
- jon-wood 13y agoYou may well be interested in the build cache[1], which allows you to store build artifacts between pushes - I think it was designed for asset compilation, but there's no reason it shouldn't also work for compiled code. [1] https://devcenter.heroku.com/articles/buildpack-api#caching https://devcenter.heroku.com/articles/buildpack-api#caching
- Aqueous 13y agoI hadn't seen that - sounds like it will help. Thanks a bunch.