Swapmees RESTful API
Skills: PHP, RESTful API design
Swapmees was an iOS app I programmed from scratch. It was a gameafied chat app that was meant for tons of traffic. To handle the server backend of the app I wrote a RESTful API to perform the Chat delivery and process the game transactions.
Careful considerations had to be made to prevent simultaneous transactions from corrupting the game data. This was done by locking records, using mySQL, before they were updated. If the lock could not be obtained because another request had control of the record then the transaction would fail and kick back to the user in the app. In addition to record locking many other checks had to be performed to ensure transactions were valid.
The system included custom logging and log viewing. Log viewing also included a crude backend web interface to allow for routine maintenance tasks such as reviewing and flagging offensive posts and blocking users.
Was written in PHP using objects.
Although the usage number hoped for never materialized this API was handling around 200K requests per day.