Android Question RDC on Raspberry

Discussion in 'Android Questions' started by incendio, Jun 14, 2015.

  1. incendio

    incendio Well-Known Member Licensed User

    Hi all,

    I am planning to run RDC on Raspberry Pi 2, has anyone here has experience with it?

    Hints, share, etc, are really appreciated, thanks.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    RDC should run fine on Raspberry.
     
  3. incendio

    incendio Well-Known Member Licensed User

    I am planning to use this RDC as a temporary server, its purpose only to receive data from a lot of users.

    I am concern with its writing performance since it is write to microSD.

    When RDC received data from users, before it is committed to a database, I suppose this data is queued in memory. If this true, which settings should I apply in c3po.properties file so it could hold at least 1000 uncommitted records from users?

    Also when sending ExecuteBatch Command in RDC, suppose this command contains 5 sql insert statements, and if I have set c3p0.maxStatements=150 in c3po.properties file, this ExecuteBatch count as 1 statement or 5 statements?

    Thanks in advance.
     
    Last edited: Jun 18, 2015
  4. Cableguy

    Cableguy Expert Licensed User

    just bought myself a model 2 type B wich I plan to turn into a home server/NAS/Media server/backup thingy. I also plan to have RDC on it as well as my personal page, so any extra info is welcomed too.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    You need to configure the database not the connection pool. The connection pool maintains a pool of connections it doesn't cache any data.
     
  6. incendio

    incendio Well-Known Member Licensed User

    Database? Can you be more specific? What parameters in a database should I configure?
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    RDC acts as a middleman between the clients and the database server. It doesn't hold or cache any data.

    Normally you do not need to do any special configuration.
     
Loading...