Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The UserWise backend is responsible for managing all work that must be done outside the context of an HTTP request, which is handled by the frontend. This includes tasks such as data processing, background operations, and asynchronous communication. The backend currently comprises three separate worker processes: default_worker, player_content_send_worker, and player_data_worker.

Worker Processes and Queues

Each worker process has its own dedicated queue, allowing it to efficiently manage and prioritize its assigned tasks.

  • Player Data Worker: This worker is responsible for processing all new player events and attributes, managing backgrounded segment processing, and handling real-time checks for various triggers that can occur within the UserWise system.

  • Player Content Send Worker: This worker handles the processing of push notifications and emails.

  • Default Worker: This process handles any jobs that are not specifically assigned to the other two worker processes. As the UserWise system grows and evolves, some queues may be moved from the default worker to a more specialized process.

Configuration

All currently supported configuration options for worker pods can be found here: https://userwise1.atlassian.net/wiki/spaces/U/pages/77496322/Cluster+Configuration#Cluster-Worker-Pod

...