Quantcast
Channel: drupal.org - Site administrators
Browsing all 426 articles
Browse latest View live

AutoSlave

AutoSlave is a virtual DB driver allowing a master/slave setup with automatic split of queries

View Article


Installation

Enable the module and copy the autoslave directory from the modules directory to includes/database/, e.g.%> cd [my-drupal-installation]%> cp -r sites/all/modules/autoslave/autoslave...

View Article


Configuration

This section describes how to configure AutoSlave for various ways of use.

View Article

MySQL

This section contains examples and howto's for setting up MySQL in regards to AutoSlave.

View Article

Reducing dead-locks

As of MySQL 5.1.37 it is possible to use the isolation level READ-COMMITTED together with replication. Replication MUST be row-based in order for this isolation level to work.Using the READ-COMMITTED...

View Article


Drupal

This section contains examples of how to setup AutoSlave in various ways.

View Article

Master/Master

The following setup will preferably use master1 as master and master2 as slave. If one of them fails, it will use the remaining db as both master and slave retaining write...

View Article

Master/Slave

The following setup has one master and two slaves with cross failover. If master fails, system will continue in read-only mode. If both slaves fail, system will continue only using the...

View Article


No replication

It is possible to use AutoSlave for one db server (i.e. not using replication). The reason for doing this, is that AutoSlave provides the transactional safe cache...

View Article


Consistent Cache

If you're using a cache backend other than the built-in DB, then the cache operations runs outside the database transactions, and this can cause inconsistent cache where cache is being populated with...

View Article

Lock backend

When acquiring a lock, most application logic requires the latest and greatest data to determine proper course of action. To accommodate this, AutoSlave provides a lock backend for the built-in DB lock...

View Article

Feeds JSONPath Parser

1) Identify the json URL, and look at it using this tool: http://jsonviewer.stack.hu/ (or, if you know the json well, identify what you want to import.2) Download jsonpath php file here:...

View Article

Drush and update.php compatibility

Drush and update.php checks directly against PDO if the pdo_xxx extension is loaded. Since autoslave is a "virtual" db driver, Drush and update.php will fail, because there exists no such driver as...

View Article


RedHen CRM Introduction

About RedHenRedHen CRM is a native CRM solution for Drupal brought to you by the geeks at ThinkShout. RedHen is packed with association management features for managing detailed information on contacts...

View Article

Master/Master/Slave (High availability/High performance)

The following setup has 2 masters and 2 slaves. The two master will also be used as slaves. The setup will prefer master1 as the master, and switch to master2 if master1...

View Article


Custom Block Module

Using a custom module, how would you achieve this? First of all, you have to build the basics for your new custom module. In this case, let's say you want to call your module pagemod– you'll need to...

View Article

Replication lag mitigation

Autoslave keeps track of which tables have been written to, and forces read from the master afterwards within a given time interval (assumed maximum replication lag: default 2 seconds).A table...

View Article


Affected tables

The autoslave_affected_tables will always be read from the master. In case "global replication lag" is turned on, this will cause every single request to Drupal to open at least a connection to the...

View Article

Connection invalidation

By default, AutoSlave does not remember cross requests, whether a connection is down or not.To prevent AutoSlave from trying to connect to databases which are known to be down, the "invalidation path"...

View Article

Fighting Spam

Drupal Groups is an open community site where anyone can contribute to Drupal-related discussions. This openness often results in spam. We have various processes in place for fighting spam, listed...

View Article
Browsing all 426 articles
Browse latest View live