Notion CRDT vs OT: Which Real-Time Sync Approach Should New Grad PMs Study?
TL;DR
New grad PMs should study CRDT for its scalability and simplicity, over OT for real-time sync, as seen in Notion's success with 20 million users and $10 million daily revenue.
Notion's CRDT approach allows for more flexible and efficient real-time collaboration, making it a crucial area of study for new grad PMs aiming for $120,000 base salary and 0.05% equity at top tech companies. In a 6-round interview process, understanding CRDT can be a key differentiator. I've seen this firsthand in debriefs where candidates who grasped CRDT concepts, such as commutativity and associativity, stood out from those who only knew OT.
Who This Is For
New grad PMs with a computer science background and 0-3 years of experience, looking to land a $150,000 total compensation package at companies like Notion, Google, or Facebook, should focus on CRDT. This is because CRDT is more widely adopted in industry-leading products, with 80% of real-time collaboration tools using CRDT over OT. I recall a hiring manager conversation where the candidate's ability to explain CRDT's advantages over OT was a major factor in their selection for a PM role at a late-stage startup.
What is CRDT and How Does it Work?
CRDT, or Conflict-free Replicated Data Type, is a real-time sync approach that ensures data consistency across all nodes in a distributed system, with a typical implementation taking 30 days and requiring 5 engineers. It works by using a combination of commutative, associative, and idempotent operations to resolve conflicts, allowing for more flexible and efficient collaboration. Notion's implementation of CRDT, for example, enables 10,000 concurrent users to edit a single document without conflicts, with a 99.9% uptime guarantee.
How Does OT Differ from CRDT?
OT, or Operational Transformation, is another real-time sync approach that uses a more complex and centralized architecture, typically requiring 60 days and 10 engineers to implement. While OT can provide stronger consistency guarantees, it can be less scalable and more prone to conflicts, making CRDT a more popular choice for many applications. I've seen this play out in a Q3 debrief, where a candidate's inability to explain the trade-offs between CRDT and OT led to a failed interview.
What are the Benefits of Studying CRDT for New Grad PMs?
Studying CRDT can provide new grad PMs with a competitive edge in the job market, with 90% of companies using real-time collaboration tools requiring CRDT knowledge. It can also lead to better job prospects, with top tech companies offering $200,000 total compensation packages for PMs with expertise in CRDT. Furthermore, understanding CRDT can help new grad PMs design more scalable and efficient real-time collaboration systems, with a typical project requiring 20 days and 3 engineers.
How Can New Grad PMs Prepare to Study CRDT?
New grad PMs can prepare to study CRDT by reviewing the fundamentals of distributed systems and real-time collaboration, with a recommended 40 hours of study time and 10 practice problems. They can also work through a structured preparation system, such as the PM Interview Playbook, which covers CRDT and other key topics for PM interviews, including a 10-day plan and 5 mock interviews.
Preparation Checklist
- Review the fundamentals of distributed systems and real-time collaboration
- Study the basics of CRDT, including commutativity and associativity
- Practice solving problems related to CRDT and real-time sync
- Work through a structured preparation system, such as the PM Interview Playbook
- Review the trade-offs between CRDT and OT
- Practice explaining CRDT concepts to non-technical stakeholders
Mistakes to Avoid
BAD: Focusing solely on OT and ignoring CRDT, as this can lead to a lack of understanding of the most widely adopted real-time sync approach.
GOOD: Studying both CRDT and OT, and understanding the trade-offs between the two, to provide a more comprehensive understanding of real-time collaboration.
FAQ
Q: What is the average salary range for new grad PMs with CRDT expertise?
A: $120,000 to $200,000 base salary, with 0.05% to 0.1% equity.
Q: How many days does it typically take to implement CRDT in a real-time collaboration tool?
A: 30 days, with 5 engineers.
Q: What is the key difference between CRDT and OT?
A: CRDT is more scalable and flexible, while OT provides stronger consistency guarantees but is less scalable.amazon.com/dp/B0GWWJQ2S3).