Giter Site home page Giter Site logo

Comments (9)

stbrody avatar stbrody commented on July 18, 2024

Yeah, ceramic commits are limited to 256kb. 4MB is very large for JSON text - why do you have such a large schema?

from js-ceramic.

fhirfly avatar fhirfly commented on July 18, 2024

from js-ceramic.

stbrody avatar stbrody commented on July 18, 2024

I see, thanks for the information. I've filed a feature request to support larger documents in Ceramic, but there's a few different things that would have to change to make this work. The HTTP request size limit that you noted is one, but there is also the Ceramic commit size limit, as well as possibly the IPFS block size limit, that would all need to be dealt with. I'll leave this ticket open for now and we can use it to report any update towards increasing the Ceramic document size limits.

from js-ceramic.

fhirfly avatar fhirfly commented on July 18, 2024

@stbrody What about the schema size limit on the server? This is an express setting, not something particular to ceramic. I tried setting it in the daemon config, but I wasn't exactly sure how to do it or if your Carmic's embedded express would lpick it up there. I would like to see us at least tackle a schema load. I would then worry about the size of commits. Data can be chunked, and the current stream might be just fine. Does the commit size constrain the size of the schema?

from js-ceramic.

stbrody avatar stbrody commented on July 18, 2024

Does the commit size constrain the size of the schema?

Yes, it does. Schemas are stored as documents in Ceramic same as any other data.

from js-ceramic.

fhirfly avatar fhirfly commented on July 18, 2024

IPFS says the block size limit is 1MB, but obviously a file can be written to more than 1 block. Must Ceramic commits exists in a single block or can they be over more than 1 block?

from js-ceramic.

stbrody avatar stbrody commented on July 18, 2024

IPFS says the block size limit is 1MB, but obviously a file can be written to more than 1 block. Must Ceramic commits exists in a single block or can they be over more than 1 block?

I think that questions is exactly one of the things we would need to investigate as part of the work to enable larger documents on Ceramic

from js-ceramic.

stbrody avatar stbrody commented on July 18, 2024

@fhirfly, could you take your large FHIR schema and break it up into multiple smaller schemas for different parts of the overall data?

from js-ceramic.

fhirfly avatar fhirfly commented on July 18, 2024

Unfortunately, the schemas are all related. Did you ever make the limitation go away?

from js-ceramic.

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.