Reading Time: 3 minutes For 12 factor application the No. 1 principle is one source code base. Today I was thinking about this topic: one sets of source code for one app, and use configuration for language, region or other different settings for different customers. And this reminded me of some of the articles I read (such as this… Continue reading One set of source code – 12 factors app principle no. 1
Category: Java
Database connection pool
Reading Time: < 1 minute https://brandur.org/postgres-connections https://news.ycombinator.com/item?id=18220906 https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
Spring batch, Spring Scheduler, PCF
Reading Time: < 1 minute Was experimenting running scheduled job on PCF. One natural choice is PCF scheduler, which comes with the Pivotal Web Services (PAAS). Googled around and found this example on DZone. The spring batch code is here. There was a small typo in the manifest.yaml, path: build/libs/payment-processing-spring-batch-0.0.1-SNAPSHOT.jar Note the snapshot.jar file name does not match what’s specified… Continue reading Spring batch, Spring Scheduler, PCF