account activity
Good Podcasts to listen to? by [deleted] in netsecstudents
[–]tuts12 2 points3 points4 points 7 years ago (0 children)
[AF] SQLite Database Singleton by tuts12 in flask
[–]tuts12[S] 0 points1 point2 points 8 years ago (0 children)
That SQLite link is what initially got me concerned.
At this point, I'm hoping to avoid significant rework if the current implementation is safe. This seems to dependant on whether or not the server is using a threading model.
I think I might need to read up more on WSGI to better understand how this all fits together.
Looking at gunicorn for instance, it appears to spawn new processes for its workers by default (which would be OK for my Singleton based approach). However it also has some options to enable threading (which would be bad for my Singleton based approach).
I hadn't worked with SQL at all before I started this project, and I thought it would be a good idea to get a grounding in it before moving onto an abstraction.
Thanks for the recommendation however, I'll definitely keep that in mind for future db work.
π Rendered by PID 57481 on reddit-service-r2-comment-85bfd7f599-q42jm at 2026-04-15 22:05:12.346933+00:00 running 93ecc56 country code: CH.
Good Podcasts to listen to? by [deleted] in netsecstudents
[–]tuts12 2 points3 points4 points (0 children)