NIX Solutions interview question

postgres optimization, ddd concepts, solid