Contribute Media
A thank you to everyone who makes this possible: Read More

Celery meets Singleton – PyCon Taiwan 2020


Day 2, 14:30–15:00

Celery is a popular framework for deferred, offline, or scheduled processing. Celery itself is written in Python, and it can well fit into docker, stack, and cluster structure. In real situation, we might have requirement or usage like this: to ensure only one instance of celery task running. Celery itself could not do this out of the box. So there are some patches implementations or usage strategies to support singleton task. However all of them have their pros and cons. Sadly these patches need more dependencies and not robust enough, thus they could not fit to our situations. In this talk, I will share some implementation strategies, discuss characteristics, explain their weak points. After that, I will introduce a strategy which has different characteristics, pros, and cons from other strategies. And this strategy totally fit our requirement.


Speaker: 郭學聰 (Hsueh-Tsung Kuo)

台灣某game會社的小小RD 目前是CPPRG(C# Perl Python Ruby Golang)熟手 Smalltalk與Scheme基本教義派 不是太奇怪的程式語言都會一些



Improve this page