claudehohl / Stikked

An advanced and beautiful pastebin written in PHP
991 stars 220 forks source link

What IF? ci_sessions register from codeigniter disabled #544

Open PJanisio opened 3 years ago

PJanisio commented 3 years ago

Howdy community,

Short question to the core of codeigniter. What if we will disable the registration into database of sessions? (ci_session in db). I find it very heavy as codigniter register every single access and high traffic site it can turn into > 5000 queries per several minutes making it unresponsible.

How disabling it completely will influence on stikked behaviour? Why we should anyway use it while most of us has possibility to check our nginx or apache access log? If not disabling it completely, shouldnt we limit inputs for database for this function (f.e removing non-human user_agents) ?