Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Google App Engine backend
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Carlos de la Guardia  
View profile  
 More options Apr 2 2009, 2:06 pm
From: Carlos de la Guardia <carlos.delaguar...@gmail.com>
Date: Thu, 2 Apr 2009 12:06:47 -0600
Local: Thurs, Apr 2 2009 2:06 pm
Subject: Google App Engine backend

Hello,

Just a heads up. I checked in my GAE content mirror backend under the name
mirror.gae. Installation instructions are on install.txt.

Carlos de la Guardia


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nate Aune  
View profile  
 More options Apr 2 2009, 4:39 pm
From: Nate Aune <na...@jazkarta.com>
Date: Thu, 2 Apr 2009 16:39:21 -0400
Local: Thurs, Apr 2 2009 4:39 pm
Subject: Re: Google App Engine backend

cool!  i'm looking forward to try it out.   are you back in mexico now?
nate

On Thu, Apr 2, 2009 at 2:06 PM, Carlos de la Guardia <

carlos.delaguar...@gmail.com> wrote:
> Hello,

> Just a heads up. I checked in my GAE content mirror backend under the name
> mirror.gae. Installation instructions are on install.txt.

> Carlos de la Guardia

--
Nate Aune - na...@jazkarta.com
http://nateaune.com (personal blog)
http://jazkarta.com (open source technology solutions)
http://twitter.com/natea (daily updates)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kapil Thangavelu  
View profile  
 More options Apr 2 2009, 8:49 pm
From: Kapil Thangavelu <kap...@gmail.com>
Date: Thu, 2 Apr 2009 20:49:54 -0400
Local: Thurs, Apr 2 2009 8:49 pm
Subject: Re: Google App Engine backend

Hi Carlos,
i'm glad to see interest on gae front and backends. one comment on version
control usage,  mirror.gae is effectively a branch/fork of contentmirror. it
would be nicer if you could make it as one, ie copy the trunk as mirror.gae,
and check in your changes. it makes it easier to merge from the trunk as
needed, and to make changes easier to diff, importing it effectively removes
all history from the code base.

as we've already discussed in person, i think this is the wrong approach to
gae integration. sdk desktop integration isn't particularly useful in and of
itself, its not a scalable content store, and never was meant to be. afaics
the primary sdk bulk mechanism of transfering content  directly to google is
csv upload.  pushing data directly from plone to google directly from a
synchronous content mirror, sounds like a recipe for disaster, its a slow
network transfer of object serialization that blocks the request.

i think a better approach to contentmirror appengine intergration and a more
generically useful bit would be to define an rdbms sync to a gae datastore.
it would need a schema mapping, networking preferrably twisted  or threaded
base ( concurrent datatransfers) and just sync the bits as directed,
defining index or sync state columns as needed in the mapping. or for the
impatient ;-) dumping the rdbms to cvs and using the sdk included bulk load
tools in a cron job.

all that said, if your interested in this approach, feel free to keep
developing it, i could be wrong. i think this approach is definitely more
feasible for transactional integration with gae when there is a
contentmirror async operation processing mode.  even so i'd still clean up
the code to be a extension instead of a branch of the codebase. i'm
definitely curious in fixing what would help that. afaics you should just be
able to make an operation factory subclass, and then use all the same event
subscribers, and event coalescence, with an extension provided serialization
/ transform.

cheers,

kapil

On Thu, Apr 2, 2009 at 2:06 PM, Carlos de la Guardia <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos de la Guardia  
View profile  
 More options Apr 2 2009, 10:50 pm
From: Carlos de la Guardia <carlos.delaguar...@gmail.com>
Date: Thu, 2 Apr 2009 20:50:40 -0600
Local: Thurs, Apr 2 2009 10:50 pm
Subject: Re: Google App Engine backend

Hey,

On Thu, Apr 2, 2009 at 6:49 PM, Kapil Thangavelu <kap...@gmail.com> wrote:
> Hi Carlos,
> i'm glad to see interest on gae front and backends. one comment on version
> control usage,  mirror.gae is effectively a branch/fork of contentmirror. it
> would be nicer if you could make it as one, ie copy the trunk as mirror.gae,
> and check in your changes. it makes it easier to merge from the trunk as
> needed, and to make changes easier to diff, importing it effectively removes
> all history from the code base.

I understand, sorry about the breach of etiquette. One reason I just
imported now was to have something up sooner because the guys who saw it
working wanted to try it out. I'll do what you ask when I get a chance next
week.

> as we've already discussed in person, i think this is the wrong approach to
> gae integration. sdk desktop integration isn't particularly useful in and of
> itself, its not a scalable content store, and never was meant to be. afaics
> the primary sdk bulk mechanism of transfering content  directly to google is
> csv upload.  pushing data directly from plone to google directly from a
> synchronous content mirror, sounds like a recipe for disaster, its a slow
> network transfer of object serialization that blocks the request.

Don't think I take this too seriously. Part of my motivation is I needed to
get into GAE development for business reasons and this project  seemed a
nice way to do it. I also took the chance to learn about creating zcml
directives and some other ZCA stuff (thanks to your code!). I'm sure if I
ever want to do it in a production setting, I'll have to rethink the whole
strategy. I also think GAE is a nice poster boy for Plone and content
mirror, even if it's not for real use cases. Ilia was the only front end
builder that had no previous Plone experience and yet he found the project
appealing.

I also wanted to create an extension,  but it was a bit easier to take out
the db code and make this work. I really want to be able to plug other
backends in a more generic way, but there was only so much time available at
the sprint ;) When I make the branch properly it will be more clear what I
needed to change and that will help us see where we can make stuff a bit
more generic.

Thanks for all the work you've done with content mirror. I really like the
concepts behind it.

Carlos de la Guardia


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carlos de la Guardia  
View profile  
 More options Apr 7 2009, 12:50 am
From: Carlos de la Guardia <carlos.delaguar...@gmail.com>
Date: Mon, 6 Apr 2009 23:50:48 -0500
Local: Tues, Apr 7 2009 12:50 am
Subject: Re: Google App Engine backend

Hi Kapil,

I did as you asked and deleted my import to replace it with a branch. You
can now easily see what I changed using diff.

Thanks,

Carlos de la Guardia


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kapil Thangavelu  
View profile  
 More options Apr 8 2009, 2:33 pm
From: Kapil Thangavelu <kap...@gmail.com>
Date: Wed, 8 Apr 2009 14:33:31 -0400
Local: Wed, Apr 8 2009 2:33 pm
Subject: Re: Google App Engine backend

thanks carlos. that's great.. incidentally i started looking into the bulk
uploader in appengine sdk, and its got a quite a lot of work in it and
survives interupts, so for apps looking to transfer content data from a
contentmirror db, i'd suggest using the included sdk tools at least for an
initial bulk upload via csv dump of database tables.

cheers,

kapil

On Tue, Apr 7, 2009 at 12:50 AM, Carlos de la Guardia <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »