Tag: celery

  1. Updated

    The Incomplete Guide to Google Kubernetes Engine

    Category: DevOps, Web Development

    Kubernetes is the de facto standard of container orchestration. Google Kubernetes Engine (GKE) is a managed Kubernetes as a Service provided by Google Cloud Platform.

  2. Updated

    Run a Celery task at a specific time

    Category: Python, Web Development

    You are able to run any Celery task at a specific time through eta (means "Estimated Time of Arrival") parameter.

  3. Updated

    Django's get_or_create() may raise IntegrityError but subsequent get() raises DoesNotExist

    Category: Database, Python, Web Development

    get_or_create() 拋出 IntegrityError 但是接著 get() 一次卻會是 DoesNotExist,以上的錯誤常常會發生在 MySQL 的 isolation level 是 REPEATABLE READ 的情況下。MySQL 默認採用 REPEATABLE READ(而 PostgreSQL 預設是 READ COMMITTED)。