Tommaso Barbugli
Tommaso Barbugli
unfortunately the solution in the link is pretty much the best way to deal with python-driver long-lived session and celery pre-fork. How often do you get the timeout? did you...
something like this: ``` python import threading from django.conf import settings from cassandra.cluster import Cluster from celery.signals import worker_process_init,worker_process_shutdown thread_local = threading.local() @worker_process_init.connect def open_cassandra_session(*args, **kwargs): cluster = Cluster([settings.DATABASES["cassandra"]["HOST"],], protocol_version=3)...
I think we should add this to the docs and perhaps wrap it up somehow with an helper function. If you use stream-framework with Cassandra you will have this problem...
Hi Owais, For performance reasons we use storages like Redis and Cassandra that requires data to be modelled around read paths; retrieve activities by something else than its ID is...
yes, we are planning to move away from pickle serialisation. I am going to see how soon we can fix this issue and update this conversation.
This sound indeed quite interesting :+1: @tomaadland what are you using to build the api interface ?
@tomaadland while feedly is just a python library it plays nicely out of the box with Django (feedly settings can be changed in django's settings). If you plan to use...
@tomaadland python 2.7 is the way to go :) django admin works out of the box (and it has a very good documentation on how to use it / extend...
https://getstream.io is a hosted version of Feedly (on steroids). API are available via HTTP and clients are available for Python and PHP (javascript is to come). Thats a very good...
this PR will break existing applications or make it impossible to upgrade without purging/updating all data in Redis.