Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hi Everyone,
I’m new to security and load balancing techniques and hoping to learn them in case I need to in the future. I’m a webserver newbie hoping to learn and apply advance techniques. Any help or links to tutorials would be appreciated.
Currently. my 1 VPS server will composes of:
For now I’m on development and planning phase. I was told that the chat app will be RAM intensive and might require 4GB to 8GB to serve 100-1000+ concurrent users, hence I’m exploring scalability options.
The other options is to use their the Chatservice" to offload MEMcached processes at prices and msg exchanges, respectively:
$7 100K
$15 500K
$40 5mil
$79 unlimited
My goals:
Keep overall cost under $60 USD and retain more benefits if I can have a Digitalocean networking solution instead.
Start with Layer 4 load balancing and hopefully move on to 7 if advised.
My questions are:
Reading the DO tutorials led me to this slightly modified diagram for an ideal setup: http://www.lumiereyeg.ca/wp-content/uploads/2016/09/Ideal-setup-1.png with 2 isolated memcached servers (hmm, better 3?) Would this work ideally? Is it possible that the chat app can have it’s own Ha-proxy loadbalancer and be connected to a Slave database or a Redis+mysql instance? (security wise, what’s the ideal server app between a haproxy and the memcached cluster so SSL is applied?)
Correct me if I’m wrong: I hope to serve Canadians in the Alberta province and the only Canadian server is Toronto (not quite PCI compliant until later this year). So, it’s one option to use the San Francisco server for Memcached instance as it’s 500 miles less. Lastly, is it possible to private network with other VPS servers that is not digitalocean? Are there risks?
Lastly, if 4GB RAM is optimal for 1000+ connection, would 1 GB x 2 memcached server suffice and I slowly increase?
Thanks so much for any help. I certainly need to practice and test things out. Links to the right tutorials would help.
David Nusbaum
David Nusbaum
douser123
hss
digitalthinkingt
γ (gamma)
99a6f7638e10487f889daa3e4a233a
shivendrakushwah
adrilef
agenteAND
smmaamri