Describe the database architecture of your primary technology stack and how you optimize queries for high performance.