• >
  • >
  • >
  • >
  • >
Lightbend > Case Studies > Building a Production-Ready Social Networking Backend with Typesafe Reactive Platform

Building a Production-Ready Social Networking Backend with Typesafe Reactive Platform

Lightbend Logo
Customer Company Size
Startup
Region
  • America
Country
  • United States
Product
  • Typesafe Reactive Platform
  • Akka
Tech Stack
  • Scala
  • Java
  • Amazon EC2
Implementation Scale
  • Enterprise-wide Deployment
Technology Category
  • Application Infrastructure & Middleware - Event-Driven Application
  • Platform as a Service (PaaS) - Connectivity Platforms
Applicable Industries
  • Software
Applicable Functions
  • Product Research & Development
Use Cases
  • Process Control & Optimization
  • Remote Asset Management
Services
  • Software Design & Engineering Services
  • System Integration
About The Customer
Conspire is a TechStars company that analyzes email data to provide users with detailed analytics about their email network. Founded by Paul McReynolds and Alex Devkar in 2012, the company is based in the San Francisco Bay Area and later set up headquarters in Boulder, Colorado. Conspire's platform helps users understand the strength of connections between people, maintaining an up-to-date network of connections without user intervention. The company aims to find the strongest path of connections in a user's extended network when needed.
The Challenge
Conspire faced the challenge of revamping their backend system to support a customer-facing product. Their original backend was a multi-threaded Java application with a traditional concurrency model, which was too complicated and not suitable for future developments. The team needed a new solution that could handle scalability, resiliency, and simplicity, as the existing codebase was not up to the mark.
The Solution
Conspire chose to use Typesafe’s Akka as the basis for their new backend, due to its ability to build highly concurrent, distributed, and fault-tolerant event-driven applications. The team initially started with Java, as most members were familiar with it, but eventually moved to Scala, thanks to Ryan Tanner's advocacy. The architecture was designed to decouple the backend from the frontend, allowing for independent service operation and reducing concerns about scalability and resilience. Akka's 'Let it Crash' philosophy was embraced, allowing nodes to fail without affecting the entire system.
Operational Impact
  • The new architecture allowed for complete decoupling of the backend from the frontend, simplifying code paths.
  • The backend was divided into three siloed services, each independent and communicating only via a supervisor.
  • Akka provided fault-tolerance and resilience, allowing any node to fail without taking down the entire backend.
  • Scaling out was simplified by using Amazon EC2 instances, which could be added to the cluster as needed.
  • The team was able to reach out to the Akka Engineering Team for support during challenging times.
Quantitative Benefit
  • The backend was built in three months with a team of three developers.

Case Study missing?

Start adding your own!

Register with your work email and create a new case study profile for your business.

Add New Record

Related Case Studies.

Contact us

Let's talk!
* Required
* Required
* Required
* Invalid email address
By submitting this form, you agree that AGP may contact you with insights and marketing messaging.
No thanks, I don't want to receive any marketing emails from AGP.
Submit

Thank you for your message!
We will contact you soon.