Session Locking? Slow Query Log Filled With Session Query?

Solution 0

Solution 1

  • Fixed the request that take a long time (optimization in code or databsase query)
  • use session_write_close in php (after call that method, the session only can be read, can’t be write/update)
  • Use redis because dont have locking mechanism

Solution 2

--

--

--

Interested in Software Engineering, Devops, Smart Contract. 🌐: abdillah.my.id . Made with ☕ from 🇲🇨

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Discord Scheduling Bot for Business

A Letter Guide Through Common Ruby Errors for Newbies

An Alternative to Python Dictionaries

Books on a shelf

How to Easily Create Tables in Python

C# Arrays Vs Lists

Python Testing with Pytest

PLAN FOR REMOTE WORKING.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Herbert Abdillah

Herbert Abdillah

Interested in Software Engineering, Devops, Smart Contract. 🌐: abdillah.my.id . Made with ☕ from 🇲🇨

More from Medium

Multithreading in .Net — StudySection Blog

Multithreading in .Net — StudySection Blog

What is Git? Learn How Bitbucket is used for Version Control System.

Reset on master branch

Magento 2 Useful Commands List