Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[服务端] 基本架构(Django版) #2

Open
terryoy opened this issue Apr 26, 2017 · 0 comments
Open

[服务端] 基本架构(Django版) #2

terryoy opened this issue Apr 26, 2017 · 0 comments

Comments

@terryoy
Copy link
Contributor

terryoy commented Apr 26, 2017

主要需求:

  1. 智能电表客户端上传电表读数,约每10分钟一次。(数据量评估:一天产生144条记录,24*60min/10min=144)
  2. 网页端呈现:
    2.1 显示实时的读数曲线
    2.2 显示某一天的总用电量(每天?)

技术架构:

  1. 存储记录以天为单元。
  2. 鉴于数据量并不大,sqlite存archive的数据,memcached存实时数据。
  3. django实现restful api。

API: #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant