I'm using a combination of Spring, Objectify and Spring Security. App
spins up in 20 secs. Could be a lot faster if I was not using
classpath scanning. But with always up and correct warmup request
config, anything under 30 secs will do just fine.
What you want is to get sub 10 secs startup in dev
Hello all and thank you for reading this.
I am using JPA. I have implemented free text search using list
properties (Set).
Using the same datastore content (local_db.bin), my free text search
is working fine when I run the app, but returns nothing if I run the
query in unit tests.
I am using Loc
I have a Spring app with a pretty full stack currently being developed
on gae. I quickly hit the 30 seconds limit at startup, hence the app
would no longer even boot. I removed jpa in favor of Objectify,
removed all the transaction management as I don't use entity groups,
removed some features that
As you know, you can deploy many versions of an app for the same app
id. There is nothing that says it has to be the same app. Just deploy
another app that does your weekly updates using another version
string. Each version, even though it may not be the default one, gets
its own url. You just need
Remap these complex types onto native Java types while copying your
entities onto your dtos... or are you sending your entities to the
client directly?
Usually, you will not want to send the entities to the client as it
exposes your data model directly. You should create your service layer
so as t
Having worked for a SaaS company with 500K users and +500M items in
its database, the cost of just managing your infrastructure are
enormous.
Recently, I have been working on two unrelated projects, but both of
pretty similar sizes. One on AWS, the other on GAE.
AWS is rented virtualized servers
I created a datastore manipulation service that can execute, using the
task queue service, pieces of code found in 'plugins'. I have plugins
for the initial sourcing and some others to create test and demo
data.
I favor this approach over the bulk uploader as you need to also
prepare for the task
Something like the following will setup the datastore helper and
create the datastore-indexes-auto.xml:
LocalDatastoreServiceTestConfig dsConfig = new
LocalDatastoreServiceTestConfig();
File location = new File("war/WEB-INF/appengine-generated/
local_db.bin");
dsConfig.s
>From my reading and experience, the type of collection type used will
determine if order is preserved. To maintain the ordering, a system
field is added to the values. This may impact the CUD operations
performance.
I don't need to keep the order in my current app so I am using Set for
my proper
Just remove the protocol:ip:port prefix before you store the serving
url.
On Nov 18, 3:03 pm, andrew wrote:
> I am having issues getting a url for an image to be served from the
> ImageService when running locally on the dev server.
>
> The code (which works fine when deployed) is this:
>
>
st to trigger all auto-index because my app has many
> possible combinations of query filters.
>
> Thanks!
>
> On Nov 11, 11:24 am, Starman wrote:
>
>
>
> > Something like the following will setup the datastore helper and
> > create the datastore
What I do is remove the prot:ip:port prefix if the ip is 0.0.0.0
before I store the url. In dev, a relative path is OK. In prod, I
store exactly what is returned.
R.
On Oct 31, 5:45 am, pac wrote:
> I have gone through your sample code few times, could not find what I
> am missing.
> What I trie
rry" wrote:
>
> > >Great tip but it's not working. Running the test updates the mod date
> > >of local_db.bin but not datastore-indexes-auto.xml.
>
> > >I'm also configuring a LocalUserServiceTestConfig for a logged in
> > >user, but that d
I was using a servlet mapping to make my url nicer. Instead of
appid.appspot.com/MyApp.jsp, I had appid.appspot.com/servletname. And
I was using the jsp-file tag to map the servlet to the jsp file.
I have commented out the servlet definition and just let the jsp auto
mapping do its thing. And ever
BlobInfoFactory.queryBlobInfos().
Iterate on the BlobInfo returned and try to find the blobkey
references in your entity store. If you can't, it is safe to delete
that blob.
If the blobkey reference field in your entities is not indexed, you'll
have to do a full scan of your datastore entities. I
15 matches
Mail list logo