Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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?

    Thomas Bereczky
    @SysOpsNet
    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
    Thomas Bereczky
    @SysOpsNet
    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
    pedall
    @pedall
    can someone help with rethinkdb install on debian stretch?
    Paulo Henrique
    @MrHerickS
    @thelinuxlich that's a nice initiative, i still believing on RethinkDB as well! Unfortunately i can't work on it now, but i hope the community will make it back alive. :(
    (Charles_K)
    @charleschege
    @thelinuxlich Thats an awesome initiative. I am new to database development and I like how RethinkDB works. Glad to see effort in the project.
    kontactmaneesh
    @kontactmaneesh
    Hi All , I connected sails js with rethink DB . I am able to perform get,post and delete operation but facing issue for put(update) call . issue : " "rawStack": ": Primary key id cannot be changed " . Please provide me input here . I am making put call from Restlet client (google chrome plugin) http://localhost:1337/view/1b0c89b2-b4b9-4850-af6f-e0cb66d39034?name=test3. PLease help me for same.
    Paul "Joey" Clark
    @joeytwiddle
    @kontactmaneesh Maybe don't send the id as part of the update?
    Send PUT /things/1b0c89b2-sdlkjfs with a request body but don't put any id in the request body.
    kontactmaneesh
    @kontactmaneesh
    @joeytwiddle
    Thanks for reply but I am not sending id keyword as a part of update key . Am I missing anything else ? But I observed that update issue is coming when I am connecting with rethindb if I am using localdb/file system , working fine .