Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Persevere on Google App Engine
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
  9 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
 
Kris Zyp  
View profile  
(2 users)  More options Apr 10, 9:57 am
From: Kris Zyp <kris...@gmail.com>
Date: Fri, 10 Apr 2009 07:57:01 -0600
Local: Fri, Apr 10 2009 9:57 am
Subject: Persevere on Google App Engine
With Google's announcement of support for Java in their App Engine,
Persevere now has the potential to run on GAE. I have reviewed the GAE
docs, and it doesn't look like there would be any serious problems with
running Persevere. However, GAE does prevent file write access, so
Persevere's default storage engine could not run, but within the context
GAE, I would think it would be preferable to use Google's provided data
store anyway (the BigTable database). Therefore, the main effort that
would be required would be writing a data source adapter for Google's
data store API for their database. The BigTable database would actually
fit very nicely with Persevere, since I believe it supports very dynamic
table structures with expando properties on objects. One would probably
be able to retain pretty comprehensive support for Persevere's broad
range of persistence capabilities on GAE.

Support for GAE is therefore something I would really like to see added
to Persevere. Besides noting that this is on the roadmap, I also wanted
to see if anyone was interested in working on this. Creating data source
adapters is a relatively self-contained project (in comparison to other
feature additions), so it might be a reasonable, fun project. If not, I
do still plan on adding support for GAE, albeit it will probably remain
lower priority than bug fixes/stabilization, and some of the more
immediate efforts.

Thanks,

--
Kris Zyp
SitePen
(503) 806-1841
http://sitepen.com


    Reply to author    Forward  
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.
Peter Svensson  
View profile  
(1 user)  More options Apr 10, 10:29 am
From: Peter Svensson <psvens...@gmail.com>
Date: Fri, 10 Apr 2009 16:29:23 +0200
Local: Fri, Apr 10 2009 10:29 am
Subject: Re: [persevere] Persevere on Google App Engine

This is very good news. I have quite a lot to do, but a data source adapter
would be something that would benefit essentially all SSJS projects, so
maybe we could form a joint team? I'll help as much as I can.
Cheers,
PS


    Reply to author    Forward  
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.
Rav  
View profile  
 More options May 26, 11:30 am
From: Rav <ravsob...@gmail.com>
Date: Tue, 26 May 2009 08:30:58 -0700 (PDT)
Local: Tues, May 26 2009 11:30 am
Subject: Re: Persevere on Google App Engine
Great idea. I'd like to view perservere on app engine.

    Reply to author    Forward  
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.
verlsnake  
View profile  
 More options May 26, 12:09 pm
From: verlsnake <kaitisch...@kaitischler.name>
Date: Tue, 26 May 2009 09:09:26 -0700 (PDT)
Local: Tues, May 26 2009 12:09 pm
Subject: Re: Persevere on Google App Engine
When Persevere ran on GAE, what about the usual suspects:
- ACID compliancy
- Cascading deletes
- Referential integrity: For instance when a product is deleted, all
orders containing
  this product are deleted/changed, too ...

On May 26, 5:30 pm, Rav <ravsob...@gmail.com> wrote:


    Reply to author    Forward  
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.
sleepnova  
View profile   Translate to Translated (View Original)
 More options Jun 26, 5:50 am
From: sleepnova <wanpee...@gmail.com>
Date: Fri, 26 Jun 2009 02:50:00 -0700 (PDT)
Subject: Re: Persevere on Google App Engine
Hello, is there any progress? I'd like to join this work.

On 5月26日, 下午11時30分, Rav <ravsob...@gmail.com> wrote:


    Reply to author    Forward  
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.
Kris Zyp  
View profile   Translate to Translated (View Original)
 More options Jun 26, 10:49 am
