Pynenc
  •  Publications
  •  Docs
  •  GitHub
Navigation bar avatar

Pynenc


A task management system for complex distributed orchestration
  • Per-account task concurrency without a lock service

    Serialize work by account key while keeping other accounts parallel.

    Posted on May 1, 2026

    Many background jobs call an external system on behalf of separate accounts, tenants, or installations. The external system allows parallel calls across different accounts, but it does not allow two calls for the same account to run at the same time. [Read More]
    Tags:
    • python
    • external-apis
    • concurrency-control
    • distributed-systems
    • pynenc
  • Distribute a Python function without changing callers

    Use direct_task for blocking calls, sync tests, and worker execution.

    Posted on April 24, 2026

    You have a Python function that processes one item. You call it in a loop. The list grows, and the loop slows down because each call waits on I/O: an API request, a database query, a scrape, an embedding, a model call. [Read More]
    Tags:
    • python
    • distributed-systems
    • migration
    • pynenc
  • Recover Python tasks after a worker crash

    Heartbeat checks, orphaned invocations, and automatic rerouting in pynenc

    Posted on April 19, 2026

    I wanted a small failure test: start a few long-running tasks, kill the worker, then see whether the work still finishes. [Read More]
    Tags:
    • python
    • distributed-systems
    • reliability
    • pynenc
  • ← Newer Posts
  • RSS
  • GitHub
  • Twitter
  • LinkedIn

Jose Diaz  •  2026  •  pynenc.org  •  Edit page

Powered by Beautiful Jekyll