CDN shared hosting question - Anycast IP


SUBMITTED BY: Guest

DATE: Oct. 24, 2019, 5:51 p.m.

FORMAT: Text only

SIZE: 5.5 kB

HITS: 371

  1. CDN shared hosting question - Anycast IP
  2. I have 4 Servers(Anycast IP) which is located in different location.
  3. I am thinking about using Remote MySQL on server1 and sync all images/contents of main website to 3 Servers.
  4. ++++++++++++++
  5. list of top cheapest host http://Listfreetop.pw
  6. Top 200 best traffic exchange sites http://Listfreetop.pw/surf
  7. free link exchange sites list http://Listfreetop.pw/links
  8. list of top ptc sites
  9. list of top ptp sites
  10. Listfreetop.pw
  11. Listfreetop.pw
  12. +++++++++++++++
  13. public_html folder will be synced to all other 3 servers.
  14. It can work?
  15. -- I am trying to setup it as shared hosting but MySQL data will be located on Remote server(USA) so when user try to access my website from Europe then contents from Europe server will be delivered to that user.
  16. I think DNS will be also need to hosted on all 3 servers?
  17. If the Europe server has to talk to the USA server for database queries, performance will take a good hit. It would be better to do master+master replication where you run mysql on the USA or Europe server and they replicate to each other. Though latency can be a concern and as this shared hosting, you wont be able to control which apps are used . This article goes over the issue with latency and solution of using async replication.
  18. Another issue is file changes done at one of other nodes also needs to be sync'd to all the other nodes as all of them are considered masters in this type of setup. A network file system like GlusterFS would help with that but do not know about its performance over such distances.
  19. -Steven | u2-web@Cooini, LLC - Business Shared Hosting | Isolate sites with Webspaces | Site Builder | PHP-FPM | MariaDB
  20. WHMCS Modules: Staff Knowledgebase | Custom Modules and Hooks
  21. "It is the mark of an educated mind to be able to entertain a thought without accepting it" -Aristotle
  22. CDN shared hosting question - Anycast IP
  23. Yes, but with conditions. If the website applications are writing contents such as session data, cookies, caches etc in to disk as files then the other three servers should be use for delivering static contents only.
  24. If we want to run dynamic contents from other three servers, the application should write session data to the MySQL running on server1. It may cause additional delay.
  25. If the client IP is always directed to the same web server, this limitation won’t apply. We can load both dynamic and static contents from any server.
  26. The web content replication interval is also needs to be considered. If the contents are being modified regularly (say, in each hour) we may need to implement automatic file sync from server1 (master) to slaves. Otherwise, it only require manual push to all slaves.
  27. CDN shared hosting question - Anycast IP
  28. -- I am trying to setup it as shared hosting but MySQL data will be located on Remote server(USA) so when user try to access my website from Europe then contents from Europe server will be delivered to that user.
  29. The database transaction delay need to be considered. All the website requests need to be communicated with the MySQL server located in the US before generating the dynamic web page.
  30. w hostel phuket
  31. rotate4all.com
  32. paytoclick.in
  33. clickaholics.com
  34. www.echanges.top
  35. 7 domains of wellness
  36. adfoc.us
  37. traffic-monopoly.com
  38. shibe.win
  39. freebitco.in
  40. I think DNS will be also need to hosted on all 3 servers?
  41. If the DNS service is handled internally, we should host the DNS records on all three servers. We also need to sync the DNS zones across other servers.
  42. Yes, but with conditions. If the website applications are writing contents such as session data, cookies, caches etc in to disk as files then the other three servers should be use for delivering static contents only.
  43. If we want to run dynamic contents from other three servers, the application should write session data to the MySQL running on server1. It may cause additional delay.
  44. If the client IP is always directed to the same web server, this limitation won’t apply. We can load both dynamic and static contents from any server.
  45. The web content replication interval is also needs to be considered. If the contents are being modified regularly (say, in each hour) we may need to implement automatic file sync from server1 (master) to slaves. Otherwise, it only require manual push to all slaves.
  46. This won't work for a shared hosting environment ware you have hundreds or thousands of accounts all trying to access mail or update websites.
  47. Not only that but you will cop a huge performance hit loading the database from the USA when the servers are in Europe.
  48. To do this type of thing properly you are looking at quite a bit of money.
  49. This is why companies that want to build this type of environment do it using existing cloud platforms such as Azure.
  50. As this type of thing is what they were built for.
  51. If you want to role your own load balanced cluster look at VMware they have some nice tools for doing this.
  52. If you are going to do this, the entire environment needs to be in the country the user is in, and you need to use Geo IP to pick the closest path for the user.
  53. You can use a company such as Fastly to assist with this, they have load balancing and the CDN in the countries you are looking at it would just be a matter of configuring the servers and working out control panels. You would probably need to use something like Interworx for something like this as Cpanel isn't built for it.

comments powered by Disqus