• >
  • >
  • >
  • >
  • >
Lightbend > 实例探究 > Kifi's Innovative Use of Typesafe Reactive Platform for Enhanced Internet Search and Information Sharing

Kifi's Innovative Use of Typesafe Reactive Platform for Enhanced Internet Search and Information Sharing

Lightbend Logo
公司规模
Startup
地区
  • America
国家
  • United States
产品
  • Typesafe Reactive Platform
  • Scala
  • Play
  • Akka
  • Lucene
技术栈
  • Scala
  • Play
  • Akka
  • MySQL
  • Memcached
实施规模
  • Enterprise-wide Deployment
影响指标
  • Productivity Improvements
  • Digital Expertise
  • Innovation Output
技术
  • 应用基础设施与中间件 - API 集成与管理
  • 平台即服务 (PaaS) - 应用开发平台
  • 分析与建模 - 机器学习
适用行业
  • Software
适用功能
  • 产品研发
  • 商业运营
用例
  • 边缘计算与边缘智能
  • 远程协作
  • 预测性维护
服务
  • 软件设计与工程服务
  • 系统集成
关于客户
Kifi is an innovative Silicon Valley startup that is revolutionizing the way people search the Internet and store or share information. The platform allows users to easily keep and tag anything they find online, such as articles, videos, pictures, and emails, and quickly find it on top of their favorite search engine results. Kifi also surfaces relevant results that friends have kept, adding a social layer to the search experience. The platform includes messaging to friends, highlighting, and annotation of information found on pages. Kifi's search infrastructure enables users to tag and organize information like a bookmarking system, making it a critical tool for managing online content.
挑战
Kifi CTO and co-founder Eishay Smith faced a significant challenge in building an application capable of performing multiple computationally intensive tasks within a limited time frame. The architecture needed to support high performance at all scales and be flexible enough to scale up and down instantly to meet unpredictable customer usage patterns. Kifi required blazing fast response times throughout the application tiers, robust support for multithreading to maintain performance, and support for rapid continuous deployments. Additionally, the application needed to achieve near-zero downtime and 100% resilience in case of server faults. A strong Service Oriented Architecture (SOA) orientation in the underlying software languages and frameworks was also critical.
解决方案
The Kifi team chose to build their application using the Typesafe stack, leveraging Scala and Play for all web services. The AngularJS website, browser extensions, and mobile clients communicate with the Play API using JSON. Kifi uses Play's native WebSockets capability for low-latency, two-way client communication, enabling real-time messaging and updates. The backend is built with several MySQL databases and a multi-caching layer using Memcached and a custom in-memory cache to improve response times. Kifi's search engine, developed using Lucene components, returns highly personal results, while a custom Graph engine built in Scala generates user recommendations. For distributed work and task scheduling, Kifi uses Typesafe’s Akka, and service coordination is managed with Zookeeper. The Kifi Engineering team actively contributes to the Scala and Play community, fostering a strong ecosystem around these technologies.
运营影响
  • Kifi's Reactive infrastructure design has enabled them to perform dozens of deployments per day in a highly aggressive continuous deployment environment.
  • The use of multi-threading on servers has allowed Kifi to handle heavy computation more efficiently and across fewer servers, reducing costs.
  • Kifi has rapidly expanded its team size, bringing new engineers into the Typesafe ecosystem and contributing to the Scala and Play community.
数量效益
  • Kifi achieved a 99%-ile search response time of less than 40ms.
  • The team performs as many as five or six new code deployments per hour.
  • Kifi has experienced no unplanned service interruptions despite rapid user base scaling.

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

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