Ulf Wendel

2012/03/02
by admin
Comments Off on PECL/mysqlnd_qc: table pattern based query caching

PECL/mysqlnd_qc: table pattern based query caching

Cache all queries which match a schema pattern is one of the few visible feature additions to PECL/mysqlnd_qc 1.1, the client-side query cache plugin for the mysqlnd library. As usual, this client-side cache is mostly transparent, works with all PHP … Continue reading

2012/01/31
by admin
Comments Off on PECL/mysqlnd_ms: faster slave reads

PECL/mysqlnd_ms: faster slave reads

Why read stale data from an asynchronous MySQL replica (slave)? Fetch it from a local cache instead! Good for the clusters overall load, good for your applications performance. And, possible with PECL/mysqlnd_ms 1.3, the replication and load balancing plugin for … Continue reading

2012/01/24
by admin
Comments Off on PECL/mysqlnd_qc: query cache statistics log

PECL/mysqlnd_qc: query cache statistics log

Is it worth the efforts to cache the results of a MySQL query at the client? In most cases the answer is: try it, measure it! Install the development version of the mysqlnd query cache plugin, which can be used … Continue reading

2012/01/13
by admin
Comments Off on PHP mysqlnd query cache plugin quickstart is online!

PHP mysqlnd query cache plugin quickstart is online!

New in the PHP manual: a quickstart for the mysqlnd query cache plugin. PECL/mysqlnd_qc, the mysqlnd query cache plugin, is transparent and ease to use. But, how? Some pointers have been given in assorted presentations, here on my blog and … Continue reading

2012/01/12
by admin
Comments Off on PHP mysqli quickstart is online!

PHP mysqli quickstart is online!

New in the PHP manual: a mysqli quickstart. You are new to PHP but you know how to code, you know SQL, you know relational databases and MySQL? Then, I hope, this is for you. All you need is a … Continue reading

2012/01/11
by admin
Comments Off on PECL/mysqlnd_*: CCC – cloud, cluster, caching!

PECL/mysqlnd_*: CCC – cloud, cluster, caching!

We are giving PECL/mysqlnd_qc a second chance. PECL/mysqlnd_qc is a query cache plugin for mysqlnd. It can cache any query issued by any PHP MySQL extension using storage handler for process memory, APC, Memcache and SQLlite. Its default invalidation strategy … Continue reading

2011/12/23
by admin
Comments Off on PHP MySQL documentation updates

PHP MySQL documentation updates

The MySQL part of the PHP reference manual is currently being restructured: new landing and overview page, mysqli quickstart prepared. Ten years ago, there was the mysql extension and that was it. Today, beginners are faced with three MySQL APIs/extensions, … Continue reading

2011/12/23
by admin
Comments Off on Load balancing for PHP and MySQL

Load balancing for PHP and MySQL

A single MySQL server is a single point of failure. A single MySQL server can only be scaled vertically by increasing hardware size, which has its limits. That’s two good reasons to migrate from a single MySQL server to a … Continue reading

2011/12/05
by admin
Comments Off on PECL/mysqlnd_ms: quality of service filter

PECL/mysqlnd_ms: quality of service filter

What if your PHP application could tell the mysqlnd library what service quality you need when using a MySQL replication cluster? If you wanted read-your-writes, the driver would select replication nodes for you which can offer it. If you can … Continue reading