Explain how you would scale a database schema at Wise to handle massive write volumes while avoiding deadlocks and performance degradation.