Evgeny Stepanischev asked me yesterday why there is no PECL extension providing interface to
Trivial DB (TDB), which is used in Samba. I didn't know what to answer, so I...
wrote it =)
The TDB itself looks like a perfect solution for temporary data storage (caches, sessions and the like), but it might be also useful for something more complex, taking into account its transactions support.
Being curious of how it would perform comparing to
Memcached on localhost (using
PECL/memcache, of course) I did a quick benchmark.
It's purely syntetic (just 1 000 000 operations in a loop), but the numbers show clear difference.
These are the results:
Impressive, huh?