tarantool / memcached

Memcached protocol 'wrapper' for tarantool
BSD 2-Clause "Simplified" License
28 stars 10 forks source link

Vinyl as memcached backend #15

Open bigbes opened 8 years ago

bigbes commented 8 years ago

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

vtolstov commented 7 years ago

Hi! Any news about disk store for memcached ?

kostja commented 7 years ago

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

vtolstov commented 7 years ago
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 commented 7 years ago

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 commented 6 years ago

any news?

vtolstov commented 6 years ago

ping... @rtsisyk @kostja

knazarov commented 6 years ago

@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.