• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

Question about master and read database servers

hi guys

I've got a database server in the cloud that is a master with Amazon. And a read server which replicates from the master.

Now I know that the read server is what will be the 'viewable' server on server pages for security reasons etc for the public to see.

One of the features of this website is that the general public make changes to their profiles and submit/save those changes (i.e. they write to the database). Like you would on a facebook page or a linkedin page when you make changes to your profile.

My question is, can this be possible if the server that is viewable to the public only a 'read' database server? Or does it have to be like a 'master' database for the public to be able to make changes/write to it?

Thank you
1 Solution
The simple simple answer is that if you have a read-only database, you can only read from it and you will not be able to make modifications.

Most likely, you will have to use some sort of API that writes to the master server, which then propagates to the slave (read-only) database you use for production.
YashyAuthor Commented:
thanks for the help.

I'm unfamiliar with API's. What sort of API's? And is there any other way of doing this?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now