Hi,
The server pack all "raw" every 50ms. So if 2 raws are sent within this delay, they are packed in one request. Also you can achieve the same effect on the client-send-side by enabling the "cycledStack". If a client are sending 2 command within a defined period, all the requests are packed in a single commands array. See : http://www.ape-project.org/docs/client/core/request.cycledstack.add.html Thanks, Anthony On Mon, 7 May 2012 17:25:08 -0400, Louis Charette wrote: > Salut, > Pour la 1ère question, je ne suis pas sûr à 100%, mais je dirait que deux "requêtes" sont envoyé. Mais je met requête entre guillemets parce que, côté APE, ça ne changera pas grand chose niveau bande passante/ressources. Je ne suis pas un expert dans cet aspect de APE. > Pour la 2e question, tu peux regarder cette page pour le event "deluser" ou peut-être "left": > http://www.ape-project.org/docs/server/events/left.html [3] > http://www.ape-project.org/docs/server/events/deluser.html [4] > Le fait que MySQL ne fonctionne pas est un problème connus. Fait une recherche sur le groupe google, tu trouveras peut-être réponse à ta question. De mon côté, je trouve ça plus facile de faire des requêtes HTTP ou AJAX côté client. Je peux alors utiliser mon framework PHP déjà en place. > ---- > Hi, > For the first question, I'm not sure, but I would say two "request". Still, "request" may not be exact, I'm not an expert in this side of APE, but there won't be any difference regarding brandwidth and/or ressources. > For the second question, have a look at the "deluser" and "left" event in the doc: > > http://www.ape-project.org/docs/server/events/left.html [5] > http://www.ape-project.org/docs/server/events/deluser.html [6] > MySQL support is a know bug. You can check this google group, you might find an answer. Still, I prefer using HTTP requests or AJAX request client side. Then I can use the framework and settings of my CMS. > - Louis > > Le 2012-05-06 à 16:25, Auryn a écrit : > >> Hi everybody ! =D >> >> I've an APE Server for my MMO Project. >> >> I've two question on that : >> - If two APE users (or more) send a request on APE which send a raw at >> all users, the server send the two (or more) raw in one ajax request >> or in two ajax request ? :o >> - I'm trying to uptdate the positions of my users directly on APE, and >> save the positions in a MySQL Base by a HTTP Request (because MySQL >> don't work, i don't know why... :/), only when the user leave the APE >> Server. (Before his destruction.) How can I do ? :o >> >> Sorry for my bad english, I'm french and I hope that anyone can help >> me. =D >> >> Thanks a lot ! :) >> >> -- >> You received this message because you are subscribed to the Google >> Groups "APE Project" group. >> To post to this group, send email to [email protected] [1] >> To unsubscribe from this group, send email to >> [email protected] [2] >> For more options, visit this group at >> http://groups.google.com/group/ape-project?hl=en >> --- >> APE Project (Ajax Push Engine) >> Official website : http://www.ape-project.org/ >> Git Hub : http://github.com/APE-Project/ > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en [7] > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ [8] > Git Hub : http://github.com/APE-Project/ [9] Links: ------ [1] mailto:[email protected] [2] mailto:[email protected] [3] http://www.ape-project.org/docs/server/events/left.html [4] http://www.ape-project.org/docs/server/events/deluser.html [5] http://www.ape-project.org/docs/server/events/left.html [6] http://www.ape-project.org/docs/server/events/deluser.html [7] http://groups.google.com/group/ape-project?hl=en [8] http://www.ape-project.org/ [9] http://github.com/APE-Project/ -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
