Portfolio
, , ,

LikeFolio: Invest in What You “Like”

LikeFolio shows users information on the top publicly traded companies most talked about on their networks. It also predicts how a portfolio of their securities worth $10,000 would perform over a period of 12 months.

SwanPowers, LLC turned to Altoros to apply best practices in cloud and Ruby development to their existing system in order to satisfy the high requirements to the level of concurrency, load, response times, etc.

Likefolio.com is an application based on the concept “invest in what you like,” which helps users to find potential investment opportunities through analyzing brand awareness in social networks. It aggregates conversations, status updates, likes, and check-ins from social networks into a proprietary database. Then it links these keywords and phrases to publicly traded companies and translates the data into investment ideas.

The Web site was based on a distributed architecture that was not able to scale as expected. In addition, there were several issues with DB contention and background jobs.

It was estimated that the solution would have to serve 10,000 users simultaneously with at least 100 new user registrations per minute.

Every new user would need to view a partial portfolio right after signing up. The system had to interact with APIs of multiple social networks and remain within the limits of request quotas. It also had to apply complex business logic to extract investment information from social network data.

Additionally, LikeFolio profiles of every existing user had to be synchronized with all the latest updates on their social networks.

Having analyzed the infrastructure, software architecture, and application code, we were able to implement improvements that have resolved all the issues mentioned above. The optimization included reconfiguring the Amazon EC2 instances, implementing a Redis pub/sub mechanism to decouple jobs from DB operations, managing social networks quotas internally, so that the application would never exceed the allowed number of requests, and much more.

Thanks to the improvements introduced by our team, the customer was able to launch several marketing campaigns without being afraid of performance issues due to increased traffic. The application’s overall uptime and performance have been improved significantly.

Taking into account the LikeFolio’s focus on social networks, Altoros made sure that it complies with the required API quota/limits.

Technology Stack

Server Platform

Amazon Web services (EC2, Route 53, CloudWatch, RDS), Redis

Technologies

Ruby on Rails, Sidekiq, Capistrano

Programming Language

Ruby

Database

Amazon RDS for MySQL

Client Platform/Application Server

Unicorn

Want to develop something similar?


© 2001 - 2016 Altoros