From: Kris Zyp <kris...@gmail.com>
Date: Fri, 26 Jun 2009 08:49:51 -0600
Local: Fri, Jun 26 2009 10:49 am
Subject: Re: [persevere] Re: Persevere on Google App Engine
I have not been working on it, because I have been focusing on finishing
stability work and addressing other issues. That would be great if you
would like to help though. Probably the primary effort towards making
Persevere work on GAE is building data source adapter to GAE's BigTable
interface. We currently have a data source adapter for SQL databases
(org.persvr.datasource.DatabaseTableDataSource), but they rely on the
JDBC interface. So they would have to be converted to using GAE's API.

BTW, has anyone actually tried to startup Persevere on GAE? There will
probably be some other minor issues, like I think we will to need to
make sure the task timer (used for setTimeout, setInterval, etc.)
gracefully fails, since it wouldn't be allowed to run in GAE.
Kris


    Reply to author    Forward  
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.
sleepnova  
View profile   Translate to Translated (View Original)
 More options Jun 26, 11:57 am
From: sleepnova <wanpee...@gmail.com>
Date: Fri, 26 Jun 2009 08:57:23 -0700 (PDT)
Local: Fri, Jun 26 2009 11:57 am
Subject: Re: Persevere on Google App Engine
On 6月26日, 下午10時49分, Kris Zyp <kris...@gmail.com> wrote:

> I have not been working on it, because I have been focusing on finishing
> stability work and addressing other issues. That would be great if you
> would like to help though. Probably the primary effort towards making
> Persevere work on GAE is building data source adapter to GAE's BigTable
> interface. We currently have a data source adapter for SQL databases
> (org.persvr.datasource.DatabaseTableDataSource), but they rely on the
> JDBC interface. So they would have to be converted to using GAE's API.

Thanks, I'm digging into it to see if there is a reasonable way to
convert it.

> BTW, has anyone actually tried to startup Persevere on GAE? There will
> probably be some other minor issues, like I think we will to need to
> make sure the task timer (used for setTimeout, setInterval, etc.)
> gracefully fails, since it wouldn't be allowed to run in GAE.
> Kris

I didn't try that yet but, as you say, due to the permission
configuration of GAE, any thing involved Thread and arbitrary file IO
will be denied.

Another thing to ask, if there is a way to test Persevere DataSource
API without starting a Persevere instance?


    Reply to author    Forward  
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.
Kris Zyp  
View profile   Translate to Translated (View Original)
 More options Jun 26, 12:06 pm
From: Kris Zyp <kris...@gmail.com>
Date: Fri, 26 Jun 2009 10:06:41 -0600
Local: Fri, Jun 26 2009 12:06 pm
Subject: Re: [persevere] Re: Persevere on Google App Engine
Also, it is worth noting that I would like to look at providing an
alternate JavaScript API for defining data sources for Persevere in the
future. The current datasource API plugin is built for data sources
coded in Java (primarily so that data sources can be highly performant),
but it would be nice to make it easier for devs to stay in JS
end-to-end. If you would like to help define such an API, you could
certainly look at creating a BigTable/GQL data source, albeit that data
source will still entail interaction with the BigTable Java APIs (which
can be done through JS).

Exactly. The timer uses threads, and so I think I could just catch the
error and have setTimeouts fail when running in GAE. File IO means the
default DB (JavaScriptDB) can't be used, a BigTable data source adapter
will have to be used for all the storage in Persevere (which is kind of
the point of GAE).

> Another thing to ask, if there is a way to test Persevere DataSource
> API without starting a Persevere instance?

No, I haven't created any type of test harness for doing that.

Kris


    Reply to author    Forward  
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.
sleepy  
View profile  
 More options Jun 26, 1:27 pm
From: sleepy <wanpee...@gmail.com>
Date: Sat, 27 Jun 2009 01:27:30 +0800
Local: Fri, Jun 26 2009 1:27 pm
Subject: Re: [persevere] Re: Persevere on Google App Engine

Yes, that is also what I'm thinking about. If you don't mind, please point
out what layer or where can I looking to implement or provide alternative
way to it, thanks!

2009/6/27 Kris Zyp <kris...@gmail.com>

 It seems that I will have a hard time start and restart in order to test
and debug it. -.-


    Reply to author    Forward  
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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google