Giter Club home page Giter Club logo

Comments (4)

harshavardhana avatar harshavardhana commented on July 25, 2024

Remove #future label on this - we need to get this completed across all libraries.

from minio-dotnet.

harshavardhana avatar harshavardhana commented on July 25, 2024

What we will do to resolve the issue is "https://s3.amazonaws.com" is that we always take only hostname as input. i.e not virtualized but we will construct a virtualized request underneath if known regions are found for a given bucket name.

Internally as an optimization we keep a global cache of hostname, buckets and regions

from minio-dotnet.

harshavardhana avatar harshavardhana commented on July 25, 2024

That way subsequent calls can fetch the values first by looking into this global cache. If not make getBucketLocation to update the cache.

This essentially solves our dilemma, also we always send as virtualized hostnames for known regions i.e all S3. This also solves our problem of taking such a URL as an input. It also means that 'hostname' is an optional argument if request is being sent to s3.

var s3Client = new MinioClient("ACCESS-KEY", "SECRET-KEY"); 

Means that request is for S3, if not optionally one can provide another hostname which will be used to construct the request.

from minio-dotnet.

harshavardhana avatar harshavardhana commented on July 25, 2024

Already implemented by the new re-write by @poornas

from minio-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.