Re:Ban 1+N in Django
by hinkley on Monday March 27, 2023 @01:12AM
(#35323074)
If you have multiple ways to 'see' the same X from multiple Y objects, then all of this get complicated quickly.
Once you're there a microservice has some advantages. Wrap a cache with a service, implement multi-get, anything not in the cache calls through to the database.
Once you're there a microservice has some advantages. Wrap a cache with a service, implement multi-get, anything not in the cache calls through to the database.