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

Hosting #114

Open
spratt opened this issue Apr 2, 2013 · 8 comments
Open

Hosting #114

spratt opened this issue Apr 2, 2013 · 8 comments
Labels

Comments

@spratt
Copy link
Member

spratt commented Apr 2, 2013

I think it's about time we talk about what we want to do after the course is over. Do we want to keep hosting on my WebFaction account (which is basically free)? Do we want to go with something more elastic in case we get a sudden surge of traffic? Do we want to split the difference and use some kind of CDN to serve the front-end but keep the back-end on a central server?

On my hardware, the back-end can respond to about 200 requests per second (not counting loading the front-end). The front-end is big, though.

@cdelahousse
Copy link
Member

I think this is a question we should answers a bit further down the road. We don't have much in terms of users nor functionality. Once our app becomes a bit more polished, we should revisit this question.

For now, I think WebFaction is fine.

@bheesham
Copy link
Member

bheesham commented Apr 5, 2013

Well, I have a webfaction too. I can look into a way for my redis, to talk to your redis and we'll have a backup. It might be possible to do some reverse proxying.

@spratt
Copy link
Member Author

spratt commented Apr 5, 2013

It would be wicked if we could do some sort of CDN type thing. Since your server is in Europe and mine is in the US, if we each served to requests coming from nearby it would be faster for folks.

@psimonyi
Copy link
Contributor

psimonyi commented Apr 6, 2013

Recently read: http://www.peterbe.com/plog/never-put-external-javascript-in-the-head
Summary: minimize DNS lookups.

@spratt
Copy link
Member Author

spratt commented Apr 7, 2013

If the whole front-end is loaded by CDN, the extra DNS lookup would only happen when querying the back-end.

@spratt
Copy link
Member Author

spratt commented Apr 7, 2013

Actually, we're already guilty of doing this to get the persona library.

@psimonyi
Copy link
Contributor

psimonyi commented Apr 8, 2013

I thought the Persona library was loaded asynchronously. (But we should not show the button until it's loaded... separate issue, I guess.)

@spratt
Copy link
Member Author

spratt commented Apr 8, 2013

Persona is loaded by require...which I think is async.

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

No branches or pull requests

4 participants