SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
set default http idle connection per host
Chris Luc94823f52c7d
diff --git a/weed/util/grpc_client_server.go b/weed/util/grpc_client_server.goindex e5993aeab0..5c08538dcb 100644--- a/weed/util/grpc_client_server.go+++ b/weed/util/grpc_client_server.go@@ -3,6 +3,7 @@ package utilimport ("context""fmt"+ "net/http""strconv""strings""sync"@@ -18,6 +19,10 @@ var (grpcClientsLock sync.Mutex)+func init(){+ http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = 100+}+func NewGrpcServer(opts ...grpc.ServerOption) *grpc.Server {var options []grpc.ServerOptionoptions = append(options, grpc.KeepaliveParams(keepalive.ServerParameters{