Coder Social home page Coder Social logo

glucoseinc / circlecore Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.16 MB

IoT platform for your laptop

License: MIT License

Python 49.40% HTML 0.34% JavaScript 48.00% CSS 1.97% Mako 0.06% Dockerfile 0.18% Makefile 0.02% Shell 0.04%
iot material-ui python typescript

circlecore's People

Contributors

miniohno avatar oblique1121 avatar shnjp avatar yutanakajima avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

circlecore's Issues

レプシケーションをするとWhisperのグラフデータが食い違う

レプリケーションを行うと、データは正しくMySQLに保存されているようだが、Whisperのデータが食い違う。
結果、グラフ形状に差異が出る。
master側
2017-10-05 10 32 34

slave側
2017-10-05 10 32 16

検証方法

1 . survey/graph-failブランチにてenv-master, env-slaveをそれぞれ立ち上げる
2. python sample/sensor_rand.py --to=tcp://0.0.0.0:9090 --box-id=ac27e725-defd-4b02-901d-264d7c96f6ff でMasterにデータを頃く送信
3. 全て終了させて

whisper-fetch.py --from=[いい感じの値] env-master/data/box_ac27e725-defd-4b02-901d-264d7c96f6ff.wsp | grep -v None > master.lst
whisper-fetch.py --from=[いい感じの値] kyudai-check/env-slave/data/box_ac27e725-defd-4b02-901d-264d7c96f6ff.wsp | grep -v None > slave.lst
diff -u master.lst slave.lst

でみると、差異があることが分かる。(MySQLを見て差異が無いことも確認)

原因推測

whisperを最新版に更新

1.0系が出ているので更新させる(現在はBetaのはず)
これで治れば、Whisperのせい!で終了

datareciverとreplicationでcycle_timeの初期値が違う

このせいで差が?

nnpyの参照元

nnpy は pypi ではなく github からソースを引っ張ってきているが、将来的に pip install circle-core などでインストールする場合、dependency linksが無視される模様。
--process-dependency-links もdeprecated (pip9.0.1)。

python setup.py install なら問題ないが、pip対応するなら考慮が必要。

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.