Gaurav Chandra Gaurav Chandra   April 2, 2015

Decoupled architecture

When you are creating a software product these days it is imperative to create a decoupled architecture. Gone are those days when everything was done on one server. With the advent of cloud computing, it is cheaper and reliable to not have a single point of failure.

I use the following services to create a decoupled architecture which you can also do for your next project:

  1. Server: Digital Ocean (https://www.digitalocean.com/)
  2. Server Control Panel: Server Pilot (http://www.serverpilot.io/)
  3. DNS: Google Cloud DNS
  4. Transactional Emails: Mandrill (http://www.mandrill.com)
  5. Storage: Amazon S3
  6. Queues & Workers: Iron IO (http://www.iron.io/)
  7. Code Hosting: Gitlab (https://gitlab.com/)
  8. Domain: Godaddy
  9. Server Monitoring: Boundry (http://www.boundary.com/
  10. Application Monitoring: New Relic

I don’t use AWS for anything else except the storage, although they provide everything under one roof, because for some they are expensive and in the past their data centre has gone down for couple of hours resulting in losses. If you choose different providers, then you choose different locations or data centres. This way not everything might go down simultaneously.

Always prepare for the worst and ensure that your customers are always happy. One bad experience wipes out all the previous good ones.