*** menesis has joined #zope | 00:10 | |
*** digitalmortician has joined #zope | 00:30 | |
*** slackrunner has quit IRC | 00:32 | |
*** youyou_ has joined #zope | 00:33 | |
*** youyou_ has quit IRC | 00:33 | |
*** youyou has quit IRC | 00:35 | |
*** Spanktar has joined #zope | 00:46 | |
*** davisagli has quit IRC | 00:46 | |
*** davisagli has joined #zope | 00:48 | |
*** srichter has joined #zope | 01:02 | |
*** MrTango has quit IRC | 01:16 | |
*** Arfrever has quit IRC | 01:35 | |
*** davisagli has quit IRC | 02:30 | |
*** davisagli has joined #zope | 02:31 | |
*** alga has quit IRC | 03:27 | |
*** Spanktar has quit IRC | 03:40 | |
*** davisagli has quit IRC | 03:50 | |
*** davisagli has joined #zope | 03:51 | |
*** davisagli has quit IRC | 04:26 | |
*** davisagli has joined #zope | 04:27 | |
*** [Arfrever] has quit IRC | 05:18 | |
*** jham has quit IRC | 05:19 | |
*** [Arfrever] has joined #zope | 05:19 | |
*** jham has joined #zope | 05:19 | |
*** davisagli has quit IRC | 05:28 | |
*** davisagli has joined #zope | 05:28 | |
*** digitalmortician has quit IRC | 06:54 | |
*** tisto has joined #zope | 07:13 | |
*** tiwula has joined #zope | 07:13 | |
*** slackrunner has joined #zope | 08:12 | |
*** tiwula has quit IRC | 08:17 | |
*** zagy has joined #zope | 08:28 | |
*** kleist has joined #zope | 08:37 | |
*** __mac__ has joined #zope | 09:01 | |
*** wosc has joined #zope | 09:02 | |
*** fredvd has joined #zope | 09:03 | |
*** hever has joined #zope | 09:08 | |
*** davisagli has quit IRC | 09:08 | |
*** davisagli has joined #zope | 09:10 | |
*** hever has quit IRC | 09:10 | |
*** hever has joined #zope | 09:12 | |
*** yvl has quit IRC | 09:15 | |
*** yvl has joined #zope | 09:23 | |
*** agroszer has joined #zope | 09:39 | |
*** MrTango has joined #zope | 09:54 | |
*** alexpilz has joined #zope | 09:58 | |
*** planetzopebot has quit IRC | 10:08 | |
*** planetzopebot has joined #zope | 10:09 | |
*** fredvd has quit IRC | 10:19 | |
*** humanfromearth has joined #zope | 10:26 | |
*** alexpilz has quit IRC | 10:34 | |
*** humanfromearth has quit IRC | 10:36 | |
*** alexpilz has joined #zope | 10:36 | |
*** humanfromearth has joined #zope | 10:37 | |
*** humanfromearth has left #zope | 10:37 | |
*** alexpilz has quit IRC | 10:38 | |
*** goschtl has joined #zope | 10:40 | |
*** alexpilz has joined #zope | 10:40 | |
*** alga has joined #zope | 10:53 | |
*** vortec has joined #zope | 10:59 | |
*** altipard has joined #zope | 11:08 | |
*** altipard has quit IRC | 11:08 | |
*** avoinea has joined #zope | 11:09 | |
*** __mac__ has quit IRC | 11:09 | |
*** __mac__ has joined #zope | 11:09 | |
*** sylvain has joined #zope | 11:11 | |
*** f10w has quit IRC | 11:14 | |
*** f10w has joined #zope | 11:17 | |
*** mitchell`off is now known as mitchell` | 11:18 | |
*** thetet has joined #zope | 11:21 | |
*** digitalmortician has joined #zope | 11:26 | |
*** slackrunner_ has joined #zope | 11:33 | |
*** slackrunner has quit IRC | 11:35 | |
*** slackrunner has joined #zope | 11:37 | |
*** stoffus has joined #zope | 11:37 | |
*** slackrunner__ has joined #zope | 11:40 | |
*** slackrunner_ has quit IRC | 11:40 | |
*** slackrunner has quit IRC | 11:42 | |
*** slackrunner has joined #zope | 11:44 | |
*** slackrunner__ has quit IRC | 11:46 | |
*** slackrunner has quit IRC | 11:46 | |
*** slackrunner has joined #zope | 11:47 | |
*** slackrunner_ has joined #zope | 11:50 | |
*** slackrunner has quit IRC | 11:53 | |
*** slackrunner_ is now known as slackrunner | 11:53 | |
*** evilbungle has joined #zope | 11:59 | |
*** hever has quit IRC | 12:01 | |
*** hever has joined #zope | 12:06 | |
*** TomBlockley has joined #zope | 12:06 | |
*** Wu has joined #zope | 12:21 | |
*** wosc has quit IRC | 12:22 | |
*** __mac__ has quit IRC | 12:25 | |
*** teix has joined #zope | 12:34 | |
*** giampaolo has joined #zope | 12:35 | |
*** fredvd has joined #zope | 12:58 | |
*** eperez has joined #zope | 13:24 | |
*** srichter has quit IRC | 13:28 | |
*** srichter has joined #zope | 13:28 | |
*** mr_jolly has joined #zope | 13:37 | |
*** mr_jolly has left #zope | 13:41 | |
*** TomBlockley has quit IRC | 13:48 | |
*** gwik has joined #zope | 13:52 | |
CIA-83 | jim * r121630 /ZODB/branches/jim-python-btrees: | 13:53 |
---|---|---|
CIA-83 | jim jim-python-btrees * r121631 ZODB/src/BTrees/ (___BTree.py OOBTree.py): checkpoint | 13:53 |
*** gwik has quit IRC | 14:08 | |
*** vipod has joined #zope | 14:21 | |
*** bhagat has joined #zope | 14:33 | |
*** TomBlockley has joined #zope | 14:34 | |
*** slackrunner has quit IRC | 14:58 | |
*** benji has joined #zope | 15:03 | |
*** Wu has quit IRC | 15:08 | |
*** menesis has quit IRC | 15:10 | |
*** bhagat has quit IRC | 15:11 | |
*** thetet has quit IRC | 15:30 | |
CIA-83 | andreasjung * r121632 zopeorg.buildout/bootstrap.py: fixed bootstrap script | 15:43 |
CIA-83 | andreasjung * r121633 zopeorg.buildout/buildout.cfg: new port-base | 15:43 |
CIA-83 | andreasjung * r121634 zopeorg.buildout/buildout.cfg: new port-base | 15:43 |
CIA-83 | andreasjung * r121635 /zopeorg.buildout/branches/beta.zope.org: added | 15:43 |
CIA-83 | andreasjung beta.zope.org * r121636 zopeorg.buildout/ (973 files in 241 dirs): ADDED | 15:43 |
CIA-83 | andreasjung beta.zope.org * r121637 zopeorg.buildout/lib: opps | 15:43 |
*** thetet has joined #zope | 16:04 | |
*** menesis has joined #zope | 16:06 | |
*** TomBlockley is now known as tom_lunch | 16:11 | |
CIA-83 | andreasjung beta.zope.org * r121638 zopeorg.buildout/bin: removed | 16:28 |
CIA-83 | andreasjung beta.zope.org * r121639 zopeorg.buildout/buildout.cfg: updated | 16:28 |
*** dayne has quit IRC | 16:45 | |
*** cwarner has joined #zope | 16:48 | |
*** tom_lunch is now known as Tom_has_noms | 16:58 | |
*** supton has joined #zope | 17:00 | |
*** Wu has joined #zope | 17:06 | |
*** shastry_ has joined #zope | 17:09 | |
*** hever has quit IRC | 17:09 | |
*** shastry has quit IRC | 17:11 | |
*** alga has quit IRC | 17:20 | |
*** hever has joined #zope | 17:31 | |
*** slackrunner has joined #zope | 17:33 | |
*** slackrunner has quit IRC | 17:35 | |
*** hever has quit IRC | 17:35 | |
*** slackrunner has joined #zope | 17:36 | |
*** hever has joined #zope | 17:37 | |
*** Tom_has_noms is now known as Tom_no_noms_now | 17:39 | |
*** shufla has joined #zope | 17:43 | |
shufla | hello | 17:43 |
*** shufla has quit IRC | 17:44 | |
*** Tom_no_noms_now has quit IRC | 17:52 | |
*** ccomb has joined #zope | 17:59 | |
*** daMaestro has joined #zope | 18:00 | |
*** daMaestro has joined #zope | 18:00 | |
*** supton has quit IRC | 18:02 | |
*** J1m has joined #zope | 18:02 | |
*** J1m has quit IRC | 18:02 | |
*** J1m has joined #zope | 18:03 | |
*** J1m has quit IRC | 18:08 | |
*** TomBlockley has joined #zope | 18:17 | |
*** alexpilz has quit IRC | 18:28 | |
*** J1m has joined #zope | 18:30 | |
*** J1m has quit IRC | 18:32 | |
*** agroszer has quit IRC | 18:35 | |
*** TomBlockley has quit IRC | 18:43 | |
*** J1m has joined #zope | 18:43 | |
*** goschtl has quit IRC | 18:47 | |
*** Arfrever has joined #zope | 18:51 | |
*** pjfd4 has joined #zope | 18:52 | |
*** sp0cksbeard has joined #zope | 19:10 | |
sp0cksbeard | mcdonc: I'm looking at wsgi servers to use with one of our applications. do you have any recommendations regarding ones to use? | 19:14 |
sp0cksbeard | J1m mentioned (offline) that you may have looked at some in the past. I read some of the repoze.bfg docs that talk of ZServer | 19:15 |
*** alvaro_o has joined #zope | 19:18 | |
*** alvaro_o has quit IRC | 19:19 | |
*** supton has joined #zope | 19:22 | |
*** Spanktar has joined #zope | 19:29 | |
*** runyaga has joined #zope | 19:32 | |
*** tiwula has joined #zope | 19:34 | |
*** sylvain has quit IRC | 19:34 | |
*** fredvd has quit IRC | 19:46 | |
*** thetet has quit IRC | 19:46 | |
*** evilbungle has quit IRC | 20:02 | |
*** evilbungle has joined #zope | 20:02 | |
*** agroszer has joined #zope | 20:06 | |
CIA-83 | andreasjung beta.zope.org * r121640 zopeorg.buildout/buildout.cfg: Products.PloneHotfix20110720 | 20:25 |
CIA-83 | jens beta.zope.org * r121641 zopeorg.buildout/buildout.cfg: - restrict to localhost | 20:25 |
*** vortec has left #zope | 20:27 | |
*** menesis has quit IRC | 20:29 | |
*** ccomb has quit IRC | 20:32 | |
*** ccomb has joined #zope | 20:33 | |
*** redir has quit IRC | 20:34 | |
*** eperez has quit IRC | 20:37 | |
*** TresEquis has joined #zope | 20:39 | |
*** tisto has quit IRC | 20:39 | |
*** vipod has quit IRC | 20:43 | |
*** m8 has joined #zope | 20:48 | |
*** robohak has joined #zope | 20:49 | |
*** Wu has quit IRC | 20:51 | |
*** giampaolo has quit IRC | 20:56 | |
*** sp0cksbeard has quit IRC | 20:59 | |
*** kleist has quit IRC | 20:59 | |
*** sp0cksbeard has joined #zope | 20:59 | |
*** sp0cksbeard has joined #zope | 21:03 | |
*** agroszer has quit IRC | 21:15 | |
*** evilbungle has quit IRC | 21:21 | |
*** menesis has joined #zope | 21:25 | |
*** evilbungle has joined #zope | 21:34 | |
*** redir has joined #zope | 21:42 | |
*** evilbungle has quit IRC | 21:45 | |
*** webmaven has joined #zope | 21:49 | |
*** avoinea has left #zope | 21:50 | |
*** teix has left #zope | 22:03 | |
*** thetet has joined #zope | 22:23 | |
*** menesis has quit IRC | 22:26 | |
runyaga | TresEquis, ? | 22:29 |
TresEquis | runyaga, hmm? | 22:30 |
runyaga | anyone see zope branch sans acquisition? | 22:30 |
runyaga | any thoughts on zope/cmf w/o acquisition? | 22:30 |
TresEquis | not interesting | 22:31 |
TresEquis | I've seen checkin messages for the branch | 22:31 |
TresEquis | I *like* acquisition | 22:31 |
TresEquis | for what I use it for | 22:31 |
runyaga | __parent__ could not replace it? | 22:32 |
TresEquis | no | 22:32 |
TresEquis | not for what I use it for | 22:32 |
runyaga | what are you using it for? | 22:32 |
TresEquis | to acquire attributes (settings) from parent containers | 22:32 |
TresEquis | I don't see a point in trying to factor it out of Zope2 | 22:32 |
TresEquis | just start over | 22:33 |
runyaga | what about making it explicit? | 22:34 |
davisagli | I was just going to say that. I'd like to see implicit acquisition die in a fire | 22:34 |
TresEquis | what do you think it is costing you? And why do you thing Z2 has any value at all w/o it? | 22:35 |
TresEquis | Stable, backward-compatibility for existing apps *is* the value proposition | 22:35 |
TresEquis | doing anything radically new on top of Z2 is clinically insane | 22:35 |
runyaga | trye | 22:35 |
runyaga | true | 22:35 |
TresEquis | just use pyramid ;) | 22:36 |
davisagli | I guess I should be more specific. I'd like for Plone to have a way to opt out of implicit acquisition. and I'd like to be able to experiment with running Plone on Python interpreters that don't support C extensions. | 22:38 |
runyaga | and that cant happen w/o massive changes | 22:39 |
TresEquis | davisagli, just don't derived from it | 22:42 |
davisagli | TresEquis: if we get Zope2 setting up __parent__ pointers correctly, that's probably sufficient | 22:43 |
TresEquis | you'll have to fix the thousands of places which expect to acquire stuff, but there is no majyk bullet for that | 22:43 |
TresEquis | z2 already does | 22:43 |
davisagli | oh, really? I missed that | 22:43 |
TresEquis | or at least, z2 understands them | 22:43 |
davisagli | that's different | 22:44 |
TresEquis | the container is responsible for setting them | 22:44 |
davisagli | right. and OFS doesn't | 22:44 |
TresEquis | again, you control horizontal and vertical | 22:44 |
TresEquis | Why would you be using OFS? | 22:44 |
TresEquis | Just Say No | 22:44 |
davisagli | TresEquis: well, we do *shrug* | 22:44 |
kosh | I like acquisition a lot | 22:44 |
TresEquis | you already have your own folder implementation: just change it to set __parent__ on items | 22:45 |
kosh | however __parent__ pointers apparently massively slows down copying and exports | 22:45 |
kosh | something to do with how the pickles work | 22:46 |
davisagli | TresEquis: yeah, that might work now that plone.folder is in core. last time I thought about this much was in Plone 3 days. | 22:46 |
kosh | I was reading a thread on that in plone and they undid the changes and now are just setting __parent__ for temp type objects | 22:46 |
davisagli | kosh: the problem was that Zope2 follows parent pointers when exporting ZEXP dumps....so you would end up exporting the entire db when you just wanted one folder. that can probably be resolved though | 22:47 |
kosh | so settings __parent__ by default has some pretty bad consequences | 22:47 |
kosh | davisagli: also does it when copying since copy and pasteing to a different part of a zope site uses the same mechanism | 22:47 |
kosh | however until it is resolved setting __parent__ for all items can be crippling | 22:47 |
*** mitchell` is now known as mitchell`off | 23:02 | |
J1m | TresEquis, do you have any recent opinions on which wsgi servers are best for production? | 23:04 |
TresEquis | mod_wsgi is that we use | 23:04 |
J1m | Thanks. | 23:05 |
*** slackrunner_ has joined #zope | 23:05 | |
J1m | sp0cksbeard, ^^^ :) | 23:06 |
TresEquis | fixing export / import likely requires wrapping __setstate__ to ignore __parent__ attributes | 23:06 |
kosh | I ended up dumping apache a while ago and moved to nginx, no idea how well it does wsgi though | 23:06 |
sp0cksbeard | J1m: , TresEquis: thanks :-) | 23:06 |
kosh | but under load with the proxy balancer in apache I found that it would screw up requests | 23:06 |
kosh | sometimes it would serve the data to the wrong person | 23:07 |
kosh | the bug report for that keeps being opened and closed again | 23:07 |
J1m | ouch | 23:07 |
kosh | it was the weirdest thing but sometimes instead of the html for the page you would get an image back that was supposed to be served to someone else and vice versa | 23:07 |
kosh | so now I run 4 zopes behind nginx and 1 zeo on a rackspace cloud server and that works extremely well | 23:08 |
kosh | what would wsgi change about that? slower, faster etc | 23:08 |
J1m | I don't understand the last comment. We use wsgi for everything now. Either ZTK or bobo. | 23:09 |
*** slackrunner has quit IRC | 23:09 | |
*** slackrunner_ is now known as slackrunner | 23:09 | |
kosh | just wondered what advantage wsgi has over regular zserver and proxy to it | 23:10 |
TresEquis | kosh, zserver does too much for many apps | 23:12 |
TresEquis | wsgi lets you add in just the bits you need via middleware | 23:12 |
TresEquis | and tweak | 23:12 |
kosh | but for a zope 2 app what advantage do I have to switch to wsgi? | 23:12 |
TresEquis | re-use of cool WSGI middleware | 23:12 |
TresEquis | e.g., for debugging | 23:12 |
TresEquis | you can evaluate expressions against stack variables, for instance | 23:13 |
kosh | hmm debugging has not tended to be a problem for me, the error_log seems to cover what I have needed | 23:13 |
TresEquis | z2 becomes "just another app", instead of a "does everything its own, different way" ghetto | 23:14 |
TresEquis | error_log doesn't let you see the values of variables in the stack | 23:15 |
kosh | I don't think I have run into a situation where that would have been useful | 23:16 |
kosh | does sound interesting though | 23:17 |
kosh | I mostly wondered if it was faster or used less memory | 23:18 |
TresEquis | For instance, if your app is read-only, you can remove the transcation layer | 23:18 |
TresEquis | so nothing ever gets commited, perios | 23:18 |
TresEquis | or tweak the number of retries, or the kind of exceptions which cause them | 23:19 |
TresEquis | (e.g., to deal w/ PostGres optimistic concurrency exceptions like ConflictErrors) | 23:19 |
TresEquis | all of that policy is in middleware layers, instead of welded into the server | 23:19 |
kosh | ah | 23:19 |
*** bigkevmcd has quit IRC | 23:20 | |
kosh | I used postgres for a little bit for testing but for my app I wound that zeo + zope was faster, lower memory usage and more reliable then relstorage + zope | 23:20 |
TresEquis | Main advantage of WSGI is sharing tooling w/ non-Zope apps | 23:20 |
kosh | sometimes postgres would even stop working right for some reason | 23:21 |
TresEquis | I wasn't thinking about relstorage: it does the mapping onto ConflictError in its guts | 23:21 |
TresEquis | rather, "native" use of a PG adapter might raise a retry-able exception | 23:22 |
TresEquis | see http://pypi.python.org/pypi/repoze.retry for an example | 23:24 |
*** hever has quit IRC | 23:27 | |
J1m | TresEquis, | 23:27 |
*** hever has joined #zope | 23:27 | |
J1m | TresEquis, do you like any pure-python wsgi servers? | 23:27 |
*** thetet has quit IRC | 23:28 | |
*** avoinea has joined #zope | 23:34 | |
*** avoinea has left #zope | 23:34 | |
kosh | TresEquis: when do you want to auto retry an exception? | 23:38 |
TresEquis | J1m, I use the paster defauilt until I move to mod_wsgi | 23:45 |
TresEquis | kosh, same as retrying a ZODB ConflictError | 23:45 |
TresEquis | PG (in some configurations, at least) has an isomorphic error | 23:46 |
TresEquis | "you lost the optimistic concurrency race" | 23:46 |
kosh | ah I don't seem to get many conflict errors, I worked pretty hard on my apps for that | 23:54 |
kosh | only when I do a single large transaction like db migration stuff on a live server | 23:54 |
kosh | what I want to do is figure out a way with jquery to have it hit the same url over and over again with a progress meter that will do batches and stop when it gets a certain value back | 23:55 |
kosh | so that way if you had 10K items to update you could do it in batches of 100 | 23:55 |
kosh | the problem is you would have a lot of little transaction that way but at least conflicts would be much harder to happen with that | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!