Hello Jim,
Well when I saw the response time from GAE than its same around from 
15ms-80ms. ANd the response metrics I attached, plz have a look. The main 
thing is browser is taking too much time to parse content and, as you can 
see in attached file. But I'm unable to figure out how to solve this 
problem.


On Friday, July 3, 2015 at 12:51:22 AM UTC+5:30, Jim wrote:
>
> Ankur,
>
> I use that same basic approach to serve thousands of blobs per day in my 
> app, and the average response time in the app engine logs is 15ms.  The 
> blobs I'm serving are text data and they vary in size from a few hundred 
> bytes  to 1MB and larger.  The average size is probably around 200KB.  
>
> I wonder if anyone can comment on the possibility that the blobstore 
> service takes longer to serve video content than it does text content.  I 
> doubt it, but I suppose it is possible.
>
> Are you sure that the latency you're seeing is actually in app engine and 
> not perhaps in network transit or even in your browser while it loads a 
> viewer for that mp4 content?
>
> Jim
>
>
>
>
> On Thursday, July 2, 2015 at 11:25:23 AM UTC-5, Ankur Jatt wrote:
>>
>> Currently I'm using below class to serve videos:
>>
>> class VelfieVideoHandler(blobstore_handlers.BlobstoreDownloadHandler):
>>
>>     def get(self, blobKey):
>>         blobKey = BlobKey(blobKey)
>>         blobinfo = blobstore.blobstore.BlobInfo(blobKey)
>>         self.send_blob(blobKey,content_type="""video/mp4""")
>>
>> But the problem is: its taking atleast 2 seconds to response even though 
>> the video size is 100KB.
>> I test this code on 4Mbps speed and from Mumbai.
>>
>> How can I optimize it?
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7c42c3e8-4324-4aa2-9898-c79880d75843%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to