There will be a lot of tradeoffs, but a few to look at might be:
Response speed vs. network latency or CPU load
Scalability vs. cost
Simple deployment vs. flexibility
Automated vs. manual deployment
Automated vs. manual testing
Code maintainability/logical structure vs. execution speed/complexity