Re: using riak to store user sessions

2016-06-03 Thread Alex Moore
Hi Norman,

It's still the case. Riak KV was designed to be highly available, and
highly scalable key/value store with predictable low latency.  This lets
you scale to a few or as many machines as needed, while removing any single
failure points that a single-machine database or cache might impose.

We unfortunately don't have connectors for every language / platform /
framework combination, the explosive exponential swath of support would be
exhausting.  We do keep well maintained client libraries
, and
community libraries and plugins are always growing in number. I think
Luke's suggestion would provide a good way forward, and we'd be happy to
help with any questions you have along the way.

Thanks,
Alex

On Thu, Jun 2, 2016 at 4:51 PM Norman Khine  wrote:

> 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  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
> > lbak...@basho.com
> >
> >
> > On Thu, Jun 2, 2016 at 6:19 AM, Norman Khine  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,*)^zqf" ] )
> > >
> > > ___
> > > riak-users mailing list
> > > riak-users@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,*)^zqf" ] )
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: using riak to store user sessions

2016-06-02 Thread Norman Khine
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  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
> lbak...@basho.com
>
>
> On Thu, Jun 2, 2016 at 6:19 AM, Norman Khine  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,*)^zqf" ] )
> >
> > ___
> > riak-users mailing list
> > riak-users@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,*)^zqf" ] )
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: using riak to store user sessions

2016-06-02 Thread Luke Bakken
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
lbak...@basho.com


On Thu, Jun 2, 2016 at 6:19 AM, Norman Khine  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,*)^zqf" ] )
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


using riak to store user sessions

2016-06-02 Thread Norman Khine
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,*)^zqf" ] )
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com