*** evilbungle has joined #zope | 00:18 | |
*** mr_jolly has quit IRC | 00:46 | |
*** mr_jolly has joined #zope | 00:46 | |
*** m8 has quit IRC | 00:59 | |
*** nande has joined #zope | 01:10 | |
*** nande1 has quit IRC | 01:11 | |
*** _mup_ has quit IRC | 02:00 | |
*** _mup_ has joined #zope | 02:00 | |
*** menesis has quit IRC | 02:04 | |
*** ploufplouf has quit IRC | 02:11 | |
*** supton_ has joined #zope | 02:20 | |
*** supton has quit IRC | 02:24 | |
*** aodag has joined #zope | 02:38 | |
*** mr_jolly has left #zope | 03:47 | |
*** nande has quit IRC | 04:45 | |
*** J1m has quit IRC | 04:55 | |
*** kosh has quit IRC | 07:09 | |
*** menesis has joined #zope | 08:36 | |
*** menesis has quit IRC | 09:15 | |
*** menesis has joined #zope | 09:16 | |
*** J1m has joined #zope | 09:17 | |
*** nueces has quit IRC | 09:21 | |
*** menesis has quit IRC | 09:26 | |
*** J1m has quit IRC | 09:46 | |
*** goschtl has joined #zope | 10:18 | |
*** maurits has joined #zope | 10:31 | |
*** sm has quit IRC | 11:28 | |
*** aodag has quit IRC | 11:34 | |
*** menesis has joined #zope | 11:38 | |
*** m8 has joined #zope | 11:57 | |
*** motto has joined #zope | 12:00 | |
*** motto has quit IRC | 12:00 | |
*** ploufplouf has joined #zope | 12:09 | |
*** mr_jolly has joined #zope | 12:17 | |
*** KageSenshi has quit IRC | 12:31 | |
mgedmin | ploufplouf, that error indicates a mismatch between Five and zope.configuration versions | 13:20 |
---|---|---|
ploufplouf | yes thank you, y eventually get it | 13:20 |
mgedmin | "y"? | 13:20 |
ploufplouf | I | 13:21 |
mgedmin | heh, ok | 13:21 |
ploufplouf | I was trying to install zope with pip, and dependancies when absolutely not correct | 13:22 |
mgedmin | have you found a solution? | 13:25 |
mgedmin | (which would be downgrading zope.configuration to 3.8.1, probably) | 13:26 |
ploufplouf | yes it's ok now | 13:30 |
*** fdrake has quit IRC | 14:00 | |
*** mcdonc has quit IRC | 14:36 | |
*** avn_ has quit IRC | 14:42 | |
*** mgedmin_ has joined #zope | 14:55 | |
*** maurits has quit IRC | 15:04 | |
*** mr_jolly has left #zope | 15:08 | |
*** avn has joined #zope | 15:08 | |
*** maurits has joined #zope | 15:18 | |
*** goschtl has quit IRC | 15:19 | |
*** menesis has quit IRC | 15:30 | |
*** menesis has joined #zope | 15:41 | |
*** fdrake has joined #zope | 15:57 | |
*** menesis has quit IRC | 16:01 | |
*** bosim_ has joined #zope | 16:03 | |
*** bosim has quit IRC | 16:04 | |
*** mcdonc has joined #zope | 16:09 | |
*** mcdonc has quit IRC | 16:13 | |
*** menesis has joined #zope | 16:14 | |
*** J1m has joined #zope | 16:15 | |
*** mcdonc has joined #zope | 16:24 | |
*** supton has joined #zope | 16:42 | |
*** menesis has quit IRC | 16:44 | |
*** avn has quit IRC | 16:47 | |
*** menesis has joined #zope | 16:48 | |
*** supton has quit IRC | 16:49 | |
*** mcdonc has quit IRC | 16:53 | |
*** mcdonc has joined #zope | 16:54 | |
*** elon has joined #zope | 18:02 | |
elon | How does the Zope ORM, ZODB, manage memory? Suppose I want to store and/or load an instance of class A, that contains an instance of class B, and another instance of class A, which contains an instance of class A and one of class B(about a hundred layers deep, for example). If I load the top-object, will all the sub-objects be loaded into memory, or only as they are needed(lazy)? | 18:15 |
betabug | elon: first of all, ZODB is *not* an ORM | 18:17 |
betabug | second, things are loaded into memory only as needed | 18:17 |
betabug | a certain amount of objects are cached in memory (you can adjust the size of that cache) | 18:18 |
elon | betabug: Sorry for that, I've been working with SQLAlchemy all day. I know that it isn't since it doesn't map objects in a relational database | 18:19 |
betabug | and in the control panel you can see the state of things for that cache | 18:19 |
elon | betabug: I'm planning on using ZODB standalone | 18:19 |
betabug | then you won't have that control panel, but the same cache thing applies | 18:20 |
betabug | and I guess there is an API somewhere to get to those numbers if you have to | 18:20 |
elon | betabug: So... I can make and use large objects, without having memory issues? | 18:20 |
betabug | haha, you can't generalize these things | 18:21 |
betabug | usually people don't have memory issues, but if you do enough stupid things (unnecessarily loading objects) and if you have enough objects, things can slow down | 18:21 |
*** tiwula has joined #zope | 18:22 | |
betabug | e.g. in Zope there are 2 methods to loop over the contents of a Folder: one enumerates the ids (strings) of the children, the other enumerates the objects | 18:23 |
elon | betabug: I understand that. Thanks for your help. | 18:23 |
betabug | so you don't want to enumerate the objects if you don't need to, getting the strings is cheaper | 18:23 |
betabug | np, you're welcome | 18:23 |
*** sm has joined #zope | 18:30 | |
*** mr_jolly has joined #zope | 18:45 | |
*** menesis has quit IRC | 18:51 | |
*** nueces has joined #zope | 19:34 | |
*** supton has joined #zope | 19:38 | |
*** LeoRochael has joined #zope | 19:44 | |
*** elon has quit IRC | 19:54 | |
*** kosh has joined #zope | 19:55 | |
*** menesis has joined #zope | 20:23 | |
*** maurits has quit IRC | 20:25 | |
*** Spanktar has joined #zope | 20:25 | |
*** Spanktar has joined #zope | 20:35 | |
*** Spanktar has joined #zope | 20:35 | |
*** alecm has joined #zope | 20:39 | |
*** avn has joined #zope | 21:34 | |
*** maurits has joined #zope | 21:39 | |
*** mcdonc has quit IRC | 22:20 | |
*** mcdonc has joined #zope | 22:24 | |
*** daMaestro has joined #zope | 22:34 | |
*** LeoRochael has quit IRC | 22:56 | |
*** nande has joined #zope | 23:00 | |
*** alecm has quit IRC | 23:10 | |
*** supton_ has joined #zope | 23:33 | |
*** supton_ has quit IRC | 23:33 | |
*** supton has quit IRC | 23:36 | |
*** nueces has quit IRC | 23:40 | |
*** nueces has joined #zope | 23:40 | |
*** menesis has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!