[image: Attach a file]  Attach a file  
 Edit subject  Quote original  Add Cc  
 
  
 

On Wednesday, May 15, 2013 3:18:12 PM UTC-7, Piren wrote:
>
>  How much is too much?
>
>  
> Obviously i don't have an answer for that... but if the device freezes and 
> you could pinpoint the issue to these requests, it's safe to say that 
> you've gone over the limit for that device :)
>

I agree with that - if I can succeed on the first two. I still don't have 
the device. Anyone close to Portland OR with Droid Razr Maxx HD?
 
I wonder how much is too much because Movies, for example, can stream an 
entire movie to storage and retrieve it and display it in realtime. I think 
that is much greater load than I am putting on it. 
 

>  What drive isn't flash? I'm assuming that app internal storage (I don't 
>> use), external storage, and removable external storage are all flash.
>
> Meant the internal drive of course.  Unless you pushed the DB to the 
> SDCard, it uses the internal storage btw, any either way DB access is I/O.
>
 
I don't push the DB to SDCard, I create it there in the first place. 
Extremely advanced users can actually choose an external SD Card.
There is a mode that uses a lot of little files, and another one that uses 
one big DB with lots of binary blocks. 
 

> By System blocking i meant that all drive access eventually is on a queue 
> ... (not that it blocks the entire system thread wise).  
>

That is something I would expect, and therefore multiple threads could be 
blocked waiting for that. 
 

> So hammering the DB with requests is a nice way to make the entire device 
> unresponsive.
>
 

> I've never actually checked if keeping the DB open will load it to memory, 
>
The whole thing? It better not. That's not my understanding of how 
databases should work. 
 I'm not sure what size of DB you are used to working with. 
 

> but if you know you have lots of DB access, it's a good idea to cache it 
> in memory anyway.
>
I believe as much caching as should be done is already done. I wouldn't use 
a database or the file system at all if the whole thing could fit in 
memory.   

Nathan


-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to