iggymoran
iggymoran

Reputation: 4089

Running multiple processes in a Cloud Foundry container

I'm writing a custom build pack for Cloud Foundry to run a third-party application over which I have no control. This application (C/C++) executes code defined in metadata (configuration). It also hosts a JRE so that it can interact with Java code. The application does not communicate over HTTP. It instead uses a proprietary protocol to send messages to it.

To utilize Cloud Foundry's routing and elastic scaling, I'm writing a Java web application whose purpose is to:

I understand that it's not best practice to execute multiple processes within a container, but, is there a way of specifying multiple commands to execute in parallel and have Cloud Foundry:

Upvotes: 0

Views: 648

Answers (1)

K.AJ
K.AJ

Reputation: 1292

Here is a simple reverse proxy in Go. http://www.darul.io/post/2015-07-22_go-lang-simple-reverse-proxy.

Go is easy, if you already know C or C++. The code is straight forward and Cloud Foundry comes with Go buildpacks. It will make it a lot easier to run in Cloud Foundry.

Give it a try.

Upvotes: 0

Related Questions