How to pre-process Riak data entry before sending it to a client -


i have riak installation many nodes. stores entries, relatively big blobs on value side. in cases, clients need subset of data, there no need transfer them on network.

is there elegant solution pre-process data on server side, before sending them client.

the idea have install small "agent" on every node, interact client in it's own protocol , acts proxy, reduce data based on query.

but such solution work only, if can know (based on key) on node particular entry stored. there way it?

you may able mapreduce, if specify single bucket/key input. map function run local data stored, , send result reduce function on whichever node received request client. since providing specific key, there shouldn't coverage folding causes heavy load docs warn about.

this mean requests using r=1, if there ever outage false not found results.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -