Coder Social home page Coder Social logo

nyadb2's Issues

dm模块的page缓存我觉得可以考虑去除,保留dataItem缓存

    因为经常访问的dataItem可能在40个page中都有分步,假如均匀分步在40个page中,那么按照你page缓存的写法,引用计数法,每个page的引用数都会维持>=1,
    如果你在cache里缓存数没有限制,那么你就会在内存中维持40个page,
    如果在cache里有限制,那么除了最初的几个对dataItem的操作外,后面的其他对dataIem的操作都会抛CachEerror错误.
   所以我觉得page缓存会拖累整个数据库的性能.

d

d

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.