Real-Time Phoenix: Build Highly Scalable Systems with Channels

Bussey, Stephen

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2020-04-28
  • 定價: $1,600
  • 售價: 9.5$1,520
  • 貴賓價: 9.0$1,440
  • 語言: 英文
  • 頁數: 250
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1680507192
  • ISBN-13: 9781680507195
  • 相關分類: JVM 語言
  • 立即出貨 (庫存=1)



Give users the real-time experience they expect, by using Elixir and Phoenix Channels to build applications that instantly react to changes and reflect the application's true state. Learn how Elixir and Phoenix make it easy and enjoyable to create real-time applications that scale to a large number of users. Apply system design and development best practices to create applications that are easy to maintain. Gain confidence by learning how to break your applications before your users do. Deploy applications with minimized resource use and maximized performance.

Real-time applications come with real challenges - persistent connections, multi-server deployment, and strict performance requirements are just a few. Don't try to solve these challenges by yourself - use a framework that handles them for you. Elixir and Phoenix Channels provide a solid foundation on which to build stable and scalable real-time applications. Build applications that thrive for years to come with the best-practices found in this book.

Understand the magic of real-time communication by inspecting the WebSocket protocol in action. Avoid performance pitfalls early in the development lifecycle with a catalog of common problems and their solutions. Leverage GenStage to build a data pipeline that improves scalability. Break your application before your users do and confidently deploy them. Build a real-world project using solid application design and testing practices that help make future changes a breeze. Create distributed apps that can scale to many users with tools like Phoenix Tracker. Deploy and monitor your application with confidence and reduce outages.

Deliver an exceptional real-time experience to your users, with easy maintenance, reduced operational costs, and maximized performance, using Elixir and Phoenix Channels.

What You Need:

You'll need Elixir 1.9+ and Erlang/OTP 22+ installed on a Mac OS X, Linux, or Windows machine.


提供使用者所期望的即時體驗,使用 Elixir 和 Phoenix Channels 建立應用程式,以即時反應變化並反映應用程式的真實狀態。學習如何使用 Elixir 和 Phoenix 輕鬆且愉快地建立可擴展到大量使用者的即時應用程式。應用系統設計和開發最佳實踐,建立易於維護的應用程式。在使用者遇到問題之前,學習如何測試和修復應用程式。以最小的資源使用和最大的效能部署應用程式。

即時應用程式帶來真實的挑戰 - 持久連線、多伺服器部署和嚴格的效能需求只是其中幾個。不要自己嘗試解決這些挑戰 - 使用一個能夠處理這些挑戰的框架。Elixir 和 Phoenix Channels 提供了一個穩定且可擴展的基礎,用於建立穩定且可擴展的即時應用程式。使用本書中的最佳實踐,建立能夠長期運作的應用程式。

通過檢查 WebSocket 協議的運作,了解即時通訊的神奇之處。在開發生命週期的早期避免效能陷阱,使用常見問題和解決方案目錄。利用 GenStage 建立提升可擴展性的資料流程。在使用者遇到問題之前,測試並自信地部署應用程式。使用堅實的應用程式設計和測試實踐建立一個真實世界的專案,有助於未來的變更輕鬆進行。使用 Phoenix Tracker 等工具建立能夠擴展到多個使用者的分散式應用程式。自信地部署和監控應用程式,減少停機時間。

使用 Elixir 和 Phoenix Channels 提供給使用者卓越的即時體驗,並實現易於維護、降低運營成本和最大化效能。

您需要在 Mac OS X、Linux 或 Windows 機器上安裝 Elixir 1.9+ 和 Erlang/OTP 22+。


Steve Bussey is a software architect at SalesLoft focused on delivering the best experience possible for sales people and also his fellow engineers. He has written and led development on real-time Elixir applications that power critical features of business software. He is passionate about sharing Elixir due to the positive impact it has had on how he designs and writes applications.


Steve Bussey 是 SalesLoft 的軟體架構師,專注於為銷售人員和其他工程師提供最佳的使用體驗。他撰寫並領導開發了實時的 Elixir 應用程式,為商業軟體的關鍵功能提供動力。他熱衷於分享 Elixir,因為它對他在設計和撰寫應用程式方面產生了積極的影響。