[google-appengine] maximum number of values in all indexes for an entity -what is it?

2011-05-09 Thread lp
hi guys 
i am attempting to understand the limits below.

see http://code.google.com/appengine/docs/java/datastore/overview.html


 Limit  
 
  maximum entity size 1 megabyte  maximum number of values in all indexes 
for an entity (1) 5,000 values  
   
   1. An entity uses one value in an index for every column × every row that 
   refers to the entity, in all indexes. The number of index values for an 
   entity can grow large if an indexed property has multiple values, requiring 
   multiple rows with repeated values in the table.





i am not sure what it means. 

i thought the limit would apply to list properties, but my test of 5002 
elements in a list was successful in the 
dev environment.

any help in clarifying what the limit means is helpful

thanks

-lp

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: maximum number of values in all indexes for an entity -what is it?

2011-05-10 Thread lp
yeap the production server is different to the dev environment.

i am getting the following error in prod when adding a to a list of 2500 to 
the entity.

: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 
1: Too many indexed properties for entity: app: 

however this is well short of the 5000 hard limit advertised.

any idea where the other 2500 indexes are being used?

-lp

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] XMPP and user registration

2011-07-04 Thread lp
hi all

after reading the GAE XMPP API i cant find what i am looking for.

i require my server to register a user with a third party XMPP server.

however i cant see any mechanism of achieving this with/out the GAE XMPP 
API.

Problem 1.
there is no connection/authentication to external XMPP server in API.
Problem 2. 
3rd party XMPP libraries are using TCP sockets will not work in GAE.
 
Question.
How can i register a user from a GAE application?

thanks

-lp

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4IFLHzGk1FUJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How to update my new version of db on server

2008-11-19 Thread lp

Hello

I need advice. I have application version 1, in her database they is
one model:
id1 date_1  date_2  int_1   nameemail   pass
In version 1 I have 6000 input

In version 2 I separated model in two parts
id1 date_1 name email pass
id2 id1 int_1 date_2

I want put my version 2 in production on server to replace version 1

Was is the best (and safe) method?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] appcfg just hangs

2011-03-04 Thread lp
hi all,

i cant deploy my java to appengine due to appcfg hanging on the jsp
compile.
i get now error, just nothing.
i have deployed hundreds of times to appengine but today it just wont
work,
i am losing my mind here.

the javac is set to jdk1.6_06.

appcfg.cmd update c:\src\mingle\geoserver\trunk\target\geoserver-1.0-
SNAPSHOT
Reading application configuration data...
4/03/2011 15:15:00
com.google.apphosting.utils.config.AppEngineWebXmlReader read
AppEngineWebXml
INFO: Successfully processed c:/src/mingle/geoserver/trunk/target/
geoserver-1.0-
SNAPSHOT\WEB-INF/appengine-web.xml
4/03/2011 15:15:00
com.google.apphosting.utils.config.AbstractConfigXmlReader re
adConfigXml
INFO: Successfully processed c:/src/mingle/geoserver/trunk/target/
geoserver-1.0-
SNAPSHOT\WEB-INF/web.xml
4/03/2011 15:15:00
com.google.apphosting.utils.config.AbstractConfigXmlReader re
adConfigXml
INFO: Successfully processed c:/src/mingle/geoserver/trunk/target/
geoserver-1.0-
SNAPSHOT\WEB-INF/cron.xml
4/03/2011 15:15:00 com.google.apphosting.utils.config.IndexesXmlReader
readConfi
gXml
INFO: Successfully processed c:\src\mingle\geoserver\trunk\target
\geoserver-1.0-
SNAPSHOT\WEB-INF\appengine-generated\datastore-indexes-auto.xml
Beginning server interaction for minglegeo...
0% Creating staging directory
5% Scanning for jsp files.
8% Compiling jsp files.

i wait 1 minutes, 10 minutes nothing no error, no errors in logs,
nothing!!!

any ideas to give me sanity pls!

-lp

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] is paid support available?

2011-03-08 Thread lp
hi all,

is paid support for appengine available?

thanks

-lp

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Request CPU variance with 'Always-on'

2011-03-08 Thread lp
hi all,

i have getting large variance in my request and api cpu on a java app.

I have read the countless articles on the topic and the quota doc.

what i am seeing is *not* do to process startup as i have 'Always on'
enabled since there is no more of the ' This request required a
process to startup.

Below are a sample of the logs for the same query within 15 minutes.

2011-03-07 22:07:56.183 /fbconnect/update 200 157ms 518cpu_ms
261api_cpu_ms
2011-03-07 22:06:18.738 /fbconnect/update 200 310ms 611cpu_ms
261api_cpu_ms
2011-03-07 21:56:23.973 /fbconnect/update 200 309ms 518cpu_ms
261api_cpu_ms
2011-03-07 21:51:55.193 /fbconnect/update 200 663ms 985cpu_ms
261api_cpu_ms
2011-03-07 21:50:30.879 /fbconnect/update 200 157ms 448cpu_ms
261api_cpu_ms

2011-03-07 23:06:10.153 /fbconnect/update?id=37002 200 326ms
1862cpu_ms 1652api_cpu_ms
2011-03-07 23:02:28.721 /fbconnect/update?id=37002 200 347ms
1842cpu_ms 1585api_cpu_ms
2011-03-07 23:02:28.675 /fbconnect/update?id=37002 200 217ms 506cpu_ms
156api_cpu_ms
2011-03-07 22:53:08.199 /fbconnect/update?id=37002 200 737ms
2135cpu_ms 1585api_cpu_ms 2kb Mingle/1.1.1.3 CFNetwork/485.12.7

what is going on is my app really written that dodgy?
the same query is being executed each time but the results have an
enormous variance on the elapsed time and request cpu.

I have profiled my code and i can see where the variations are
happening but it is in JPA calls like em.find, em.merge which are
fairly basic stuff.

Q1.what is causing this variance... my code or appengine accounting?

any help is most welcome.



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: High CPU Warning - Is it really an issue?

2011-03-11 Thread lp
> So my question is, should I be concerned at the high CPU warnings or
> is it something most people experience?


i am getting similar CPU times and very similar elapsed times as u.

but i get large variation in my CPU times for no apparent reason
( same query, params).
i am using 'Always-on' so it cant be warm up request.

all that i am concerned about is my elapsed time and my quota cost for
scalability. so far so it can scale.


-lp

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.