Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 191 for worker3 (0.05 seconds)

  1. docs/de/docs/deployment/docker.md

    COPY ./app /code/app
    
    # (1)!
    CMD ["fastapi", "run", "app/main.py", "--port", "80", "--workers", "4"]
    ```
    
    1. Hier verwenden wir die `--workers` Befehlszeilenoption, um die Anzahl der Worker auf 4 festzulegen.
    
    Hier sind einige Beispiele, wann das sinnvoll sein könnte:
    
    #### Eine einfache Anwendung { #a-simple-app }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  2. cmd/bucket-replication.go

    	if (checkOld > 0 && len(p.workers) != checkOld) || n == len(p.workers) || n < 1 {
    		// Either already satisfied or worker count changed while we waited for the lock.
    		return
    	}
    	for len(p.workers) < n {
    		input := make(chan ReplicationWorkerOperation, 10000)
    		p.workers = append(p.workers, input)
    
    		go p.AddWorker(input, &p.activeWorkers)
    	}
    	for len(p.workers) > n {
    		worker := p.workers[len(p.workers)-1]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  3. .teamcity/test-buckets.json

              "declarative-dsl-internal-utils",
              "javadoc",
              "kotlin-dsl-provider-plugins",
              "precondition-tester",
              "test-suites-base",
              "worker-main",
              "workers"
            ],
            "parallelizationMethod": {
              "numberOfBatches": 1,
              "name": "TeamCityParallelTests"
            }
          },
          {
            "subprojects": [
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Aug 01 00:23:04 GMT 2025
    - 119.4K bytes
    - Click Count (0)
  4. cmd/bucket-lifecycle.go

    		workers = workers[:len(workers)-1]
    		worker <- expiryOp(nil)
    		es.stats.workers.Add(-1)
    	}
    	// Atomically replace workers.
    	es.workers.Store(&workers)
    }
    
    // Worker handles 4 types of expiration tasks.
    // 1. Expiry of objects, includes regular and transitioned objects
    // 2. Expiry of noncurrent versions due to NewerNoncurrentVersions
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  5. docs/es/docs/deployment/concepts.md

    Aquí hay algunas combinaciones y estrategias posibles:
    
    * **Uvicorn** con `--workers`
        * Un administrador de procesos de Uvicorn **escucharía** en la **IP** y **puerto**, y iniciaría **múltiples worker processes de Uvicorn**.
    * **Kubernetes** y otros sistemas de **contenedor distribuidos**
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  6. docs/en/docs/deployment/concepts.md

    Here are some possible combinations and strategies:
    
    * **Uvicorn** with `--workers`
        * One Uvicorn **process manager** would listen on the **IP** and **port**, and it would start **multiple Uvicorn worker processes**.
    * **Kubernetes** and other distributed **container systems**
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 18.6K bytes
    - Click Count (1)
  7. docs/en/docs/deployment/docker.md

    And if you need to have multiple workers, you can simply use the `--workers` command line option.
    
    /// note | Technical Details
    
    The Docker image was created when Uvicorn didn't support managing and restarting dead workers, so it was needed to use Gunicorn with Uvicorn, which added quite some complexity, just to have Gunicorn manage and restart the Uvicorn worker processes.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 29.5K bytes
    - Click Count (1)
  8. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
       * scheduled again for future submissions.
       */
      @GuardedBy("queue")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

      /**
       * This counter prevents an ABA issue where a thread may successfully schedule the worker, the
       * worker runs and exhausts the queue, another thread enqueues a task and fails to schedule the
       * worker, and then the first thread's call to delegate.execute() returns. Without this counter,
       * it would observe the QUEUING state and set it to QUEUED, and the worker would never be
       * scheduled again for future submissions.
       */
      @GuardedBy("queue")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  10. docs/es/docs/deployment/docker.md

    Y si necesitas tener múltiples workers, puedes simplemente utilizar la opción de línea de comandos `--workers`.
    
    /// note | Detalles Técnicos
    
    La imagen de Docker se creó cuando Uvicorn no soportaba gestionar y reiniciar workers muertos, por lo que era necesario usar Gunicorn con Uvicorn, lo que añadía bastante complejidad, solo para que Gunicorn gestionara y reiniciara los worker processes de Uvicorn.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 32K bytes
    - Click Count (0)
Back to Top