GithubHelp home page GithubHelp logo

Comments (3)

joeyouss avatar joeyouss commented on September 26, 2024

Thank you so much for your feedback. Our team will look into this problem to understand what best performance optimizations can be made here.

from console.

joeyouss avatar joeyouss commented on September 26, 2024

Hi @t0mm4rx

Following up on this with you, I would love to know which part is causing the speed to decrease. Can you help me with anyn details you might have about approx time it takes to list documents, update only one attribute and to create a normal request? Or any other part which is actually slow?
I ask this since then it would be easier to spot where the problem lies and we can work on the slow part.

from console.

t0mm4rx avatar t0mm4rx commented on September 26, 2024

Hi @joeyouss ,

I noticed two main performance issues concerning the Console:

  • When listing a collection (clicking on the collection name on the sidebar), it also loads all the collection relationships. I have a collection of 20k documents, and every document has about 100 relationships inside of them. It makes the UI super slow and irresponsive as it fetches everything. A suggestion would be to only load the IDs of the relationship and to load the actual document on the mouse hover, or when clicking the ID for example.
  • When updating a single field in the data tab of a document, the whole document is sent back to the API. It's very slow as it might also update hundreds of relationships for nothing. A suggestion would be to only update the field that has been updated. It's very easy to implement as each field has its own Update button. Every button could send a PATCH call only to its associated field.

Let me know if that answers your question.

from console.

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.