Monitise Interview Question

How to design distributed pain application