Is there an accepted pattern for replacing your database pool in an #actixweb application? As in, the system is rotating the database password, updates the file handle it’s passed through to the application, and then my application should reconnect using the new credentials and drop the old connection.
#rustlang #rust #sqlx #ProgrammingPatterns
#actixweb #rustlang #rust #sqlx #programmingpatterns
Spatial Partition (Game Programming Patterns): https://gameprogrammingpatterns.com/spatial-partition.html
Efficiently locate objects by storing them in a data structure organized by their positions.
#gamedev #gameprogramming #programmingpatterns