Re: Saving Contionus Data through Django

2015-04-02 Thread Mike Dewhirst
On 3/04/2015 12:14 AM, nitinagarwal...@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. A

Re: Saving Contionus Data through Django

2015-04-02 Thread aRkadeFR
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

Re: Saving Contionus Data through Django

2015-04-02 Thread Ilya Kazakevich
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 a