DjangoCon EU 2025: Database Optimization and Best Practices
2025-04-28
DjangoCon EU 2025, held in Dublin, Ireland, covered database optimization, best practices, and useful tools. Key takeaways included using BigInt primary keys for performance, `select_for_update` for data consistency, optimizing Postgres indexes with conditional indexes, and `django-auto-prefetch` to reduce database queries. The conference also touched upon performance testing, code style enforcement, and security, such as using the MaxMind database to block malicious users. Attendees shared challenges and solutions encountered while developing with Django, including handling large database tables and designing efficient application architectures.
Development