Scenario:
We are beginning to setup File Cloud by Tonido. We have many users onsite of offsite. This is split about 50-50.
The data center is hosting the load balancer, which is accessed from the web. The offsite users are being sent to the data center, which is just fine.
The onsite users will be going through the load balancer as well, however they will be routed back to the onsite servers. Now I know that the database is still offsite, but the main bandwidth need is going to be from the onsite file server.
My question: Is there a way to route (Based on the fact that the users are local to that server) to keep the transfer local and not back through the web? Not sure this would work since the load balancer is offsite, assuming that the traffic will be sent back through Ha Proxy, through the net, back to the onsite location.
Any thoughts would be greatly appreciated.
Site 1 (Onsite):
Host server:
VM's
Application Server
Application Server
DB (Secondary)
File server
Site 2(Data Center):
Host server:
VM's
HaProxy Load Balancer
Application Server
Application Server
DB(Primary)
File Server
Physical DB(Secondary)
This is more of a product question for the FileCloud team (http://www.tonido.com/forum/) . I'm not familiar with their product, but it seems like you want to ask them about supported multi-datacentre / multi-master configurations.
Your description suggests that you are deploying a single MongoDB replica set, which means there is only a single primary where data can be written. If you have a 50/50 split of onsite & offsite users you will have to decide the most favourable location for the primary based on your requirements. I'm not sure if FileCloud would support secondary reads (and handle eventual consistency), but that might be one possibility to at least keep reads local to the app servers.
However, if all your user traffic is going via a load balancer/proxy in your offsite data centre the locality question is probably moot. I think you'd want to have an onsite load balancer and perhaps have the service DNS names resolve differently for onsite & offsite users.
If you do post a question in the FileCloud forum, it would be helpful to add a link to the thread here so others with a similar question can follow the discussion.
댓글 없음:
댓글 쓰기