Welcome Guest, Not a member yet? Register   Sign In
how to optimize SESSION on codeigniter ?
#1

(This post was last modified: 07-19-2019, 03:49 AM by oujisama.)

hello folks

i have mid-range web application that serve at least 40.000 traffic per day ( based on google analytics ) 

i want to know whether you guys that already develop a mid or hi range kind of application also face this kind of problem like mine or not ?

i got an issue with CI session always taking so much resource in our database and sometimes causing a dead lock also 

currently we are using MYSQL database from AWS RDS

[Image: BJ983dp.png]


as you can see, there always a time when the session spiking and causing slow ( sometimes until deadlock ) in our web apps

and for your information

i also comment this line of code before to prevent session being locked cause if not it will become worse, our application will become super slow

[Image: ckxwQez.png]


please kindly share me a guidance on how to optimize CI Session using database

thank you
Reply


Messages In This Thread
how to optimize SESSION on codeigniter ? - by oujisama - 07-19-2019, 12:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB