Code Monkey home page Code Monkey logo

Comments (3)

positiveimpact avatar positiveimpact commented on May 25, 2024

Elasticsearch:
Pros:
-The reason why Elasticsearch would be a good option is because it's good in certain cases when building recommender systems
-ES is great at stemming and tokenizing words
-Has partition tolerance and availability in CAP theorem
Cons:
-lacks consistency: by default, changes only become readable after the index refreshes (default setting: every one second). It is possible to force refresh the index on important inserts, but this reduces performance.
-Indexing and especially updating a document is relatively expensive

MongoDB:
Pros:
-has partition tolerance and consistency in CAP theorem
-very performant on simple operations
Cons:
-lacks availability in CAP theorem with default settings
-theoretically supports full-text search through mongodb atlas
-Isn't really good at full-text search (in the free version)

Our Use-Case:
Most filtering/searching/matching will be done through information such as "skills required by a project", "skills of a user", "projects a user follows" etc. Full-text search is not going to be used on launch and probably not for a while after. Therefore I believe for now MongoDB is the better choice.

from climateconnect.

positiveimpact avatar positiveimpact commented on May 25, 2024

Unless we can identify a good reason to use a Non-SQL db, we should go with PostgreSQL due to its maturity.

from climateconnect.

EvanHahn avatar EvanHahn commented on May 25, 2024

+1 for PostgreSQL. It feels like a stable, mature project that should meet our needs for a long time.

from climateconnect.

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.