integer-net / magento2-session-unblocker

integer-net/magento2-session-unblocker

Module for Magento 2 that prevents session blocking between concurrent AJAX requests

  • Fabian Schmengler
  • Willem Wigman
magento2-module QA: passed MIT
Viewing version 0.1.4. Latest version is 0.1.5. Switch to latest

Integer_Net Session Unblocker

Software License
Build Status
Coverage Status
Quality Score

This extension improves the performance of AJAX requests in Magento by reducing session locking, without having to disable locking in the cache backend (e.g. Redis)

Session locking keeps safe from race conditions from parallel requests, so disabling it completely can result in session data loss.

Instead we minimize the lock time by closing the session as soon as we have read it, if we do not need to write to it anymore.

Installation

  1. Install via composer
    composer require integer-net/magento2-session-unblocker
    
  2. Enable module
    bin/magento setup:upgrade
    

Configuration

Zero configuration needed.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

Magento Integration Tests

  1. Configure test database in dev/tests/integration/etc/install-config-mysql.php. Read more in the Magento docs.

  2. Copy Test/Integration/phpunit.xml.dist from the package to dev/tests/integration/phpunit.xml in your Magento installation.

  3. In that directory, run

    ../../../vendor/bin/phpunit
    

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

0.1.0 - 2019-02-14

Added

  • Closes session at the beginning of customer/section/load AJAX requests
Versions
Version Stability QA Status Released
0.1.5 stable Pass 2022-03-11 11:46:28
0.1.4 stable Not tested 2019-03-25 13:11:07
0.1.3 stable Not tested 2019-02-19 09:54:22
0.1.2 stable Not tested 2019-02-18 15:22:41
0.1.1 stable Not tested 2019-02-18 14:01:55
0.1.0 stable Not tested 2019-02-15 07:17:59

Requires 4

Package Constraint
magento/framework ^100.1|^101.0|^102.0|^103.0
magento/module-customer ^101.0.0|^102.0.0|^103.0
magento/module-catalog ^101.0.0|^102.0.0|^103.0|^104.0
php >=7.1.0

Requires-dev 1

Package Constraint
magento/magento-coding-standard @dev

No QA results yet

QA pipelines haven't run for this version. Status appears here once the vendor publishes a tagged release that gets ingested.

License
MIT
Authors
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.