memcached icon indicating copy to clipboard operation
memcached copied to clipboard

Vinyl as memcached backend

Open bigbes opened this issue 9 years ago • 7 comments

Give an ability to select vinyl as engine for storing data.

bigbes avatar Nov 20 '15 14:11 bigbes

Hi! Any news about disk store for memcached ?

vtolstov avatar Feb 12 '17 21:02 vtolstov

It should actually work, and will definitely work by the time 1.7 is GA

kostja avatar Feb 13 '17 12:02 kostja

local memcached = require('memcached')
local instance = memcached.create('tarantool_memcache', '0.0.0.0:11211', { expire_enabled = true, expire_items_per_iter = 500, verbosity = 3, engine = 'disk' })
2017-02-13 12:33:42.474 [6357] main/101/example tarantoolctl:589 E> Start failed: No such option 'engine'

vtolstov avatar Feb 13 '17 12:02 vtolstov

If i replace engine with storage = 'disk' (i'm recheck innit.lua code) and get error like

main/101/example tarantoolctl:589 E> Start failed: Space engine 'sophia' does not exist

vtolstov avatar Feb 13 '17 23:02 vtolstov

any news?

vtolstov avatar Nov 21 '17 11:11 vtolstov

ping... @rtsisyk @kostja

vtolstov avatar Jan 21 '18 21:01 vtolstov

@vtolstov I'm not confident, but you may just need to set space_name to your vinyl space, and it may just work out-of-the-box.

UPD: don't change 'engine' parameter at all.

knazarov avatar Jan 23 '18 08:01 knazarov