ketting00 — 2012-10-01T23:53:15-04:00 — #1
Can anyone suggest a web hosting service that allows to host PHP and Node.js together. Also, I want to enable websocket connection to bridge communications between my PHP aap and Node.js app. I've tried services like Appfog and Heroku but they do not support websocket connection.
technobear — 2012-10-02T07:11:37-04:00 — #2
logic_earth — 2012-10-02T09:14:21-04:00 — #3
Windows Azure supports both with web sockets.
ketting00 — 2012-10-02T11:17:47-04:00 — #4
The information is what I need. But I don't really understand RAM usage on web server. How much RAM that I need. Do 32MB sufficient? My budget is very tight at start.
eastcoast — 2012-10-02T13:40:46-04:00 — #5
32mb is not sufficient. I'm not sure you can even buy virtual servers with that low an amount of memory.
serverstorm — 2012-10-04T14:11:16-04:00 — #6
Did you mean 32Gb maybe? It that is the case then depending on your application and database it may be enough.
ketting00 — 2012-10-04T20:46:08-04:00 — #7
No, I mean 32mb. It's the minimal RAM dotcloud offers. Look at their website: https://www.dotcloud.com/pricing.html
If I tried 512MB for my Node.js, PHP and MySQL application each I have to pay $207.36 a month. That's too expensive for uncertain investment. I need to make sure that my website caught attention before I jump into that scale of investment.
I doubt that is 32MB or maybe 64MB sufficient to keep my apps run smoothly.
logic_earth — 2012-10-04T23:07:00-04:00 — #8
This is why I like Windows Azure. You pay for only what you use. An extra small VM instance (1GHz CPU, 768MB RAM), get two of them (for redundancy), with 25 GBs of storage and 25 GB of bandwidth, is only $25/m. That is assuming you use 25 GBs of storage and of bandwidth. When the time comes that you have to expand the resources you need, just a turn of the dial.
ketting00 — 2012-10-05T03:40:51-04:00 — #9
Thanks and what about *Requires $500 minimum. Can I just pay $300 instead.
logic_earth — 2012-10-05T03:58:06-04:00 — #10
The $500 minimum is for the 6-month and 12-month plans. Not for the "pay-as-you-go" plan.
The Pay-as-You-Go pricing option is extremely flexible. It involves no up-front costs and no long-term commitment. You pay only for the resources that you use each month.
Cloud Services and Virtual Machines are charged per hour of usage. Storage, SQL Database, Bandwidth, Caching, and Content Delivery Network (CDN) features are charged per gigabyte used. Some resources are charged per transaction.
eastcoast — 2012-10-05T10:57:41-04:00 — #11
There are plenty other vps options which will run what you want. You might get away with a bare minimum of 128mb if you have minimal traffic and only light database activity and avoid apache for a lower memory web server such as nginx. 64 would only be sufficient to run a socket server only. There are providers that will do these sort of low end vps for $10 a month.