Trusted Housesitters is a successful UK business which founded an online marketplace for house sitting opportunities. Since 2010, TrustedHousesitters has acquired users in 140 countries, helped facilitate over 2 million nights of pet sitting, and grew its team to 60+ people.
We came across Andy, Rachel and their TrustedHousesitters back in the company’s early days, at the time when they had already built a product with 10,000 active users and - encouraged by its initial success - drew up ambitious plans for further growth of the business. The main challenge they faced was related to technology. The current web application, written in PHP, has reached its capacity and made the product unstable, difficult to maintain, and almost impossible to scale, both in terms of supporting the growing traffic and adding new features. Andy and Rachel needed a tech partner who could help them bring their product to the next level and ensure that technology would no longer put a cap on TrustedHousesitters’ commercial success.
The legacy PHP application suffered from poor development practices such as unorganised codebase, structural programming and lack of automated testing. Taking into account the growing user base and traffic, the site was becoming less and less reliable and it’s maintenance more and more costly. Furthermore, there was a backlog of features and change requests, resulting from the company’s brave expansion strategy, which required significant implementation effort due to the technical debt at hand. The challenge was magnified by the fact that the platform was already used heavily around the clock by users worldwide and any upgrades needed to be done with minimal disruption to users to avoid potential revenue loss.
We started by researching the current codebase, technical challenges, traffic patterns, and team’s business plans to make an informed decision about what was best for the platform’s future. Taking all aspects into account, we decided to go against Joel’s advice (who once said “You Should (Almost) Never Rewrite From Scratch”) and we recommended rewriting the entire application from PHP to Python (Django), for the following reasons:
We developed a brand new Django app hosted on Rackspace and equipped it with significant features and improvements:
Despite incorporating many new features, we reduced the codebase by over two times (from 91k to 42k lines of code) and achieved a test coverage of 80% (400+ automated unit tests) that significantly improved the code’s maintainability and scalability.
decrease in codebase size
countries users came
investment secured from Seedrs (for 5% equity)
and media recognition
in Forbes, The New York Times, ABC, USA Today
Sunscrapers are an extremely knowledgeable agency with fantastic developers and strong integrity. They understand and interpreted our needs and site well, produced complex work with excellent value for money and have outstanding technical knowledge. We'd recommend them.
Need top engineers for your team?
Got a project on your mind?
contact us and receive a bespoke proposal in 2 business days