# Scaling the Daylite Apple-Native CRM Using Elixir with AJ Page: https://stenobird.com/podcast/elixir-wizards/scaling-the-daylite-apple-native-crm-using-elixir-with-aj Text version: https://stenobird.com/podcast/elixir-wizards/scaling-the-daylite-apple-native-crm-using-elixir-with-aj.md Podcast: [Elixir Wizards](https://stenobird.com/podcast/elixir-wizards) Published: 2024-12-05T11:30:00+00:00 Episode link: https://smartlogic.fireside.fm/s13-e08-scaling-daylite-with-alykhan-jetha Audio file: https://aphid.fireside.fm/d/1437767933/03a50f66-dc5e-4da4-ab6e-31895b6d4c9e/18fc1aa1-fd78-488c-99d4-8e9405c99273.mp3 Processing state: processed JSON: https://stenobird.com/v1/public/podcasts/elixir-wizards/episodes/scaling-the-daylite-apple-native-crm-using-elixir-with-aj Duration seconds: 3141 ## Resource 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. ## 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 ## Topics Elixir, CRM, Concurrency, Microservices, LiveView Native, Apple Ecosystem, Data Synchronization, Software Scaling ## Chapters - 1:00 — Founder Introduction: AJ Jetha shares his background as a refugee and his journey founding Marketcircle in 1999. - 5:00 — From Consulting to Product: The evolution of Marketcircle from a service-based business to a product-centric company with Daylite. - 8:40 — Cloud Costs and Efficiency: Discussing the impact of infrastructure costs and the importance of choosing efficient technology stacks. - 12:50 — The Microservices Trap: The challenges of managing a growing microservices architecture and the complexity of distributed systems. - 16:35 — Why Elixir?: The decision to migrate to Elixir to leverage its concurrency models and developer productivity. - 20:20 — Exploring LiveView Native: The potential for using LiveView Native to streamline development across Apple platforms. - 24:15 — Sync Engine Architecture: How field-level updates and a 'last edit wins' strategy ensure fast, reliable data synchronization. ## Actions - request_transcript: `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. - read_markdown: `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. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.