GO applications and Cloud Foundry (26. May 2015)
Cloud Foundry is one of many options to host your applications. It is a PaaS originally developed by VMware, now governed by Cloud Foundry Foundation. Not going much into details about where, how and what as those information is publicly available I’ll focus here on how to host your GO applications on any Cloud Foundry installation including PCF or PWS.
It’s been a while since the last blog and this is the last in the series of “SockJS-go lessons learned”.
It’s been a while since implementing SockJS library for Go. Since then I learned couple of new things about the language and runtime. So here I’ll try to summarise what it was.
SockJS is a browser JavaScript library that provides a WebSocket-like object. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server. Under the hood SockJS tries to use native WebSockets first. If that fails it can use a variety of browser-specific transport protocols and presents them through WebSocket-like abstractions.
Recently I came across a programming language called GO. At first I was a little skeptical about it, why another language? I spent most of my IT life in Java world, occasionally touching other languages (Ruby, C++, JavaScript, Python, Groovy, Scala, Erlang …) but GO really got my attention.
Recently I spent some time playing with BOSH which is a tool for release engineering, deployment and lifecycle management of large scale distributed services. It is used to manage VMs in AWS and vSphere. The vSphere option seemed to be interesting to me and the idea of having private Cloud Foundry PaaS running locally on private infrastructure was exciting. The BOSH is under heavy development and it’s sometimes difficult to make things work easily even if following various tutorials and blogs and I’m very thankful to the authors.