Chaordic Systems is a Brazilian company that specializes in personalization. The company focuses on e-commerce, helping users find products that are most valuable to them, and helping retailers increase profits. Chaordic Systems collects data about users’ behavior, processes that data using advanced machine learning algorithms, and then personalizes the user experience through targeted service recommendations. Some of the biggest retailers in Brazil are Chaordic customers such Livraria Saraiva and group (including Casas Bahia, Extra, and Ponto Frio e-commerce sites).

João Bosco, co-founder and CTO of Chaordic Systems, explains the challenges the company faced prior to signing on with Amazon Web Services (AWS): “We decided to work mainly with big retailers, with a lot of user traffic and many products. To truly scale the solution, we needed a system to be very fast, so users wouldn’t notice the difference between retailers’ content and ours. We needed a very robust solution that could handle a high workload and respond quickly, especially during peak times like Black Friday.”

“The costs involved in building a data center to solve this problem were prohibitive, especially for a startup business with no income at the time”, continues Bosco, “Going to the cloud was the obvious decision to make.”

Chaordic Systems started looking for services that offer cloud solutions. Bosco states, “We were already fans of AWS for its innovative spirit, high quality products, and providing the infrastructure behind AWS had the most stable and advanced cloud solution, so we decided to give it a try.”

Chaordic Systems currently uses AWS for almost everything including development. There is one server running within the company and everything else is on the AWS cloud. The following diagram illustrates the company’s main platform architecture:

Chaordic Systems Architecture Diagram

Figure 1. Chaordic Systems Architecture on AWS 

Bosco outlines some of the ways in which Chaordic Systems uses AWS:

The company’s main platform is written in Java and runs on Jetty, nginx, and HAProxy. It uses a local cache (Ehcache), a Cassandra cluster, some MySQL servers, and a cluster of Memcache.

Bosco adds, “The recommendation engine is written in C++ and uses a Python interface. Nowadays, it is a very memory intensive solution that runs on a big instance with 68 GB of RAM. Our widgets are written in JavaScript (jQuery extensively), HTML, and CSS. We also have some smaller systems written in Rails, Grails, and PHP.”

The team also uses Python for scripting. Their tools for interfacing with AWS are written in Python and use primarily Amazon EC2 API tools. For monitoring, they use New Relic, Nagios, Ganglia, and Pingdom. They use Puppet and Amazon S3 to help launch instances.

Chaordic Systems has seen the following benefits from using AWS:

  • The main platform processes more than 1 billion requests per month using about 25 xlarge instances.
  • At peak times, Chaordic Systems processes about 70,000 requests per minute.
  • The company serves about 250 GB of JavaScript content every day.
  • Their platform generates 34 million recommendations per day.

Chaordic Systems appreciates the frequency with which AWS launches new products. Bosco says, “We always look forward to the next product release. I don’t think we would even have a business without AWS.”

To learn more about how AWS can help your web application needs, visit our Web Applications details page: