Valentina for iPhone - Discussion.

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Dec 10 07:04:03 CST 2008


On 12/10/08 2:45 PM, "Thorsten Hohage" <thohage at genericobjects.de> wrote:

Hi Thorsten,

>> On 12/10/08 1:40 PM, "Jochen Peters" <jpeters at genericobjects.de>
>> wrote:
>> 
>>>> * Do you see ideas of tasks when somebody need power of Valentina to
>>>> manage
>>>> say 8-16Gb database on small iPhone device ?
>>> No - i do not think that the iphone will become the storage device
>>> for
>>> large amount of data! In fact on iPhone we use smaller db's - maybe
>>> subsets of bigger ones on some central server...
>> 
>> If somebody have offline needs ?
> 
> 
> Keep in mind one real IMPORTANT issue ... there are only about 128 MB
> memory available in the iPhone for all the apps. If there is an app
> consuming to much memory, then iPhone OS is simply killing this app,
> because there must always enough room left for an incoming call or SMS.

Yes I know this  .. And what problems? :)

Valentina is perfect running with cache 3-10MB.
    With Valentina you do not need load all in RAM, so overhead to cache
size is very minimal. May be more 1-5 Mb.

Their SqlLite book example show constant grow of RAM eating by loaded
objects. Imho stupid.  Of course this is not required technique, they point
this.

> So of course it will be possible to handle a 4GB db on the iPhone,
> caching and many other things must be re-thinks twice, its not only
> about to recompile the libs and go.

Nothing to rethink here Thorsten.

As I see it Valentina perfectly fit to needs of iPhone in this regard. It
have own cache of fixed size and not eat more RAM of that. Even for huge dbs
on desktop we told people use 30-50MB cache ONLY.

> Furthermore while there is indeed Obj-C 2 on the iPhone, it's NOT the
> full "standard", so especially the garbage collection is not
> implemented. The developer must care about memory handling. It's not
> only the issue of optimizing Valentina for a 4GB db with so many
> memory available, the developer must really wrap his brain about
> wrapping the data into the objects for the app.

Sorry I have not catch this.

* iPhone has Objc 2.0?

* who not implements garbage collection ?
    V4CC ?


* NO NEED to think about Objects !
    We use other style of navigation by records.
    record by record.
    You have few tables, Each table have current record.
    Only this record is in RAM.

We do not load million records into million objects as this do CoreData or
other OO frameworks.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list