Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    ghost202
    @ghost202
    @Morgul sounds like elastic is the answer. thanks!
    Henrik Andersson
    @ha1331
    @chovy if you were talking about rethinkdb when you said the license made nobody want to use it, I think that might be slightly ... well opinionated
    I can't really say how many didn't want to use it because of the license, I'm sure there were some, but to say nobody wanted to use it surely is not accurate. I'm only basing this on my own observations on the community. I'm pretty sure I didn't see anyone complaining about the license before the company shut down. After that happened, the licensing became pretty much the only issue people were concerned. After that was dealt with, I haven't seen significant rise in adoption. Tho that's not really fair comparison, because some of the people who were not satisfied with the license might not be interested in rethinkdb because of the fact that the company shut down
    Henrik Andersson
    @ha1331
    @Morgul I don't have any hard numbers to compare elastic to rethinkdb on ... well any use cases, but one thing to consider would be space usage if you have large data sets. As it is now, rethinkdb deoesn't compress anything and it's almost wastefull. I have a database of 100GB+ and the dump of that is in a range of 1.5GB or something similar.
    and as you say, elastic is very good at those work loads
    @chovy I would also like to point out that mongo is still AGPL licensed and I'm pretty sure no one ever said Mongo has had hard time being adopted by people and companies. Same goes for BerkeleyDB and others: https://en.wikipedia.org/wiki/List_of_software_under_the_GNU_AGPL
    Christopher S. Case
    @Morgul
    @ha1331 Yeah our workload contains a bunch of geojson, which tends to be highly compressible, but as we're using rethink just for logging, we couldn't (well, didn't) clue rethink in on which bits were geometries and which weren't, so I think that our comparison ended up being rather unfair to rethink. Though, I can say that everyone loved ReQL, and we're a little sad to lose it. Still, we basically thoroughly abused a rethink cluster that we started with nothing but the defaults and honestly probably have it on some underpowered vms... and it's just handled it for the last year and a half. I mean, I can't complain too loudly, and it really underscores how well rethink works "out of the box". You can do some pretty nasty things to it and it just keeps going.
    ralyodio
    @ralyodio
    hello
    Does anyone know why my table would have a key called args
    that has a bunch of descendants called args?
    I can’t figure out if its a rethink query doing this or something else.
    it seems to get worse over time. with an update.
    I believe its this statement when updating an existing doc
          const res = await this.r.table('products').insert(item, {
              conflict: (id, oldDoc, newDoc) => {
                return Object.assign(item, oldDoc.merge(newDoc.without("createdAt")));
              },
              returnChanges: true
            })
            .run(this.conn);
    oldDoc.args exists
    Tu Huynh
    @TuHuynhVan
    anyone there?
    Newbie question!
    I don't know how to get the rusult for below quey:
    r.connect({host: 'IP', port: 28015, db: 'myDB'}, function (err, conn) {
        if (err) throw err;
        r.table('devices').getField('display').filter({url: 'someValue'}).run(conn, function (err, cursor) {
            // How to get the result from here???
        })
    });
    Ghost
    @ghost~54cee670db8155e6700f55cc
    Hi @TuHuynhVan. This is from the docs:
    r.table('authors').run(connection, function(err, cursor) {
        if (err) throw err;
        cursor.toArray(function(err, result) {
            if (err) throw err;
            console.log(JSON.stringify(result, null, 2));
        });
    });
    Tu Huynh
    @TuHuynhVan
    Thanks @grantcarthew so much, going to give a try right now.
    Tu Huynh
    @TuHuynhVan
    Thanks @grantcarthew , base on that I could move ahead.
    Axi
    @fardok
    Hello. type ch struct { field string}
    r.Table(“one”).Insert( ch).RunWrite(sess)
    Is it possible to save struct to rethinkdb?
    Ghost
    @ghost~54cee670db8155e6700f55cc
    @TuHuynhVan :smile:
    Roberto Di Lillo
    @robdll
    hi guys
    I'm using rethinkDbDash as a connection driver, is it the right place to look for an answer? :)

    I added the following event to my node script

    db.getPoolMaster().on('healthy', function(healthy) {
      if (healthy) {
        console.log('########## HEALTLY ############');
        console.log('OPENED CONN: ' , db.getPoolMaster().getLength());
        console.log('AVAILABLE CONN: ' , db.getPoolMaster().getAvailableLength());
      }
      else {
        console.log('!!!!!!!!!!! UNHEALTLY !!!!!!!!!');
        console.log('OPENED CONN: ' , db.getPoolMaster().getLength());
        console.log('AVAILABLE CONN: ' , db.getPoolMaster().getAvailableLength());
      }
    });

    however , calling the API locally , never display any of these logs.
    Is it possible that the db state doesn't ever change?

    Roberto Di Lillo
    @robdll

    also, the documentation says:

    The driver execute one query per connection.

    does it mean that if i have 10 concurrent user making 3 queries together by using the web browser, i ll have 30 connection on my Database?

    should I be worry about scalability of my web app in the long run? (how can a DB manage so many connections?)
    Jeremy
    @Extarys
    @koop4 Yes, using rethinkdbdash you can configure the number of maximum connections. For the event not being triggered that is strange. I never really used that feature (yet). I think there is more people on Github , your issue would be tagged as a question.
    Since you can use rethinkdb to stream, it requires 1 connection per query for that reason. If you stream a result, you need a connection from the client to the database
    Roberto Di Lillo
    @robdll

    Hi again!
    We set up a 3 instance cluster, and after connecting throught ssh we’re reading cpu performances.
    We saw that 1 of these instances has his cpu working at 150%, while the other 2 barely works.

    on the DB gui we can see:
    on 1 instance: 33 Primaries, 2 secondary
    on 1 instance: 32 secondaries, 1 Primaries
    on 1 instance: 32 secondaries 1 Primaries

    We don't really know how to split the workload. any idea?

    CryptoTitan
    @crypto-titan
    Hey Guys
    anyone around
    I'm a beginner with rethinkdb
    and I need some advice
    regarding security
    I'm trying to implement horizon
    and I want local authentication
    is there a good explanation how to achieve that?
    using JWT tokens
    CryptoTitan
    @crypto-titan
    Hey hey
    I would like to hire someone for assistance with Horizon
    anyone interested?
    paulo lelis
    @bleekbless
    Hello
    Hi need help pls
    koolay
    @koolay
    how can i get the clients online ?
    Alisson Cavalcante Agiani
    @thelinuxlich
    As a RethinkDB user since 2014, I find it quite frustrating that we have a freshly new release(2.4) frozen for almost a year because of inertia. I tried contacting ex-developers without success for some time. I'm one of those that still believe on the technology, a year and a half has passed since the startup failed and still I don't see any database in the market fitting the same niche of RethinkDB.
    Right now the communication is awful, we have a slack channel advertised as official which new users can't enter, so the community is scattered between Slack, Discord, IRC, Gitter and Google Groups. So I'm sending this message everywhere: if we get a bunch of volunteers, we could fork the database, create a new organization and devise a plan to release the 2.4 version as soon as possible. There is already work done in the future 2.5 version and I'm paying a developer to add data compression to Rethink, we could setup a OpenCollective for other developers interested in advancing the database future. What do you think?
    Alisson Cavalcante Agiani
    @thelinuxlich
    we've created a spectrum channel to talk about the fork effort, in case anyone interested in collaborate: https://spectrum.chat/rebirthdb