Notes"This explains when to use POST or PUT for creating new resources. The answer ultimately lies in who is responsible for determining the new resourceās URI. If the client is in charge, the client can use PUT to the new URI (like we did for user accounts) and the service can return a response code of 201 (āCreatedā). However, if the service is in charge of generating the new URI, the client should POST the new resource to a factory URI like weāve done for bookmarks. Then, the service can return a response code of 201 (āCreatedā) along with the URI of the new resource in the response āLocationā header."FeedEmbedUnfurl
Notes"After a point the sql server becomes the bottleneck in lots of web application, and to scale, master-slave replication with single master, multiple slave is recommended. This setup with nginx can be used to accomplish traffic distribution between master and slave based on request method. "FeedUnfurl