Elasticsearch as a database



  • Hi, I have seen that NodeBB has a Database Abstraction Layer (DBAL), I wonder if you guys have ever thought of implementing Elasticsearch a DB, if not... I'm doing it!


  • Admin

    Elasticsearch is a search engine isn't it? I don't know if it works quite as well as a data store for NodeBB 😬



  • It works, I have used it to store documents as a NoSQL db, it's a Document search engine and in fact lucene is extremely good as a key/value storage. I have never missed documents in Elasticsearch... in Mongo... well... so many times to never use it again...


  • Admin

    Interesting... please do let us know how you get on, and whether you need help overcoming any stumbling blocks building your DBAL adapter 😃



  • Minor FYI....Elasticsearch has made a strong stand that they are not a database. There are certain levels of consistency and reliability to qualify as a database that they have said they cannot support. But if your data isn't critical, and you don't mind a noticeable a delay between when you write a document and when it available for reading, then that's fine. 🙂


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.