Skip to main content

Session Notes - SpringOne2GX Day 2 Keynote

Adrian Colyer

  • a year ago at SpringOne was about when the acquisition of G2One was announced
  • Sky in the UK uses Groovy and Grails
    • so much simpler to write and run code
    • with groovy/grails we can create a new feature in a week instead of a month
  • Hyperic acquisition
    • better management tools and metrics
  • CloudFoundry
    • infrastructure as a service--bit too broad
    • focus on deployment of Java apps--"Enterprise Java Cloud"
  • VMWare acquisition of SpringSource

CloudFoundry Demo - Chris Richardson

  • demo of deploying a Java app on Amazon EC2 using CloudFoundry
  • upload apps to CloudFoundry, then can deploy to Amazon from there
    • can also upload sql scripts if necessary to generate/populate database
    • can also upload static resources if you want
    • uploaded war stored on Amazon S3
  • after this, deploy to EC2
    • options for splitting servlet container and db server on different instances
    • further options for specifying instance configurations on Amazon
  • CloudFoundry manages your Amazon instances
    • responds to failure
    • scales up/down
  • CloudFoundry also offers a lot of management actions, application monitoring, etc.
  • notion of "deployment blueprint"
    • can use deployment blueprint to deploy single app to different configurations
      • e.g. simple single instance deployment vs. apache fronting multiple load-balanced tomcat instances and multiple database instances all controlled by a management server

SpringSource Tool Suite

  • spring app tools
  • enterprise osgi development
  • flexible deployment options (cloudfoundry, vmware instances, vmware in data center)
  • STS Demo
    • CloudFoundry appears as a server type in the servers view in STS
    • can drag app to CloudFoundry to deploy
    • STS tools optimize WAR files by stripping out standard JAR files which are reconstituted on the other end

Cloud Types

  • CloudFoundry is the public cloud--runs on Amazon EC2
  • Private cloud--exists in the organization's data center
    • like the model, like the flexibility, but don't want to run on the public cloud
  • Personal cloud (running on a laptop)
  • mix and match types of clouds based on needs
  • public vs. private--currently much more interest in private cloud in the marketplace

Virtualization in the data center?

  • VMWare solutions
  • from infrastructure silos to infrastructure platform to infrastructure service
  • in many cases there is a direct binding between the application and the infrastructure that supports it
    • infrastructure becomes an anchor holding that application in place
  • virtualization is leading towards infrastructure being a platform onto which applications are deployed
    • specific application stacks are virtualized, and apps are deployed to this environment
  • currently virtualization is of more interest to the operations people
    • developers ask for a server on which they run an app, but they don't know/care what's going on at that level
  • new model is to expose the infrastructure to developers as a service
  • vCloud -- internal, external, federated
    • based on vSphere technology
    • mix and match private/public clouds
    • same interface across multiple environments
  • CloudFoundry works with vCloud in addition to Amazon
    • adapters used to support different cloud environments

How does this add value to my enterprise Java apps?

  • knowledge of application blueprint, deployment blueprint, and infrastructure blueprint
  • easy management of things like firewalling across multiple VM instances
  • intelligent provisioning
    • when VMs are deployed they may or may not be on the same physical server
      • if this does matter, can declare an affinity between multiple VMs, or can specify that the instances should NOT be on the same physical server
  • optimized runtime: vMotion
    • can press a button to move VMs from one physical server to another with no interruption to the application
    • vmware platform separates out computing, memory, and storage
      • can move each of these independently without any interruption in service
  • vmware drs -- distributed resource scheduling
    • can move VMs around dynamically based on load
    • heavily loaded apps can take unused capacity away from lightly loaded apps as needed
  • optimized runtime -- vmware ft
    • single identical VMs running in lockstep on separate hosts
    • zero downtime, zero data loss failover for all VMs in case of hardware failure
    • no complex clustering or specialized hardware required
    • single common mechanism for all apps and OSes
    • all packets hitting first VM are replayed on the second VM behind the scenes
  • end-to-end management
    • hyperic hq can monitor all the vmware deployments from the infrastructure level down into the code itself

But do apps perform well on vSphere?

  • don't judge performance based on running vms on your laptop
  • on the web tier, vmware has record performance
    • served more requests on a vm than on a physical box
    • 143,000 http ops/sec on a physical box
      • equates to 3 billion http requests a day, which is 3X eBay's daily web traffic
  • appserver: near native performance
    • 95%+ of native on Specxpu and Specjbb
    • 95%+ native on specjvm
  • database performance
    • well-known oltp workload for testing
    • < 15% overhead
    • nearly 9000 database transactions per second
      • 5X number of transactions handled by visa for payment processing
    • near-perfect scalability from 1 to 8 cpus


Popular posts from this blog

Installing and Configuring NextPVR as a Replacement for Windows Media Center

If you follow me on Google+ you'll know I had a recent rant about Windows Media Center, which after running fine for about a year suddenly decided as of January 29 it was done downloading the program guide and by extension was therefore done recording any TV shows.

I'll spare you more ranting and simply say that none of the suggestions I got (which I appreciate!) worked, and rather than spending more time figuring out why, I decided to try something different.

NextPVR is an awesome free (as in beer, not as in freedom unfortunately ...) PVR application for Windows that with a little bit of tweaking handily replaced Windows Media Center. It can even download guide data, which is apparently something WMC no longer feels like doing.

Background I wound up going down this road in a rather circuitous way. My initial goal for the weekend project was to get Raspbmc running on one of my Raspberry Pis. The latest version of XBMC has PVR functionality so I was anxious to try that out as a …

Running a Django Application on Windows Server 2012 with IIS

This is a first for me since under normal circumstances we run all our Django applications on Linux with Nginx, but we're in the process of developing an application for another department and due to the requirements around this project, we'll be handing the code off to them to deploy. They don't have any experience with Linux or web servers other than IIS, so I recently took up the challenge of figuring out how to run Django applications on Windows Server 2012 with IIS.

Based on the dated or complete lack of information around this I'm assuming it's not something that's very common in the wild, so I thought I'd share what I came up with in case others need to do this.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Assumptions and CaveatsThe operating system is Windows Server 2012 R2, 64-bit. If another variant of the operating system is being used, these instructions may not work properly.All of the soft…

Fixing DPI Scaling Issues in Skype for Business on Windows 10

My setup for my day job these days is a Surface Pro 4 and either an LG 34UC87M-B or a Dell P2715Q monitor, depending on where I'm working. This is a fantastic setup, but some applications have trouble dealing with the high pixel density and don't scale appropriately.
One case in point is Skype for Business. For some reason it scales correctly as I move between the Surface screen and the external monitor when I use the Dell, but on the LG monitor Skype is either massive on the external monitor, or tiny on the Surface screen.
After a big of digging around I came across a solution that worked for me, which is to change a setting in Skype's manifest file (who knew there was one?). On my machine the file is here: C:\Program Files\Microsoft Office\Office16\LYNC.EXE.MANIFEST
And the setting in question is this:
Which I changed to this: <dpiAware>False/PM</dpiAware>
Note that you'll probably have to edit the file as administr…