Sunday, May 13, 2012

AMQP Story. Part 1

Introduction

 

Few months ago a friend of mine suggested to do a startup together. I will not tell you yet about the project we’ve decided to do but  I’ll tell you that it is a mobile oriented service. I decided to describe the project flow step by step and so there will be  series of articles and I will do the project presentation in the very last article. So here we go.

Architecture design


I’ve had  some experience in developing back-ends for iPhone apps previously and the main challenge I’ve faced was a sharp rise of load. In other words everybody  started to purchase the app suddenly and the back-end failed to handle such amount of connections. To make things easier to understand I’ll tell you few words about the back-end I used. It was a Zend Framework based application which was working on Apache2 web server, MySQL database was used and the application provided the REST API for the iPhone app. iPhone application was just an image gallery where images were provided by the backend.