OpenVBX Object Caching Beta

12 views
Skip to first unread message

Shawn Parker

unread,
Nov 17, 2011, 5:00:00 PM11/17/11
to OpenVBX Development
I’m looking for a few brave and kind souls that would like to help
beta test Object Caching in OpenVBX.

The current release of OpenVBX only supports APC and it only supports
it for API query results. This new build supports local memory,
database (MySQL), APC & Memcache. This new build shows great
performance increases when either APC or Memcache is available.

## Cache is implemented in two general areas:

### General Object Cache

The first is a general object cache for OpenVBX. This layer is for
objects used in OpenVBX like Flows, Users, Devices and Settings. Cache
settings are manually configured using a cache config file in the
OpenVBX config directory.

This layer has a 3 possible modes:

- Local (single page load memory, default). This layer is used when
either APC or Memcache is not available. It will simply create an
cache for the current page load. While it doesn’t provide a drastic
increase in performance, it does reduce a few database hits during a
single page load.
- APC. This layer uses the standard PHP APC library (http://
pecl.php.net/package/apc). This build was developed and tested using
APC installed via PECL.
- Memcache. This layer uses the PECL Memcache library (http://
pecl.php.net/package/memcache not the Memcached library though support
for both would be easy to add if there’s actual demand). Multiple
memcache server use is supported via the config file. This build was
developed and tested using Memcache installed via PECL.

### API Cache

The 2nd is an API cache. At this time the API cache uses only the
database to cache the results of API requests. The API Cache adds a
new table to the database. Despite being named API Cache, this cache
layer can be used for just about any data that should be transient in
nature.


More details on the OpenVBX blog:
http://blog.openvbx.org/2011/11/call-for-beta-testers-object-cache-edition/

Shawn Parker

unread,
Nov 29, 2011, 2:28:23 PM11/29/11
to OpenVBX Development
Checking in to see if anyone has had a chance or the inclination to
test this out.
I hope to merge this in to the Develop branch soon.

Shawn

> More details on the OpenVBX blog:http://blog.openvbx.org/2011/11/call-for-beta-testers-object-cache-ed...

Tim Anderson

unread,
Nov 29, 2011, 4:17:08 PM11/29/11
to openv...@googlegroups.com
I actually re-installed it fresh this morning.  I will give it a try later today and let you know what happens.


CONFIDENTIALITY NOTE: This email contains information that is intended solely for the use of the person(s) named on this transmission. If you are not the intended recipient(s), you are notified that disclosing, forwarding, copying or taking any action pertaining to the contents of this information is strictly prohibited. If you are not the intended recipient, please destroy this message immediately


> Date: Tue, 29 Nov 2011 11:28:23 -0800
> Subject: [openvbx-dev] Re: OpenVBX Object Caching Beta
> From: sh...@twilio.com
> To: openv...@googlegroups.com

Shawn Parker

unread,
Dec 5, 2011, 3:20:30 PM12/5/11
to OpenVBX Development
The object caching branch has been merged in to Develop and the branch
will be removed later today.
Develop now identifies itself as 1.2b
Reply all
Reply to author
Forward
0 new messages