using riak to store user sessions

Norman Khine norman at khine.net
Thu Jun 2 16:50:16 EDT 2016


hi luke, thanks for the reply, in the riak document "Riak KV is uniquely
architected to handle user and session data..." or is this no longer the
case?


On 2 June 2016 at 17:40, Luke Bakken <lbakken at basho.com> wrote:
>
> Hi Norman,
>
> A quick search turns up this Node.js module:
> https://www.npmjs.com/package/express-session
>
> There is currently not a session store for Riak
> (https://www.npmjs.com/package/express-session#compatible-session-stores)
>
> Since memcached operates as a key/value store, forking the connector
> for that session store as a starting point would be your best bet.
>
> https://github.com/balor/connect-memcached
>
> You would then use the Riak Node.js client to fetch and store data:
> https://github.com/basho/riak-nodejs-client
>
> --
> Luke Bakken
> Engineer
> lbakken at basho.com
>
>
> On Thu, Jun 2, 2016 at 6:19 AM, Norman Khine <norman at khine.net> wrote:
> > hello, i am trying to setup a node.js/express application to use riak to
> > store the logged in users' sessions as detailed
> > http://basho.com/use-cases/session-data/
> >
> > i have setup the dev cluster on my machine and everything is running
fine.
> >
> > what is the correct way to set this up?
> >
> > any advise much appreciated.
> >
> >
> >
> > --
> > %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26)
for
> > c in ",adym,*)&uzq^zqf" ] )
> >
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> >




--
%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for
c in ",adym,*)&uzq^zqf" ] )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20160602/c19c5dde/attachment-0002.html>


More information about the riak-users mailing list