Re: uWSGI + Riak connection issues

2015-07-06 Thread tele
7; user_info = user_bucket.get('auser') return '', 200 if __name__ == '__main__': app.run( host="0.0.0.0",debug=False, port=int("5000") ) :tele On Mon, 6 Jul 2015 08:49:59 -0700 Luke Bakken wrote: > Question a

Re: uWSGI + Riak connection issues

2015-06-20 Thread tele
s are doing. After less than a minute all the workers gets busy and stuck. But if i ran uwsgi with only one process it works fine. If i ran just flask with python myapp.py and then i loadtest against port 5000 i do not hit this issue. So it's only when i use uwsgi and multiple processes. Any ide

uWSGI + Riak connection issues

2015-06-20 Thread tele
ue close-on-exec=true master = true post-buffering = 1 carbon = 127.0.0.1:2003 stats = /tmp/stats.sock If i sniff the network traffic, when it hangs uwsgi basically stops sending any request to riak, all the workers becomes busy and the only way to restore it it&

Re: Retrieve keys on bucket by timestamp

2014-09-04 Thread tele
Hi Sean, Received. thanks! :tele On Thu, 4 Sep 2014 08:44:14 -0500 Sean Cribbs wrote: > Hi tele, > > Yes, a secondary index is the most reasonable way to accomplish this. > Here's an example using the Python client: > > now = time.gmtime() > myobj.add

Re: [ANN] Riak 2.0.0

2014-09-03 Thread tele
Already playing with it :) Congratz for all the hard work :tele On Wed, 3 Sep 2014 09:02:55 -0700 Alain Rodriguez wrote: > Very exciting news! Can't wait to start playing with it. > > > El Sep 2, 2014, a las 10:30 PM, Alex De la rosa > > escribió: > > >

Retrieve keys on bucket by timestamp

2014-09-03 Thread tele
index. Thanks :tele ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Riak solr query range issue

2014-08-18 Thread tele
Hi, Yes thanks! Yokozuna is a game changer. You guys did a really great job with this integration. Especially i like that i can define my own schema and also use solr spatial/geospatial searches. No more calculations on application side :) :tele On Mon, 11 Aug 2014 09:11:38 -0700 Eric

Re: Riak Search Issue

2014-08-18 Thread tele
n index error from search() :) Or maybe just add back the possibility of specifying the index on the search(). Up to you :tele On Mon, 18 Aug 2014 23:38:51 +0200 Alex De la rosa wrote: > Hi Eric, > > Cool! This new syntax really worked :) even on different bucket > names :) I

Re: Python library: Error with counters

2014-08-15 Thread tele
Hi Alex, Use the version from git and see if you get the same error: git clone https://github.com/basho/riak-python-client.git cd riak-python-client python setup.py install :tele On Fri, 15 Aug 2014 18:12:09 +0200 Alex De la rosa wrote: > Hi there, > > I created a "counter&

Re: Python client error

2014-08-15 Thread tele
Hi Alex, Try with: pip install cryptography :tele On Fri, 15 Aug 2014 17:29:29 +0200 Alex De la rosa wrote: > Hi there, > > I installed riak-2.0rc1 and the Python client through "easy_intall > riak", however, when importing the "riak" library I got the f

Re: Riak solr query range issue

2014-08-11 Thread tele
Hi, Never mind i've got it working with riak2.0 and the new riak search. did my schema, indexed some data and now i can query for the range: curl 'http://localhost:8098/search/query/users_index?wt=json&q=age:%7B12%20TO%2040%7D' 2>/dev/null | jsonpp Thanks :tele On Sun

Riak solr query range issue

2014-08-10 Thread tele
host:8098/solr/users/select?q=age:%7B20 TO 50%7D" curl: (52) Empty reply from server curl 'http://localhost:8098/solr/users/select?q=age:{20 TO 50}' curl: (52) Empty reply from server What i am doing wrong? please note i have other data in the index My riak version is 1.4.10 Thanks