Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PaaS Application #230

Open
vinomaster opened this issue Nov 28, 2012 · 3 comments
Open

PaaS Application #230

vinomaster opened this issue Nov 28, 2012 · 3 comments
Milestone

Comments

@vinomaster
Copy link
Member

Explore creating 1 or even 2 PaaS Applications for existing PaaS systems like Heroku or CloudFoundry.

@nvd-ai
Copy link

nvd-ai commented Jan 27, 2014

What's the status of OCW's scalability? I am running a OCW server on Heroku. I have two main concerns:
1- What is a safe largest number of participants in a session that OCW can handle successfully without failing?
2- What happens when a heroku app is scaled up/down, e.g., number of running dynos increase/decreased? can this effect the current running OCW sessions and possibly disconnect the clients?

Are there some known issues regarding these questions?

@nvd-ai
Copy link

nvd-ai commented Jan 31, 2014

So far, I have found out that heroku does not support sticky sessions. Therefore, if OCW server uses in-memory sessions, this will be a problem for any number of dynos more than one, as Heroku load balancer randomly distributes the inbound requests among different dynos! This basically means scaling will not be possible on heroku.

I am running OCW's Java server on Heroku but I am not much of a Java Developer so I can't read OCW's Java code to see whether it requires sticky session or not to run correctly. Can you clarify this?

Source: Heroku Website

@Brian-Burns-Bose
Copy link
Member

There would have to be some server work to make this horizontally scalable. Once a session is established with a server that client session must remain with that server as the session is kept in memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants