Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Marker Colours #1301
    Andy
    Participant

    If it’s any help, here is some code from one of my projects. Takes start and end hex colours and the number of colour steps you want to create. Then you can use steps(step) to get the hex colour code for that step.

    http://pastebin.com/enVzwUSP

    • This reply was modified 9 years, 2 months ago by Andy.
    in reply to: Marker Colours #1289
    Andy
    Participant

    I happen to have stumbled across https://atlas.ripe.net/results/maps/comparative-dns-root-rtt whilst working today. So, it’s just finer increments which may be better.

    • This reply was modified 9 years, 2 months ago by Andy.
    • This reply was modified 9 years, 2 months ago by Andy.
    in reply to: Database optimisations #795
    Andy
    Participant

    I guess that is the question, do you need 1 minute resolution forever?

    I wouldn’t see any issues storing data in RRD and configuration/current status in MySQL.

    in reply to: Database optimisations #787
    Andy
    Participant

    Check out RRDtool, it was made for this sort of thing. It’s a very simple and robust tool.

    If you want a circular buffer with SQL support, then MySQL really isn’t the tool. PostgreSQL would be your best option.

Viewing 4 posts - 1 through 4 (of 4 total)