509: Tiny Tyrants

Topics covered
Popular Clips
Episode Highlights
Async Challenges
The transition to async databases presents significant technical challenges. explains the complexity of implementing async contexts, noting that all database calls must be made through a custom actor, which complicates the process 1. He describes this as a long-term project, requiring substantial rewriting of existing code 1. emphasizes the importance of rigorous unit testing to identify concurrency bugs early 1.
You don't want to find that out when you're in your application. Finally, I've got everything all async, but now there's a weird bug and I don't understand it.
---
Marco acknowledges the need for stress tests to ensure stability before full implementation 1.
Model Optimization
Optimizing database models is crucial for performance improvements. Marco has been refining his database by reducing server load and consolidating indexes, which has significantly improved efficiency 2 3. He shares his efforts to modernize the database model using Swift and Swift concurrency, moving away from outdated Objective-C libraries 2.
I've been remaking a new model layer using Swift and swift concurrency that will be the foundation for hopefully the next version of overcast.
---
Additionally, Marco discusses the challenges of using cloud storage solutions like S3 and the cost implications, leading to a switch to Linux object storage for better cost efficiency 4.
Related Episodes


469: Tiny Toastie
Answers 383 questions

421: The First Miniboss
Answers 383 questions

297: It Also Deserves to Die
Answers 383 questions

572: Cryptofarts and Copyright Infringement
Answers 383 questions

463: No Indication of Progress
Answers 383 questions

531: Rock It in the Right Direction
Answers 383 questions

508: Later Is Getting Later and Later
Answers 383 questions

490: Tiny Pictures of Knobs
Answers 383 questions

390: I Invented This Anti-Pattern
Answers 383 questions

249: Beehives Full of Bees
Answers 383 questions

476: Plausibly Viable
Answers 383 questions

451: A Series of Terrible Magic Tricks
Answers 383 questions

349: Formative Tech Dystopia
Answers 383 questions

515: The Elder Programmer Look
Answers 383 questions

299: Headphone Bump
Answers 383 questions














