I have a web application consisting of a website API and REST. Should I host them on the same server or should I host them on different servers? By "server" I mean a cluster of servers - several servers behind a load balancer.
The API is mainly inbound traffic, the website is mainly outbound.
If it matters - hosted on Rackspace and / or AWS.
Here is what I see so far:
Benefits of using website API and REST on the same server
- Easy deployment
- Easy scaling - something slow - just run another instance
- Single Load Balancing Configuration
- Easy monitoring
- Simple, simple, simple ...
- Effective use of a full duplex network (API - inbound, outbound website)
Cleavage Benefits
- API overloading does not affect site load time.
- Detailed monitoring (I will know which component is currently using resources)
Any comments?
thanks
Alexander
amazon-web-services scalability hosting
Alex Uslontsev
source share