Reading Time: < 1 minute Personal opinion: the coffee from ALDI is pretty good; so was the regular half & half (creamer) from Costco. On the flip side: probably 1st world problem, the store brand coffee from the biggest grocery store in St. Louis 圣村 is not good.
Category: Java
One set of source code – 12 factors app principle no. 1
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
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