Re: Efficient Large Binary File Streaming

2015-08-18 Thread kanav002
Yes thank you. I went over that page and decided for my real-time binary 
stream I would use a FLOT chart:

http://www.flotcharts.org/flot/examples/realtime/index.html

However, I am trying to figure out how to get the data from a large growing 
binary file to the FLOT chart. Should I use StreamingHttpResponse? Should I 
use the django-stream package. Basically I'm looking for advice from an 
experienced user what works well and what doesn't. Thanks.

Nick


On Tuesday, August 18, 2015 at 10:54:23 AM UTC-5, luisza14 wrote:
>
> Did you look here https://www.djangopackages.com/grids/g/charts/ ?
>
> 2015-08-16 18:25 GMT-06:00 kanav002 :
>
>> This is my first week using Django and version 1.8 in particular. I'm 
>> trying to figure out the best way to stream a raw, large, continuously 
>> growing binary file to a plotting function that is continuously updating 
>> the last 600 bytes of the binary file. This is primarily a client side 
>> application. I have seen many streaming snippets and the 
>> StreamingHttpResponse module but am not sure which streaming method will be 
>> optimal. I'm also not sure if streaming methods are the correct approach. 
>> Can I just read the file with Python and plot in a browser window? Thanks.
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/77018f70-2568-4a80-a6d1-c928c73617ef%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> "La utopía sirve para caminar" Fernando Birri
>
>
>

-- 
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/2be5f092-8b0b-4b1c-adf2-a602854f8a05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Efficient Large Binary File Streaming

2015-08-18 Thread Luis Zárate
Did you look here https://www.djangopackages.com/grids/g/charts/ ?

2015-08-16 18:25 GMT-06:00 kanav002 :

> This is my first week using Django and version 1.8 in particular. I'm
> trying to figure out the best way to stream a raw, large, continuously
> growing binary file to a plotting function that is continuously updating
> the last 600 bytes of the binary file. This is primarily a client side
> application. I have seen many streaming snippets and the
> StreamingHttpResponse module but am not sure which streaming method will be
> optimal. I'm also not sure if streaming methods are the correct approach.
> Can I just read the file with Python and plot in a browser window? Thanks.
>
> --
> 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/77018f70-2568-4a80-a6d1-c928c73617ef%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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/CAG%2B5VyO-cWTS0tLgOaz_JVBe2ZWYN_RW9ayFGYpw6W0hbAepsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Efficient Large Binary File Streaming

2015-08-16 Thread kanav002
This is my first week using Django and version 1.8 in particular. I'm 
trying to figure out the best way to stream a raw, large, continuously 
growing binary file to a plotting function that is continuously updating 
the last 600 bytes of the binary file. This is primarily a client side 
application. I have seen many streaming snippets and the 
StreamingHttpResponse module but am not sure which streaming method will be 
optimal. I'm also not sure if streaming methods are the correct approach. 
Can I just read the file with Python and plot in a browser window? Thanks.

-- 
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/77018f70-2568-4a80-a6d1-c928c73617ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.