Drawn from practical experience migrating production applications to Cloud Foundry, this session will present detailed tips for developers looking to get the most out of this open source platform as a service. Topics covered include: - Using spring profiles and the CloudEnvironment class - Use of environment variables for quick config - Filesystem - Creating an API - Creating a local version - Creating a mongo version - Using temp - 504 Gateway timeouts (using a ServletFilter and javascript to deal with them) - Debugging tips - Logs - Remote debug with Micro CF and --debug (or using STS) - Caldecott to look at your data - Compiling java with just a JRE (porting the eclipse compiler) - Micro CF tips - Adding memory to the VM - Disk space errors - Cookie timeouts due to incorrect clock after suspend - Using vcap.me with tunnel and DNS proxy - Using ssh to investigate - Tweaking nginx timeouts - Disable services for memory
Session Detail