• >
  • >
  • >
  • >
  • >
Lightbend > 实例探究 > Building a Production-Ready Social Networking Backend with Typesafe Reactive Platform

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

Lightbend Logo
公司规模
Startup
地区
  • America
国家
  • United States
产品
  • Typesafe Reactive Platform
  • Akka
技术栈
  • Scala
  • Java
  • Amazon EC2
实施规模
  • Enterprise-wide Deployment
技术
  • 应用基础设施与中间件 - 事件驱动型应用
  • 平台即服务 (PaaS) - 应用开发平台
适用行业
  • Software
适用功能
  • 产品研发
服务
  • 软件设计与工程服务
  • 系统集成
关于客户
Conspire is a TechStars company that specializes in analyzing email data to provide users with detailed analytics about their email network. Founded by Paul McReynolds and Alex Devkar in 2012 in the San Francisco Bay Area, Conspire aims to help users understand the strength of connections between people. The company maintains an always-up-to-date, weighted network of connections without requiring any effort from users. When a user needs to reach a person or company, Conspire identifies the strongest path of connections in the user's extended network. After participating in TechStars Cloud 2013, Conspire established its headquarters in downtown Boulder, Colorado.
挑战
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 task.
解决方案
Conspire chose to build their new backend using the Typesafe Reactive Platform, specifically leveraging Akka for its scalability, resiliency, and simplicity. Initially, the team opted for Java due to its familiarity, but eventually transitioned to Scala, thanks to Ryan Tanner's expertise and advocacy. The architecture was designed to decouple the backend from the frontend, allowing for independent service operation and fault tolerance. Akka's 'Let it Crash' philosophy was embraced, enabling the system to handle node failures without impacting the overall backend. The backend was divided into three siloed services—IMAP processing, analytics, and mailing—overseen by a supervisor, ensuring reduced cohesion and improved resilience.
运营影响
  • The new backend architecture allowed for complete decoupling of the backend from the frontend, simplifying code paths and enhancing fault tolerance.
  • The use of Akka enabled the system to handle node failures gracefully, ensuring that the backend remained operational even if individual nodes failed.
  • The transition to Scala, led by Ryan Tanner, demonstrated the benefits of type-safe, asynchronous code, ultimately leading to better code quality and maintainability.
  • The architecture's design allowed for easy scalability, with new Amazon EC2 instances being added seamlessly to the cluster as worker nodes.
数量效益
  • The entire backend was built over a three-month period 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

相关案例.

联系我们

欢迎与我们交流!
* Required
* Required
* Required
* Invalid email address
提交此表单,即表示您同意 Asia Growth Partners 可以与您联系并分享洞察和营销信息。
不,谢谢,我不想收到来自 Asia Growth Partners 的任何营销电子邮件。
提交

感谢您的信息!
我们会很快与你取得联系。