Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for optimizations (0.27 sec)

  1. internal/http/listener.go

    	for i := range listener.tcpListeners {
    		addrs = append(addrs, listener.tcpListeners[i].Addr())
    	}
    
    	return addrs
    }
    
    // TCPOptions specify customizable TCP optimizations on raw socket
    type TCPOptions struct {
    	UserTimeout        int              // this value is expected to be in milliseconds
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/main.go

    		Name:   "compat",
    		Usage:  "enable strict S3 compatibility by turning off certain performance optimizations",
    		Hidden: true,
    	},
    	// This flag is hidden and to be used only during certain performance testing.
    	cli.BoolFlag{
    		Name:   "no-compat",
    		Usage:  "disable strict S3 compatibility by turning on certain performance optimizations",
    		Hidden: true,
    	},
    }
    
    // Help template for minio.
    var minioHelpTemplate = `NAME:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    	rf, ok := w.(io.ReaderFrom)
    	if ok && runtime.GOOS != "windows" {
    		// Attempt to use splice/sendfile() optimization, A very specific behavior mentioned below is necessary.
    		// See https://github.com/golang/go/blob/f7c5cbb82087c55aa82081e931e0142783700ce8/src/net/sendfile_linux.go#L20
    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    }
    
    // ReadAll is a raw call, reads content at any path and returns the buffer.
    func (s *xlStorage) ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error) {
    	// Specific optimization to avoid re-read from the drives for `format.json`
    	// in-case the caller is a network operation.
    	if volume == minioMetaBucket && path == formatConfigFile {
    		s.RLock()
    		formatData := make([]byte, len(s.formatData))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    					encodeDirObject(entry.name),
    					ObjectOptions{
    						DeletePrefix:       true, // use prefix delete to delete all versions at once.
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    						NoAuditLog:         true,
    					},
    				)
    				stopFn(err)
    				auditLogDecom(ctx, "DecomDeleteObject", bi.Name, entry.name, "", err)
    				if err != nil {
    					decomLogIf(ctx, err)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.3K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool.go

    		// from older format, for older format we will rewrite them as
    		// newer using PutObject() - this is an optimization to save space
    		if dstOpts.Versioned && srcOpts.VersionID != dstOpts.VersionID && !srcInfo.Legacy {
    			// CopyObject optimization where we don't create an entire copy
    			// of the content, instead we add a reference.
    			srcInfo.versionOnly = true
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    					encodeDirObject(entry.name),
    					ObjectOptions{
    						DeletePrefix:       true, // use prefix delete to delete all versions at once.
    						DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    						NoAuditLog:         true,
    					},
    				)
    				stopFn(err)
    				auditLogRebalance(ctx, "Rebalance:DeleteObject", bucket, entry.name, "", err)
    				if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    		reader = etag.Wrap(s2c, actualReader)
    		size = -1   // Since compressed size is un-predictable.
    		md5hex = "" // Do not try to verify the content.
    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    	// for server that is started with `--no-compat`.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    		reader = etag.Wrap(s2c, actualReader)
    		size = -1   // Since compressed size is un-predictable.
    		md5hex = "" // Do not try to verify the content.
    		sha256hex = ""
    	}
    
    	var forceMD5 []byte
    	// Optimization: If SSE-KMS and SSE-C did not request Content-Md5. Use uuid as etag. Optionally enable this also
    	// for server that is started with `--no-compat`.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  10. cmd/config-common.go

    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, configFile, ObjectOptions{
    		DeletePrefix:       true,
    		DeletePrefixObject: true, // use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    	})
    	if err != nil && isErrObjectNotFound(err) {
    		return errConfigNotFound
    	}
    	return err
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top