Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 256 for worker2 (0.05 seconds)

  1. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  2. architecture/standards/0007-java-pre-requisite.md

    ## Decision
    
    1. The Gradle distribution will never include a Java runtime.
       Instead, Gradle will leverage Java toolchains for the Daemon and worker processes.
    2. The Gradle Daemon, Worker processes, and Tooling API client will continue to support running on different Java versions during a single Gradle invocation.
       The exact versions supported will be determined by the Gradle version.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. cmd/bucket-replication-stats.go

    	sync.RWMutex                 // mutex for Cache
    	mostRecentStatsMu sync.Mutex // mutex for mostRecentStats
    
    	wlock sync.RWMutex // mutex for active workers
    
    	movingAvgTicker *time.Ticker // Ticker for calculating moving averages
    	wTimer          *time.Ticker // ticker for calculating active workers
    	qTimer          *time.Ticker // ticker for calculating queue stats
    }
    
    func (r *ReplicationStats) trackEWMA() {
    	for {
    		select {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  4. docs/tr/docs/deployment/concepts.md

    Olası kombinasyonlar ve stratejiler:
    
    * `--workers` ile **Uvicorn**
        * Bir Uvicorn **process manager** **IP** ve **port** üzerinde dinler ve **birden fazla Uvicorn worker process** başlatır.
    * **Kubernetes** ve diğer dağıtık **container sistemleri**
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  5. cmd/data-scanner_test.go

    		t.Run(fmt.Sprintf("TestApplyNewerNoncurrentVersionsLimit-%d", i), func(t *testing.T) {
    			workers := []chan expiryOp{make(chan expiryOp)}
    			es.workers.Store(&workers)
    			workerReady := make(chan struct{})
    			var wg sync.WaitGroup
    			wg.Add(1)
    			var gotExpired []ObjectToDelete
    			go expiryWorker(&wg, workerReady, workers[0], &gotExpired)
    			<-workerReady
    
    			item := scannerItem{
    				Path:        obj,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/deployment/docker.md

    在這種情境中,你大概會希望「每個容器只有一個(Uvicorn)行程」,因為你已在叢集層級處理了複本。
    
    所以這種情況下,你「不會」想在容器中使用多個 workers(例如用 `--workers` 命令列選項)。你會想每個容器只執行「一個 Uvicorn 行程」(但可能有多個容器)。
    
    在容器內再放一個行程管理器(如同多 workers 的情況)只會增加「不必要的複雜度」,而你很可能已用叢集系統處理好了。
    
    ### 多行程容器與特殊情境 { #containers-with-multiple-processes-and-special-cases }
    
    當然,有些「特殊情況」你可能會想在「一個容器內」執行數個「Uvicorn worker 行程」。
    
    在這些情況中,你可以用 `--workers` 命令列選項來設定要啟動的 workers 數量:
    
    ```{ .dockerfile .annotate }
    FROM python:3.14
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  7. tensorflow/c/eager/immediate_execution_distributed_manager.h

          int64_t init_timeout_in_ms, int retries,
          bool clear_existing_contexts = false) = 0;
    
      // Initializes context for the local worker and no contexts will be created
      // for remote workers. Currently this only works for resetting context.
      // TODO(b/289445025): Consider removing this when we find a proper fix.
      virtual absl::Status InitializeLocalOnlyContext(const ServerDef& server_def,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. docs/fr/docs/deployment/concepts.md

    Dans cet exemple, il y a un **processus gestionnaire** qui démarre et contrôle deux **processus workers**.
    
    Ce processus gestionnaire serait probablement celui qui écoute sur le **port** de l'IP. Et il transmettrait toute la communication aux processus workers.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. internal/s3select/json/preader.go

    	recordsRead int                       // number of records read in current slice
    	input       chan *queueItem           // input for workers
    	queue       chan *queueItem           // output from workers in order
    	err         error                     // global error state, only touched by Reader.Read
    	bufferPool  bpool.Pool[[]byte]        // pool of []byte objects for input
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/deployment/concepts.md

    在 FastAPI 應用中,使用像 `fastapi` 指令(執行 Uvicorn)的伺服器程式,即使只在「一個行程」中執行,也能同時服務多個客戶端。
    
    但很多情況下,你會想同時執行多個工作行程(workers)。
    
    ### 多個行程 - Workers { #multiple-processes-workers }
    
    如果你的客戶端比單一行程所能處理的更多(例如虛擬機規格不大),而伺服器 CPU 有「多核心」,那你可以同時執行「多個行程」載入相同的應用,並把所有請求分散給它們。
    
    當你執行同一個 API 程式的「多個行程」時,通常稱為「workers(工作行程)」。
    
    ### 工作行程與連接埠 { #worker-processes-and-ports }
    
    還記得文件中[關於 HTTPS](https.md) 的說明嗎:在一台伺服器上,一組 IP 與連接埠的組合只能由「一個行程」監聽?
    
    這裡同樣適用。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 16.1K bytes
    - Click Count (0)
Back to Top