Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for bandwidth (0.74 sec)

  1. internal/bucket/bandwidth/monitor.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bandwidth
    
    //go:generate msgp -file=$GOFILE -unexported
    
    import (
    	"context"
    	"sync"
    	"time"
    
    	"golang.org/x/time/rate"
    )
    
    //msgp:ignore bucketThrottle Monitor
    
    type bucketThrottle struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. internal/bucket/bandwidth/reader.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bandwidth
    
    import (
    	"context"
    	"io"
    	"math"
    )
    
    // MonitoredReader represents a throttled reader subject to bandwidth monitoring
    type MonitoredReader struct {
    	r        io.Reader
    	throttle *bucketThrottle
    	ctx      context.Context // request context
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. cmd/notification.go

    		peersLogOnceIf(ctx, err, sys.peerClients[index].host.String())
    	}
    	reports = append(reports, globalBucketMonitor.GetReport(bandwidth.SelectBuckets(buckets...)))
    	consolidatedReport := bandwidth.BucketBandwidthReport{
    		BucketStats: make(map[bandwidth.BucketOptions]bandwidth.Details),
    	}
    	for _, report := range reports {
    		if report == nil || report.BucketStats == nil {
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  4. internal/bucket/bandwidth/monitor_test.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package bandwidth
    
    import (
    	"reflect"
    	"testing"
    	"time"
    )
    
    const (
    	oneMiB uint64 = 1024 * 1024
    )
    
    func TestMonitor_GetReport(t *testing.T) {
    	type fields struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	getBandwidthRPC                = grid.NewSingleHandler[*grid.URLValues, *bandwidth.BucketBandwidthReport](grid.HandlerGetBandwidth, grid.NewURLValues, func() *bandwidth.BucketBandwidthReport { return &bandwidth.BucketBandwidthReport{} })
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. internal/bucket/bandwidth/monitor_gen_test.go

    package bandwidth
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBucketBandwidthReport(t *testing.T) {
    	v := BucketBandwidthReport{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    	ReplicatedCount int64 `json:"replicationCount"`
    	// Replication latency information
    	Latency ReplicationLatency `json:"replicationLatency"`
    	// bandwidth limit for target
    	BandWidthLimitInBytesPerSecond int64 `json:"limitInBits"`
    	// current bandwidth reported
    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    	// transfer rate for large uploads
    	XferRateLrg *XferStats `json:"-" msg:"lt"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. internal/bucket/bandwidth/monitor_gen.go

    package bandwidth
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BucketBandwidthReport) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. cmd/globals.go

    	"github.com/minio/dnscache"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/bpool"
    	"github.com/minio/minio/internal/bucket/bandwidth"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/browser"
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/minio/internal/handlers"
    	"github.com/minio/minio/internal/kms"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. README.md

    OkHttp
    ======
    
    See the [project website][okhttp] for documentation and APIs.
    
    HTTP is the way modern applications network. It’s how we exchange data & media. Doing HTTP
    efficiently makes your stuff load faster and saves bandwidth.
    
    OkHttp is an HTTP client that’s efficient by default:
    
     * HTTP/2 support allows all requests to the same host to share a socket.
     * Connection pooling reduces request latency (if HTTP/2 isn’t available).
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top