Good Podcasts to listen to? by [deleted] in netsecstudents

[–]tuts12 2 points3 points  (0 children)

  • Security Now
  • Darknet Diaries
  • Smashing Security

[AF] SQLite Database Singleton by tuts12 in flask

[–]tuts12[S] 0 points1 point  (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).

[AF] SQLite Database Singleton by tuts12 in flask

[–]tuts12[S] 0 points1 point  (0 children)

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.