How we improved our Elixir build speed by 5x

Hey guys, I just posted this article on how we improved our CI build and I wanted to share it with you :wink:

How we improved our Elixir build speed by 5x - on Medium

5 Likes

We have had several issues with dependencies. Sometimes we change the code but the deps folder is not compiled, other times the dependencies are not updated and so on…

I ask this because your chapter on caching seems rather challenging.

How did you solve these?
Or perhaps you never had this type of issue before?

2 Likes

I have no such issues until now. I’m using a checksum on mix.lock as a cache key, so whenever mix dependencies have changed deps and _build caches are flushed

4 Likes