Coder Social home page Coder Social logo

wpmudev / plugin-queuedtracking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matomo-org/plugin-queuedtracking

0.0 2.0 0.0 8.39 MB

Scale your large traffic Matomo service by queuing tracking requests (in Redis or MySQL) for better performance.

Home Page: https://matomo.org

License: GNU General Public License v3.0

PHP 99.32% JavaScript 0.68%

plugin-queuedtracking's Introduction

Piwik QueuedTracking Plugin

Build Status

Description

This plugin writes all tracking requests into a Redis instance or a MySQL queue instead of directly into the database. This is useful if you have too many requests per second and your server cannot handle all of them directly (eg too many connections in nginx or MySQL). It is also useful if you experience peaks sometimes. Those peaks can be handled much better by using this queue. Writing a tracking request into the queue is very fast (a tracking request takes in total a few milliseconds) compared to a regular tracking request (that takes multiple hundreds of milliseconds). The queue makes sure to process the tracking requests whenever possible even if it takes a while to process all requests after there was a peak.

Have a look at the FAQ for more information.

Support

In case of any issues with the plugin or feature wishes create a new issues here: https://github.com/piwik/plugin-QueuedTracking/issues . In case you experience any problems please post the output of ./console queuedtracking:test in the issue.

TODO

For usage with multiple redis servers we should lock differently: http://redis.io/topics/distlock eg using https://github.com/ronnylt/redlock-php

plugin-queuedtracking's People

Contributors

tsteur avatar sgiehl avatar diosmosis avatar mattab avatar software-opal avatar toredash avatar j0wi avatar findus23 avatar mneudert avatar deees avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.