Git Product home page Git Product logo

heart's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

heart's Issues

Repair database cache

Now all caches of a database is disabled by default.
Need to fix all troubles and enable it.

Troubles

  • sqlite cache not working in memory
  • sqlite cache not cached all objects
  • objects cache save all dbobjects into cache. its wrong. The objects cache is simple storage of object, so user should be enable caching of own objects itself.

Subtask:

Fix documentation

Required

  1. Fix all typo errors
  2. Fix all grammatical errors
  3. Fix all logic errors (all descriptions should be clear for users)
  4. Create a new documentation for the not documented objects.

Technical details

  • Fork from the HanoiTowersPatch branch
  • Create PR to the HanoiTowersPatch

Check results of your work on the buildbot.

See result this

All documentations wrote in the h files.
You must use the qt doxygen syntax for the creating documentations.

Refactoring DataBase

In the current time database works with only one connection in the own thread.
This is very slow because node work wtih multiple threads and each thread try read or write some data into database.
So in result all threads push into queue of the database worker.

We need to create a one db connection for each work thread.

AbstractNode ban list

In the current time the AbstractNode using a list of nodeinfo objects for ban invalid nodes. This is Wrong because a validation of an incoming node works slowly and list of node has large size.

Need to create a network mask for banned nodes.

The SQLiteDBCache notwrite data in the memory.

  1. run server.
  2. create BaseNode object.
  3. use the SQLiteDBCache batabase.
  4. write any cacheable object into database.
  5. open database from hard disk
  6. look at your recorded object.

The object from well be write into memory cache only.

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.