• >
  • >
  • >
  • >
  • >
Lightbend > 实例探究 > Typesafe Boosts Heluna Anti-Spam Service with Scala, Akka, and Play Framework

Typesafe Boosts Heluna Anti-Spam Service with Scala, Akka, and Play Framework

Lightbend Logo
公司规模
Mid-size Company
地区
  • America
国家
  • United States
产品
  • Typesafe Platform
  • Scala
  • Akka
  • Play Framework
技术栈
  • Scala
  • Akka
  • Play Framework
  • CouchDB
  • Redis
实施规模
  • Enterprise-wide Deployment
技术
  • 平台即服务 (PaaS) - 应用开发平台
  • 应用基础设施与中间件 - API 集成与管理
  • 平台即服务 (PaaS) - 连接平台
适用行业
  • Software
  • 电信
适用功能
  • 商业运营
  • 质量保证
服务
  • 软件设计与工程服务
  • 系统集成
关于客户
Heluna is a cloud-based anti-spam service provider that has been in operation since 2004. The company offers a unique SaaS-based solution that integrates seamlessly with existing email infrastructures to filter out spam and deliver clean messages efficiently. Heluna's service is trusted by its customers to filter out approximately 78% of all email messages, which are typically spam, while ensuring timely delivery of legitimate emails. The system benefits from years of experience and automated learning, allowing it to adapt and improve its spam detection capabilities continuously. Heluna's commitment to providing a reliable and effective anti-spam solution has made it a trusted partner for businesses seeking to protect their email communications from spam and other malicious content.
挑战
Heluna faced a significant challenge in scaling its anti-spam service to meet the growing demand for processing millions of email messages daily. The existing platform, which relied on legacy technologies like Sendmail, Perl, and C, was unable to scale horizontally to accommodate the increasing volume of emails. This lack of scalability threatened the reliability and performance of Heluna's service, prompting the need for a more robust and scalable solution. The founder and chief architect, Mark Beeson, recognized that the current architecture was untenable for long-term growth and sought to improve the system's scalability, performance, and operational visibility.
解决方案
To address the scalability challenges, Heluna adopted the Typesafe Platform, which includes Scala, Akka, and Play Framework. Scala, a general-purpose programming language, was chosen for its ability to distribute computation across multicore servers and datacenters, making it ideal for modern cloud-computing workloads. Akka, a toolkit for building concurrent and distributed applications, simplified the concurrency problem by providing a higher level of abstraction through its Actor-based model. This allowed developers to focus on business logic rather than low-level tasks. The Play Framework, with its lightweight and stateless architecture, ensured minimal resource consumption for highly scalable applications. The new architecture consisted of three main components: Mail Accepter, Mail Filtering, and Mail Delivery. The Mail Accepter processed incoming emails using a Scala application, while the Mail Filtering component utilized Akka actors for high-level filtering and anti-spam systems. Finally, the Mail Delivery component used Akka actors to send emails to client systems. This flexible architecture allowed Heluna to scale its operations easily, leveraging Amazon's EC2 infrastructure for additional nodes as needed.
运营影响
  • Heluna's new architecture, based on the Typesafe Platform, provided a flexible and scalable solution that could grow organically with the business's needs.
  • The implementation of Scala, Akka, and Play Framework allowed Heluna to improve the performance and scalability of its anti-spam service significantly.
  • The new system architecture enabled Heluna to process and deliver over 300,000 clean messages daily, despite the high volume of spam and virus attacks.
  • The use of Futures in the new system architecture resulted in low CPU usage and blocking time, improving overall system efficiency.
  • The transition to the new platform was completed in approximately two months, resulting in a concise and efficient code base.
数量效益
  • Heluna's solution now processes and delivers over 300,000 clean messages daily.
  • The new architecture allows for the processing of hundreds of millions of emails, significantly increasing the system's capacity.

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 的任何营销电子邮件。
提交

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