Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7171501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:25:37+00:00 2026-05-28T15:25:37+00:00

Just looking for some advice here on a small job I have to do.

  • 0

Just looking for some advice here on a small job I have to do. I’ve been asked to put together a page that displays a graph that updates in real time to show stats obtained from a remote server. It’s worth stating that this will be triggered on demand and will only capture data for a short time (e.g for 5 mins)

The app is based on rails 3 and I already have a class that will ssh to a target grab a value every 30 seconds and append that into an array that I’ll hold in a db table, I’ll use a background resque task to do this on demand

So what I’m looking for is some advice on the best way to display this array in a graph and update the graph data (i.e. grab the updated array from the db every 30 seconds.)

My first thought was to use something like Bluff http://bluff.jcoglan.com/ and just do a full page refresh but I wondered if I could do something nicer and use jQuery or Ajax to reach out and grab the array and refresh the graph in real time without doing a full page refresh.

If anyone has any ideas on the best way to do this I would really appreciate it. I’m fairly open to any suggestions on the best way to hold the data in the db or which graphing software I should use

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:25:38+00:00Added an answer on May 28, 2026 at 3:25 pm

    in the end I used Flot graphs to write out the graph data

    http://code.google.com/p/flot/

    well worth checking out if you are doing any graphing work

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for some best practice advice here. I have a library that I'd
Really quick here... I think I have the answer, but just looking for some
I have some flexibility here so I'm looking for some advice before I lock
Looking for some practical advice here and any experiences people have had in a
I am encountering a small problem and I was just looking for some advice
I'm looking for a way to group some ui elements together just like the
I'm looking for any advice/intuition/clues/answers on a permission issue that has been plaguing me
I need some advice here. I need to make a webservice, that can make
I am wondering if my theory is right here so looking for some advice
Okay. Just looking for some advice on how to debug a problem with connecting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.