Questions tagged [rediska]

PHP client for advanced key-value database Redis.

5 questions
4
votes
1 answer

Redis error "Connection read timed out" during caching

I have Zend Framework project and I decided to use Rediska as Redis client. Rediska has cache backend adapter for ZF - Rediska_Zend_Cache_Backend_Redis. I fetch from DB collection of objects and try to save it in cache but get error: Connection…
Dmitro
  • 1,489
  • 4
  • 22
  • 40
1
vote
1 answer

How to create a new instance of a list using Rediska?

I want to create a new instance of a List in Rediska, but it seems to always want to use some global list. For example, here is the code that I am using to create a new list: $firstList = new Rediska_Key_List('newList'); $firstList[] =…
egidra
  • 347
  • 2
  • 9
  • 18
1
vote
3 answers

How to correct PHP path for codeIgniter plugin?

I have tried by myself to install Rediska (Redis PHP client) into my codeigniter application, but without any success. I'll get insane amounts of "No such file or directory"-errors when trying to put it into the plugins folder of…
Industrial
  • 41,400
  • 69
  • 194
  • 289
1
vote
1 answer

Rediska slow getting keys by pattern

Method KEYS (on Rediska named getKeysByPattern()) is very slow. 200 iterations on 10k db takes 20-25 seconds! For example, keys named like foo:time:*:y:*:m:*:d:*:h:*:i:*:bar_name:*:item_id:*:category_id:* Its a normal behaviour of redis or rediska…
0
votes
1 answer

Redis and PHP (Rediska) intersect on set

I'm trying to do some tricks with a graph (node/edges) dataset. In this case a set of data where person x follows person y (direct relation). I want to load this data (from a mysql table) into redis (have it running). I've chosen to use Rediska…
ymschaap
  • 61
  • 1
  • 5