Not sure Django is the best solution to your problem.

As Ilya said, you should buffer it. Then you can work
with your buffered data. You said one entry every minute,
so the "buffer" can just send this entry every minute to
a Django project?

On 04/02/2015 04:34 PM, Ilya Kazakevich wrote:
You can't just store stream in database.
You need to buffer it first, and then save to field like blob: http://www.postgresql.org/docs/9.1/static/datatype-binary.html

I am not sure that relational database is the best place to store binary data coming from devices.


On Thursday, April 2, 2015 at 5:10:23 PM UTC+3, nitinag...@gmail.com wrote:

    Hello All

    I am new to Django. And, I need help in models file.
    I made a table - device_list. It contain one filed as device_id.
    Now, I need to store 3 continuous data stream which is coming like
    1 entry per minute each for this device_id.
    All 3 data streams will have different timestamps and that also
    needs to be stored.

    So, what is the best way to store the stream ?




--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/69d2b2a4-5928-488f-a923-f03750d1eea6%40googlegroups.com <https://groups.google.com/d/msgid/django-users/69d2b2a4-5928-488f-a923-f03750d1eea6%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/551D5698.6000608%40arkade.info.
For more options, visit https://groups.google.com/d/optout.

Reply via email to