diff --git a/Backend-Ideas-List.md b/Backend-Ideas-List.md new file mode 100644 index 0000000..5e8c716 --- /dev/null +++ b/Backend-Ideas-List.md @@ -0,0 +1,27 @@ +## Context Managers + +Updating the consumer and maybe the parsers to be context managers. +- allows them to be used in `with` statements, persist some values until the exit +- Single location to clean up temporary directories. +- allow a connection to a server to be maintained throughout the life, which would slightly shorten connections to Tika + +## Migration to s6-overlay + +- supervisord isn't meant to run as PID 1, S6 is +- s8 startup can be separated into independent units, with dependencies between them, which could slightly improve startup time + Initial work done in https://github.com/paperless-ngx/paperless-ngx/tree/feature-s6-overlay + +## Dropping ARMv7 + +- No more need to custom build packages for the Docker image +- Allows updating cryptography, scipy and probably more +- Allows updating the Python version (to at least 3.10) + +## Migration Squashing + +- Faster initial migrations with squashed migrations +- Would require moving much/all of the manual code migration functions into other files or another module + +## Migration Standardization + +Replace `from .x.y import z` with `from a.b.x.y import z`. Just makes things standard, sorted, etc \ No newline at end of file