Re: WebSockets app on CF


Dr Nic Williams <drnicwilliams@...>
 

The gorouter itself supports websocket connections. The "cf logs" streaming
logs is one user of websockets.

How you access it might depend on which CF you target.

Look in ~/.cf/config.json for how "cf logs" accesses loggregator:

cat ~/.cf/config.json | grep Logg
"LoggregatorEndPoint": "wss://loggregator.run.pivotal.io:443",

I'm actually surprised by the above - I thought PWS used port :4443 for
websockets/loggregator.

On Mon, Jun 20, 2016 at 11:23 AM, Vinod Singh <vinoddandy(a)gmail.com> wrote:

Friends,

Do you have any guidance/recommendations for running Web Sockets apps on
Cloud Foundry ?

I am afraid that if application need to open multiple connections it may
affect the performance of the overall system.

Any recommendation and pointer will help....

Regards,
Vinod

--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.