Never scaling past 1 runner
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 25/100
Piste de recherche
Start by reviewing the FLAME.Pool configuration, especially max_concurrency, and the FLAME.FlyBackend settings in runtime.exs. Reproduce the behavior with roughly 30 concurrent FLAME.call invocations and debug logging enabled, then determine why additional runners are not spawned and document or fix the cause.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
This could be a misunderstanding on my part but from reading all of the documentation and everything else I can get my hands on I can't figure out why my setup will not utilize more than one runner. Here is my setup
{
FLAME.Pool,
name: Demo.FlamePool,
min: 0,
max: 50,
max_concurrency: 1,
idle_shutdown_after: 30_000,
timeout: 60_000,
log: :debug
}
The backend is configured properly in my runtime.exs file and setup for using Fly as:
config :flame, FLAME.FlyBackend,
token: System.fetch_env!("FLY_API_TOKEN"),
cpu_kind: "performance",
cpus: 4,
memory_mb: 8192
I am using FLAME.call for a function that gets called around 30 times in a short period of time. These are fairly long running functions (some more than the timeout) which I have adjusted the timeout option for to accommodate this and prevent for the runner being terminated. For the life of me I can't figure out why it's only ever choosing to run the jobs on one runner and never spawns more than one. What am I missing here? Any help would be greatly appreciated.
- Langage dominant
- Elixir
- Étoiles
- 1.2k
- Forks
- 68
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de phoenixframework/flame
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
phoenixframework/flame#86 · 3 réactions ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
phoenixframework/flame#84 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
phoenixframework/flame#75 · 2 commentaires ·
-
Clean up code_sync tmp files on terminator shutdownPeut-être à nouveau libre @chrismccord l’a pris il y a 718 jours, et aucune pull request n’est ouverte. Ouverte
phoenixframework/flame#70 · 1 personne assignée ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
phoenixframework/flame#66 · 1 commentaire ·
Toutes les issues de phoenixframework/flame
Issues similaires
-
Bug: Table layout and date column are cut off on mobile screens on the Tournaments -> History pageOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
hexlet-codebattle/codebattle#2375 ·
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
wintermeyer/vutuv#2388 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
-
Broadcast API docs say to prepend realtime: to the topic, which breaks deliveryPeut-être pris @mandar1045 l’a pris il y a 1 jour. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
phoenixframework/phoenix_live_view#4509 ·
Les mainteneurs répondent en général sous 1 jour