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

java - HTTP Status 500 - An exception occurred processing JSP page /second.jsp at line 15 -

SQL Server - MyCTE query based on 24 hour period (next day) -

php - Using str_replace to translate a MySQL Table in html -