Everything becomes painful when we need to deal with multiple threads. How are Core Data and Realm dealing with them? What are the common mistakes? How not to lose your hair during the search of a bug, which can occur once in a milion runs? In my talk I will describe Core Data and Realm, how to deal with them, point out places where you can make a mistake and propose pattern which may be helpful in solving these problems.