2 ms·
Yes. 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 rebu
by Aqueous 13y ago
Yes. 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.