Saturday, March 28, 2015

Agile India Conference 2015- Techniques to speed up build pipeline

Key principles to speed up the build pipeline
- Focus on the bottleneck- pattern : file operations related
- Divide and conquer
- Fail Fast

- Every time not required to build the jar
- Test on smaller but apt data set
- Robocupy/rsync can help in reducing the copy time as it only differncial copy.
- Use SSD instead of HDD.
- Use in memory DB-SoftPerfect Ram disk can carve disk
- Don't initialize the spring application context, it can be shared application context.
- Do CPU profiling.
- java.until.Calendar is horribly slow. Joda date library.
- Ant has fork mode. Keep forkmode=once

- Create parallel jobs
- Distribute task across multiple slaves.

Fail Fast:
- Restructure the build pipeline.
- Prioritize the test- use protest frame work.
- Incremental build vs clean build

No comments:

Architecting for Continuous Delivery

This short article will provide details about the various architecture specific requirements for good implementation of continuous delivery...