Episode

Scaling the Daylite Apple-Native CRM Using Elixir with AJ

Podcast
Elixir Wizards
Published
Dec 5, 2024
Duration seconds
3141
Processing state
processed
Canonical source
https://smartlogic.fireside.fm/s13-e08-scaling-daylite-with-alykhan-jetha
Audio
https://aphid.fireside.fm/d/1437767933/03a50f66-dc5e-4da4-ab6e-31895b6d4c9e/18fc1aa1-fd78-488c-99d4-8e9405c99273.mp3
JSON
/v1/public/podcasts/elixir-wizards/episodes/scaling-the-daylite-apple-native-crm-using-elixir-with-aj
Markdown
/podcast/elixir-wizards/scaling-the-daylite-apple-native-crm-using-elixir-with-aj.md

Actions

  • POST https://stenobird.com/v1/public/podcasts/elixir-wizards/episodes/scaling-the-daylite-apple-native-crm-using-elixir-with-aj/transcription-requests
    Idempotently request low-priority transcript generation for this episode.
  • GET https://stenobird.com/podcast/elixir-wizards/scaling-the-daylite-apple-native-crm-using-elixir-with-aj.md
    Read the agent-friendly Markdown representation of this episode resource.

Summary

AJ Jetha, CEO of Marketcircle, explains why migrating Daylite's backend to Elixir was essential for handling high-concurrency sync engines. The discussion covers the transition from a consulting model to a product-led company and the technical benefits of Elixir's fault tolerance.

Topics

  • Elixir
  • CRM
  • Concurrency
  • Microservices
  • LiveView Native
  • Apple Ecosystem
  • Data Synchronization
  • Software Scaling

Highlights

  • Main idea: Migrating to Elixir enabled a highly concurrent sync engine capable of resolving field-level updates with minimal conflict
  • Practical takeaway: Using a highly normalized database with atomic field updates simplifies conflict resolution in distributed systems
  • Failure mode: Over-implementing microservices can lead to excessive management overhead and 'rabbit holes' that are difficult to maintain
  • Technical insight: Elixir's approachable syntax and stability allow for easier developer onboarding and more efficient scaling of backend systems
  • Future strategy: Exploring LiveView Native to bridge the gap between native Apple frontends and Elixir backends

Chapters

  1. 1:00 Founder Introduction: AJ Jetha shares his background as a refugee and his journey founding Marketcircle in 1999.
  2. 5:00 From Consulting to Product: The evolution of Marketcircle from a service-based business to a product-centric company with Daylite.
  3. 8:40 Cloud Costs and Efficiency: Discussing the impact of infrastructure costs and the importance of choosing efficient technology stacks.
  4. 12:50 The Microservices Trap: The challenges of managing a growing microservices architecture and the complexity of distributed systems.
  5. 16:35 Why Elixir?: The decision to migrate to Elixir to leverage its concurrency models and developer productivity.
  6. 20:20 Exploring LiveView Native: The potential for using LiveView Native to streamline development across Apple platforms.
  7. 24:15 Sync Engine Architecture: How field-level updates and a 'last edit wins' strategy ensure fast, reliable data synchronization.