Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asksol
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
61.
▲
by
asksol
14y ago
what's the error and traceback? (paste at pastie.org or similar)
62.
▲
by
asksol
14y ago
But note that this device is for IM (intra-muscular) not IV. While it certainly would be great for harm control, most hard drug users probably wouldn't bother.
63.
▲
by
asksol
15y ago
If you mention Xela, you should also mention Yasume: http://www.youtube.com/watch?v=6_SdCPLOkP4
64.
▲
by
asksol
15y ago
Who has the means to take 6 months at home with the kids, anyway? Even one month would be luxury for most... Is he telling me I'm failing my son?
65.
▲
by
asksol
15y ago
for me it's not just the sound, lots of people in the same room is distracting, and makes it hard(er) for me to concentrate. For some reason even more so if everyone is silent.
66.
▲
by
asksol
15y ago
Now that is depressing. I've always thought the idea of eternal life is a ton more scary than nothingness.
67.
▲
by
asksol
15y ago
Yes, but I think what he was referring to was message acknowledgements, which Redis doesn't have. If a worker reserves a message, and is abruptly killed, then the message is lost.
68.
▲
by
asksol
15y ago
You can't really compare Celery with beanstalkd or gearman. In fact, Celery supports beanstalk as a transport, and adding gearman support would be simple. You could rather compare celery with the Python clients for these services. Also, t
69.
▲
by
asksol
15y ago
Yes, but note that multiprocessing rocks. It's just that celery uses it so extensively :) (and now also eventlet/gevent if that suits better)
70.
▲
by
asksol
15y ago
People used to do this before, but most have finally started using the versioned releases. It makes things easier for everyone. You shouldn't use Django trunk in production unless you have a very good reason to.
71.
▲
by
asksol
15y ago
I'd be suprised if most muggers were psychopaths. I'd guess they're more likely someone strung out looking for a fix, and that they really don't want an outcome where they end up killing someone. They just want you to fall for the threat.
72.
▲
by
asksol
15y ago
Everything is pointless: then again what is the difference between habit and ritual?
73.
▲
by
asksol
15y ago
That's good news! Guess it's time to remove the mechanism in Celery that disables the multiprocessing pool when running under PyPy.
74.
▲
by
asksol
16y ago
oh, so bash is suddenly multi-threaded now? :) python does multiprocessing just fine: http://docs.python.org/library/multiprocessing.html
75.
▲
by
asksol
16y ago
Back in the day, when VeriSign took control over the .com and .net TLDs they decided to redirect all unregistered domains to their own site. (See http://news.cnet.com/2100-1032-5077530.html ) I remember me and a friend rushed into their Os
76.
▲
by
asksol
16y ago
Also, from 2.2 on Redis support is complete. It's not as reliable as AMQP (no message acknowledgements, and you can lose minutes of messages when not using append_only mode)
77.
▲
by
asksol
16y ago
By the way the performance increase you're seeing with the PyInvoker (from your gist) is most likely because it doesn't have prefetch_count enabled. Celery enables this so a single worker doesn't suck in a million messages at a time, and to
78.
▲
by
asksol
16y ago
I'm interested in seing the code/config used to benchark Celery. The default settings are not at all optimized for processing lots of small jobs, and you could easily tweak it to get a 100x speed up for that use case, e.g.: CELERYD_PRE
79.
▲
by
asksol
16y ago
I commit so often, I'm afraid the first cheer won't finish before the second starts.
80.
▲
by
asksol
16y ago
Not just the PPC -> Intel switch, before that they switched from 680x0/m68k/68k/68K to PPC as well. Which certainly wasn't just a simple recompile.
81.
▲
by
asksol
16y ago
Could you please elaborate why it is a better choice? I don't see how django-beanstalkd could take much less memory than celeryd. If it's about the broker (beanstalk), you could have implemented a beanstalk backend for celery as well, the
82.
▲
by
asksol
17y ago
See http://celeryproject.org
83.
▲
by
asksol
17y ago
Point taken. I have to add something like that. A good article on queueing used in a web context is http://decafbad.com/blog/2008/07/04/queue-everything-and-del...
84.
▲
by
asksol
17y ago
Just a small note: You can also use CELERY_BACKEND="amqp" to send back the result as a message, it's the most efficient way, but then you can only look up the result once (unless you send another message with the same result).
85.
▲
by
asksol
17y ago
There's nothing built in to celery for this, but some people have already made different solutions (one which may be added as standard in the future). There's a ChainableTask where you can chain tasks together, the next running when the pre
86.
▲
by
asksol
17y ago
Not sure what you mean by logs, resources and changing trees. But there is logging support (the python logging module). Resources: There is AMQP QoS which makes sure it only receives as many tasks as it can handle. Task hard and soft time-l
87.
▲
by
asksol
17y ago
There isn't a single good answer to this, all depending on what storage you use, the work you need to do etc. But in general I'd think you want the task to be as granular as sensible, so you can spread the work to many servers. The best thi
88.
▲
by
asksol
17y ago
Please note that RabbitMQ does support persistence. See http://www.rabbitmq.com
89.
▲
by
asksol
17y ago
It's not about communicating with AMQP. It uses carrot+pyamqplib for that.
90.
▲
by
asksol
17y ago
See Alexis Richardson's talk, Databases Sucks for Messaging: http://oxford.geeknights.net/2009/may-27th/talks/keynote-Ale...
More ›