Not too obvious since doc here doesn’t mention it.
Working configuration:
CARROT_BACKEND = "ghettoq.taproot.Redis"
CELERY_RESULT_BACKEND = "redis"
REDIS_HOST = "localhost"
REDIS_PORT = 6379
REDIS_DB = 0
REDIS_CONNECT_RETRY = True #this one is deprecated
BROKER_HOST = "localhost" # Maps to redis host.
BROKER_PORT = 6379 # Maps to redis port.
BROKER_VHOST = "0" # Maps to database number.
#this line will screw up things for ghettoq backend
#CELERY_DEFAULT_EXCHANGE = "tasks"
CELERY_IMPORTS = ("tasks", )
Follow this link for more details
Tags:
python,
redis,
tasks
Just notes to myself:
redis.c line 10897
#if defined(__FreeBSD__)
return (void*) uc->uc_mcontext.mc_eip;
#elif defined(__dietlibc__)
return (void*) uc->uc_mcontext.eip;
#elif defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_6)
#if __x86_64__
return (void*) uc->uc_mcontext->__ss.__rip;
#elif defined (__i386__)
return (void*) uc->uc_mcontext->__ss.__eip;
#else
return (void*) uc->uc_mcontext->__ss.__srr0;
#endif
CFLAGS='-mmacosx-version-min=10.5 -arch ppc -sysroot=/Developer/SDKs/MacOSX10.5.sdk' make
See ticket for more details
No tags for this post.
When I decided to move from movable type to wordpress, I wasn’t quite happy with default wordpress cookbook. I also had an offer to have a cheap dedicated server instead of VPS, so I decided to test two things simultaneously:
Tags:
chef,
cloud computing,
deployment,
linux,
vagrant
As a long time perl developer, I have admired Movable Type (mt). So recently I decided to upgrade to MT5. In the end I decided to move from movable type to wordpress, but this is my notes:
Read more…
Tags:
chef,
cloud computing,
deployment,
movable type,
mt,
mt installation web,
ruby,
vagrant
As a big fan of automatic software deployment and cloud computing, today I tried chef following several tutorials one, two and three. But because I am lazy, I decided to try to use vagrant to setup chef server.
Read more…
Tags:
chef,
cloud computing,
ruby,
vagrant,
virtual box,
virtualisation
I have a several friends, who have a great product ideas, based on complex scientific algorithms. Each time when I suggest using cloud computing for developing product we go through a round of questions. I will put them down here, so I can reference it.
Read more…
Tags:
Business,
cloud computing,
Encryption,
Scalability,
security
This is a short example how to build very simple chart for EC2 Spot Instances using Timeplot
Read more…
Tags:
amazon ec2,
chart,
price,
spot instances