Giter Site home page Giter Site logo

setup instructions about rtcstats-server HOT 9 CLOSED

fippo avatar fippo commented on July 19, 2024
setup instructions

from rtcstats-server.

Comments (9)

ggarber avatar ggarber commented on July 19, 2024 1
  • Primary partition key ConnectionId (String)
  • Export is done with Data Pipeline. you can do it manually with this pgsql query:
    copy features from 'dynamodb://Snoop'
    credentials 'aws_access_key_id=key;aws_secret_access_key=secret'
    readratio 50;
  • You need to create an application in github developers site. But that's only if you want to use the website that is not very useful yet :(

from rtcstats-server.

fippo avatar fippo commented on July 19, 2024

installation went smoothly. After fighting with AWS security groups. zero effort for integration, just dumped the script with changed path into things.

from rtcstats-server.

fippo avatar fippo commented on July 19, 2024

do you have a definition for data pipeline? I now want the full pain :-)

from rtcstats-server.

fippo avatar fippo commented on July 19, 2024

renaming tables:

alter table features rename to features_old

also: increase the read capacity or dynamodb to 100-200 and use a read ratio of 95

from rtcstats-server.

jmg-syncrtc avatar jmg-syncrtc commented on July 19, 2024

@fippo @ggarber Could you please provide more details in README file in order to configure the server. I have inspected the yaml files in config folder but I still do not understand how works the flow. I am able to run the client, but I do not understand how the client send the stats to the server or how to run the server in order to collect all the data from the different clients.

I think it would be great you guys could bring some light on it, I am really interested in using your application, but I need some extra steps to put all the pieces together.

Thanks in advance guys!

from rtcstats-server.

fippo avatar fippo commented on July 19, 2024

@jmg-syncrtc: unfortunately neither of us has time for documenting this -- and setting up the full server->kinesis->redshift workflow has taken several days the last time we tried.

Maybe @dagingaa can shed some light on this

from rtcstats-server.

jmg-syncrtc avatar jmg-syncrtc commented on July 19, 2024

Thanks for letting me know, @fippo.

@dagingaa , could you, please, provide further steps in order to configure the server? Maybe, not the final setup document, but any help would be great to unlock me.

Thanks so much

from rtcstats-server.

dagingaa avatar dagingaa commented on July 19, 2024

Err, one day I might have time to open source the terraform config for this, but currently I can't. I agree it's not a lot to go on here, but how I did it was:

  • Modify rtcstats to run in elastic beanstalk, I have a specific fork of this to do that, since I use travis to do the deploying
  • Create an s3 bucket to dump logs into
  • Create a redshift cluster
  • Create a firehose and point that to your redshift cluster
  • Create the database table using https://github.com/fippo/rtcstats-server/blob/develop/features.sql (it's not completely up to date, so sometimes I scroll through the commit history to find stuff, or look up the source code if I find anything missing that I want)
  • Config rtcstats with the firehose stream and s3 bucket
  • Now run it and configure the rtcstats-client to connect to it

Reason I'm being so short on these things is that it's surprisingly complex to do, and I don't have the time or energy to sit down and document it currently. At some point some kind soul might contribute patches to this to make it easier and more understandable to get it up and running. I just know this stuff because I spent time figuring out how to deploy it by reading the source and knowing a ton of amazon stuff from before, which certainly made things easier. Sadly (and I honestly regret this), I didn't take the time to document what I did back then.

Confrere might consider donating some time to rtcstats in the future, but it won't be right now.

from rtcstats-server.

jmg-syncrtc avatar jmg-syncrtc commented on July 19, 2024

Thanks so much for this @dagingaa , maybe it is not so documented as you'd like, but I think you have provided very good tips here in order to make the installation easier.

Thanks again guys

from rtcstats-server.

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.