Git Product home page Git Product logo

Comments (3)

timurhai avatar timurhai commented on June 11, 2024

There is one advantage using SQL. All deleted jobs stored in statistics tables. And users can write various queries to get farm load statistics. This tools are not dealing with afserver at all. There is already one tool - web visor.
But!

  1. Writing some deleted jobs data is a separate process. And there is no matter how active jobs are stored, within SQL or not. So server can store only deleted jobs in SQL.
  2. There are such tiny SQL engines as SQLite, all database is in application library and does not needed to be installed - may be this is a simple solution. There can be an option to use internal or external database.
  3. I think that it is normal for afanasy to have some own "database" engine, as it is simple, all SQL power does not needed, of course. And there is a great advantage in this case that we do not need to install and setup postgresql.

ps
Job has a description attribute, that is not used by afanasy system. But it is stored. Users can give informative values for it. For example departmentA.projectB.sceneC.shotD. And later perform interesting queries to statistics table. That is why i do not want to drop SQL at all. And if server can't connect to SQL database, it simple will not store any statistics (also it can be compiled to not use SQL at all).

from cgru.

timurhai avatar timurhai commented on June 11, 2024

In CGRU 2.0 everything will be stored in json files (folders structure).
SQL will be used for statistics only.

from cgru.

timurhai avatar timurhai commented on June 11, 2024

Done.

from cgru.

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.