Giter VIP home page Giter VIP logo

Comments (4)

simonwo avatar simonwo commented on June 10, 2024 1

For every page write it will require an incremental upload to S3. So if your page size is 1/4 of the block size, you will need 4 writes of the same block, most of which will just be the same data.

tamato uses the maximum block size, but we haven't done any specific performance tuning on that.

from sqlite-s3vfs.

michalc avatar michalc commented on June 10, 2024 1

On this, I suspect there are loads of ways of making things more performant, but I think from TaMaTo's point of view, things are fast enough(?), and most ways I (and from what I read above, you?) can think of making it more performant introduces complexity. So at the moment, I'm probably a bit anti, since there would be risk of bugs for no real benefit...

Consider recommending a larger block size (may need testing to find an optimal size, but the 65536 from the docs doesn't seem like a bad start).

And on this, I did consider explicitly recommending a larger block size, but I guess didn't really want to spend time testing, and I wonder if it's dependant on usage patterns. Maybe 4k is better than 64k for some cases, and 64k better for others?

from sqlite-s3vfs.

stuaxo avatar stuaxo commented on June 10, 2024

I'm going to shut this, but here is my un-proposal for "packed blocks":

There's a possibility of having packed-blocks that contain say 16 blocks, for initial data, or any new data that is contiguous and written fast enough that the upload HTTP POST is still open and within some small timeout.

As you point out, on writing to a packed block it gets expensive as the block needs to be split.

from sqlite-s3vfs.

stuaxo avatar stuaxo commented on June 10, 2024

There's no specific need from tamato at this time*, it's more that I enjoy making things faster.

Though it's quite possibly because we haven't been looking, benchmarking is definitely something we will look into at some point.

from sqlite-s3vfs.

Related Issues (8)

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.