JeuWeb - Crée ton jeu par navigateur
Opérations en Hors ligne - Version imprimable

+- JeuWeb - Crée ton jeu par navigateur (https://jeuweb.org)
+-- Forum : Discussions, Aide, Ressources... (https://jeuweb.org/forumdisplay.php?fid=38)
+--- Forum : Programmation, infrastructure (https://jeuweb.org/forumdisplay.php?fid=51)
+--- Sujet : Opérations en Hors ligne (/showthread.php?tid=1357)

Pages : 1 2 3 4 5 6 7


RE: Opérations en Hors ligne - niahoo - 01-05-2011

J'hésite, j'étais sur ma version de la bataille navale et même si c'est pas super passionnant j'ai bien envie de la finir.


RE: Opérations en Hors ligne - Sephi-Chan - 01-05-2011

Je suis en train d'en développer une avec NodeJS et Redis.
Ça avance bien même si je n'utilise pour le moment aucun thread/processus externe.

Le premier jet n'aura pas besoin de scaler de la mort qui tue. On communiquera avec des requêtes HTTP et le serveur enverra à son tour une requête HTTP (à une URL de callback donnée) quand la production d'un élément sera terminée.


RE: Opérations en Hors ligne - atra27 - 01-05-2011

Oui il faut faire simple!

Un script avec une interface socket/http pour ajouter/suprimmer des actions, ainsi qu'une url de callback.

J'avais pensé a creer une classe pour configurer le cron pour executer un script donné a l'heure voulue, mais y a pas de commandes simples pour ajouter/suprimmer des taches (sa passe forcément par le fichier du cron apparemment)

Bref c'etait trop complexe de gerer ça... je retenterai un peu plus quand je m'y connaitrais mieux en linux Big Grin


RE: Opérations en Hors ligne - atra27 - 02-05-2011

Bon finalement je vais tenter de faire ça en C++

Un bon petit daemon qui exécute une commande a l'heure prévue (qui va alors se charger d'effectuer la construction du bâtiment, ou autre chose!)

Pour la communication j'ai choisi les sockets, car ils sont dispo sur tous les langages, ainsi qu'une structure de requête a la MySQL (commandes genre CREATE args, DELETE args, SERVER INFO, SERVER STOP, etc)

Hélas, sa restera réservé aux possesseur d'un dédié (virtuel ou non)...

Pour le moment, la partie création du daemon (création processus, puis libération du terminal), gestion des sockets et gestion des commandes fonctionne.
Reste plus qu'a s'attaquer au probléme principal: effectuer les taches a l'heure prévue! Big Grin

Sa implique bien sur de conserver les prochaines taches en mémoire, pour être prêt a les exécuter, tout en gardant un fichier a jour pour les autres taches et pour récuperer d'un plantage Big Grin
Le fichier et les taches en mémoires doivent être synchronisés bien sur Smile

Bref, je vous tiens au courant! Si sa intéresse quelqu'un... Je veux bien de l'aide pour créer des libs d'interaction dans différents langages...
Si sa intéresse personne bah... tampis! sa m'aura au moins donné l'occasion de pratiquer autre chose que du php!


RE: Opérations en Hors ligne - Sephi-Chan - 02-05-2011

De mon côté j'ai un prototype fonctionnel. Il notifie bien les constructions terminées.
Je me bats un peu avec NodeJS et HTTP car la notification est faîte sous forme de requête POST et le body de cette requête (qui contient du JSON) est "parasité" par un peu de contenu supplémentaire dont j'ignore l'origine.

Comme quoi c'est pas sur les choses intéressantes qu'on perd du temps…


Sephi-Chan


RE: Opérations en Hors ligne - niahoo - 02-05-2011

Je suis en train d'arriver à un prototype également,

j'ai un peu la flemme de faire les callbacks par HTTP parce que je ne m'en servirai pas mais je pense le faire quand même pour m'entrainer.

j'ai mis le code à https://github.com/niahoo/prodlines

faut juste faire
make ; ./start.sh

mais bon pour le moment l'appli est cassée

Sephi tu as un dépôt quelque part ?


RE: Opérations en Hors ligne - Sephi-Chan - 02-05-2011

J'ai mis le tout premier prototype sur un Gist : https://gist.github.com/952396
Je passerais sur un Github classique ensuite.


RE: Opérations en Hors ligne - Sephi-Chan - 03-05-2011

J'ai un script tester.sh :


curl -d "identifier=aaa" "http://localhost:1808/queues"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=bbb" "http://localhost:1808/queues"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/bbb/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=flamer&duration=3" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/aaa/items"
curl -d "identifier=ccc" "http://localhost:1808/queues"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/ccc/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/ccc/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/ccc/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/ccc/items"
curl -d "identifier=marine&duration=2" "http://localhost:1808/queues/ccc/items"

Quand je l'exécute, je reçois la sortie suivante :


{"identifier":"aaa","status":"idle"}
{"queue_status":"idle","item_uuid":"4d620814-9640-4864-9d14-a8a802807294"}
{"queue_status":"active","item_uuid":"79de2009-2961-4203-ab83-35b759df1899"}
{"queue_status":"active","item_uuid":"07ff05cd-5e62-4940-bdc1-749f375e21d9"}
{"queue_status":"active","item_uuid":"3db79e36-f0ec-46e9-a079-c55729a36d57"}
{"queue_status":"active","item_uuid":"a24aa051-e073-4dd3-9c58-bc53600a5c98"}
{"queue_status":"active","item_uuid":"d49b0bd5-f55b-4255-be47-184f7fcf479f"}
{"queue_status":"active","item_uuid":"ab167585-e8bf-48c2-932d-12ed63453286"}
{"queue_status":"active","item_uuid":"fd926e00-f7be-4517-9c4f-94ffe7cc9c1f"}
{"queue_status":"active","item_uuid":"47fac7e8-3ec6-49de-a51e-398a7835325c"}
{"queue_status":"active","item_uuid":"0b7cd1d2-d9d5-44b5-96f1-13b9f7c03117"}
{"queue_status":"active","item_uuid":"609235da-3bf4-49d5-96d4-891d972abfcb"}
{"identifier":"bbb","status":"idle"}
{"queue_status":"active","item_uuid":"97e53704-9e31-4325-b99b-d3d7821292e4"}
{"queue_status":"active","item_uuid":"bcfce9d7-4e95-462d-852f-4b328e686091"}
{"queue_status":"active","item_uuid":"550caac8-666a-4f29-a41c-adaa833240be"}
{"queue_status":"active","item_uuid":"8923bc33-6733-4a98-89a1-ceca35b7f931"}
{"queue_status":"idle","item_uuid":"90d211fd-817e-4f0d-98c5-224b43373d06"}
{"queue_status":"active","item_uuid":"dc2a1d48-670c-4305-859c-84425f064a91"}
{"queue_status":"active","item_uuid":"4dfccddc-9a06-4b51-b3d2-34a3a105dba9"}
{"queue_status":"active","item_uuid":"82fb1ae2-42b3-4ba9-96a7-065432bf4a58"}
{"queue_status":"active","item_uuid":"ead85e0d-7eb9-47b3-ab06-10a40950d935"}
{"queue_status":"active","item_uuid":"d7c52922-f6cd-49c7-9d6d-e48771f7ef5e"}
{"queue_status":"active","item_uuid":"11fef346-7f39-4d1e-808f-ce6657bbd6e6"}
{"queue_status":"active","item_uuid":"33a1d0ba-ee99-4408-8466-a857cde2a00a"}
{"queue_status":"active","item_uuid":"ebf258ca-d734-4f8f-af93-ad1b84229485"}
{"queue_status":"active","item_uuid":"11e5cb36-ae12-4a46-bcdf-1e29cacc0a1a"}
{"queue_status":"active","item_uuid":"7b6db1c4-b809-4646-8e37-27a92947ef99"}
{"queue_status":"active","item_uuid":"8dbb477d-eca0-4f75-9370-f155782652c9"}
{"queue_status":"active","item_uuid":"3a2a1dc2-5caf-45a6-9d01-b9227e802a35"}
{"queue_status":"active","item_uuid":"74b7d517-daae-4cd8-b304-248b1d994b1b"}
{"queue_status":"active","item_uuid":"07b9e076-1dfc-495b-a47b-71eee5dc928f"}
{"queue_status":"active","item_uuid":"ab6b238f-f7e7-4159-b7a5-097e4f450375"}
{"queue_status":"active","item_uuid":"2f1ee96a-ac84-4a17-b196-59a66c9dce7e"}
{"queue_status":"active","item_uuid":"9e08bd96-cc01-4258-85f8-c49eaa5977ab"}
{"queue_status":"active","item_uuid":"78a5f5fd-ff7e-420d-8dbc-fab0905dc4f0"}
{"queue_status":"active","item_uuid":"24214035-5f25-4ddf-8f9b-173c11064931"}
{"queue_status":"active","item_uuid":"71053ee8-1df6-4418-81e4-78d7e075fe54"}
{"queue_status":"active","item_uuid":"36355135-72eb-496b-8314-0d21b64a1bb2"}
{"queue_status":"active","item_uuid":"588bfbe8-a299-4bd8-bb7e-ca91ac9bc8ad"}
{"queue_status":"active","item_uuid":"90e3798f-8f64-4eeb-8585-b1a8189e6b2a"}
{"queue_status":"active","item_uuid":"3b53cf5d-da39-4c4d-8cc6-8c99e887a16c"}
{"queue_status":"active","item_uuid":"d8bd3815-c2d2-441a-9f42-92d34db2b18f"}
{"queue_status":"active","item_uuid":"4eb0cec2-480c-4f0f-84a8-907a00b24f4b"}
{"identifier":"ccc","status":"idle"}
{"queue_status":"idle","item_uuid":"033fd12d-effa-4476-9e76-80a069951e57"}
{"queue_status":"active","item_uuid":"216f398d-10b3-4eaf-836b-ad424734f8bf"}
{"queue_status":"active","item_uuid":"823bf29c-b191-434c-8540-54e837f6c8ad"}
{"queue_status":"active","item_uuid":"d85e7886-2926-4fbe-bfbc-87eb2265bfc3"}
{"queue_status":"active","item_uuid":"f2cc1d5f-178b-47e6-9410-a4035c8a7721"}

Et le log de mon serveur :


Start production of item 4d620814-9640-4864-9d14-a8a802807294 on queue aaa at Tue May 03 2011 10:48:25 GMT+0200 (CEST).
Start production of item 90d211fd-817e-4f0d-98c5-224b43373d06 on queue bbb at Tue May 03 2011 10:48:25 GMT+0200 (CEST).
Start production of item 033fd12d-effa-4476-9e76-80a069951e57 on queue ccc at Tue May 03 2011 10:48:25 GMT+0200 (CEST).
Start production of item 79de2009-2961-4203-ab83-35b759df1899 on queue aaa at Tue May 03 2011 10:48:27 GMT+0200 (CEST).
Start production of item dc2a1d48-670c-4305-859c-84425f064a91 on queue bbb at Tue May 03 2011 10:48:27 GMT+0200 (CEST).
Start production of item 216f398d-10b3-4eaf-836b-ad424734f8bf on queue ccc at Tue May 03 2011 10:48:27 GMT+0200 (CEST).
Start production of item 4dfccddc-9a06-4b51-b3d2-34a3a105dba9 on queue bbb at Tue May 03 2011 10:48:29 GMT+0200 (CEST).
Start production of item 823bf29c-b191-434c-8540-54e837f6c8ad on queue ccc at Tue May 03 2011 10:48:29 GMT+0200 (CEST).
Start production of item 07ff05cd-5e62-4940-bdc1-749f375e21d9 on queue aaa at Tue May 03 2011 10:48:30 GMT+0200 (CEST).
Start production of item d85e7886-2926-4fbe-bfbc-87eb2265bfc3 on queue ccc at Tue May 03 2011 10:48:31 GMT+0200 (CEST).
Start production of item 3db79e36-f0ec-46e9-a079-c55729a36d57 on queue aaa at Tue May 03 2011 10:48:32 GMT+0200 (CEST).
Start production of item 82fb1ae2-42b3-4ba9-96a7-065432bf4a58 on queue bbb at Tue May 03 2011 10:48:32 GMT+0200 (CEST).
Start production of item f2cc1d5f-178b-47e6-9410-a4035c8a7721 on queue ccc at Tue May 03 2011 10:48:33 GMT+0200 (CEST).
Start production of item a24aa051-e073-4dd3-9c58-bc53600a5c98 on queue aaa at Tue May 03 2011 10:48:34 GMT+0200 (CEST).
Start production of item ead85e0d-7eb9-47b3-ab06-10a40950d935 on queue bbb at Tue May 03 2011 10:48:34 GMT+0200 (CEST).
Queue ccc is now empty.
Start production of item d49b0bd5-f55b-4255-be47-184f7fcf479f on queue aaa at Tue May 03 2011 10:48:36 GMT+0200 (CEST).
Start production of item d7c52922-f6cd-49c7-9d6d-e48771f7ef5e on queue bbb at Tue May 03 2011 10:48:37 GMT+0200 (CEST).
Start production of item ab167585-e8bf-48c2-932d-12ed63453286 on queue aaa at Tue May 03 2011 10:48:39 GMT+0200 (CEST).
Start production of item 11fef346-7f39-4d1e-808f-ce6657bbd6e6 on queue bbb at Tue May 03 2011 10:48:39 GMT+0200 (CEST).
Start production of item fd926e00-f7be-4517-9c4f-94ffe7cc9c1f on queue aaa at Tue May 03 2011 10:48:41 GMT+0200 (CEST).
Start production of item 33a1d0ba-ee99-4408-8466-a857cde2a00a on queue bbb at Tue May 03 2011 10:48:41 GMT+0200 (CEST).
Start production of item 47fac7e8-3ec6-49de-a51e-398a7835325c on queue aaa at Tue May 03 2011 10:48:43 GMT+0200 (CEST).
Start production of item ebf258ca-d734-4f8f-af93-ad1b84229485 on queue bbb at Tue May 03 2011 10:48:43 GMT+0200 (CEST).
Start production of item ab6b238f-f7e7-4159-b7a5-097e4f450375 on queue bbb at Tue May 03 2011 10:48:45 GMT+0200 (CEST).
Start production of item 0b7cd1d2-d9d5-44b5-96f1-13b9f7c03117 on queue aaa at Tue May 03 2011 10:48:46 GMT+0200 (CEST).
Start production of item 2f1ee96a-ac84-4a17-b196-59a66c9dce7e on queue bbb at Tue May 03 2011 10:48:47 GMT+0200 (CEST).
Start production of item 609235da-3bf4-49d5-96d4-891d972abfcb on queue aaa at Tue May 03 2011 10:48:48 GMT+0200 (CEST).
Start production of item 97e53704-9e31-4325-b99b-d3d7821292e4 on queue aaa at Tue May 03 2011 10:48:50 GMT+0200 (CEST).
Start production of item 9e08bd96-cc01-4258-85f8-c49eaa5977ab on queue bbb at Tue May 03 2011 10:48:50 GMT+0200 (CEST).
Start production of item 78a5f5fd-ff7e-420d-8dbc-fab0905dc4f0 on queue bbb at Tue May 03 2011 10:48:52 GMT+0200 (CEST).
Start production of item bcfce9d7-4e95-462d-852f-4b328e686091 on queue aaa at Tue May 03 2011 10:48:53 GMT+0200 (CEST).
Start production of item 24214035-5f25-4ddf-8f9b-173c11064931 on queue bbb at Tue May 03 2011 10:48:54 GMT+0200 (CEST).
Start production of item 550caac8-666a-4f29-a41c-adaa833240be on queue aaa at Tue May 03 2011 10:48:55 GMT+0200 (CEST).
Start production of item 8923bc33-6733-4a98-89a1-ceca35b7f931 on queue aaa at Tue May 03 2011 10:48:57 GMT+0200 (CEST).
Start production of item 71053ee8-1df6-4418-81e4-78d7e075fe54 on queue bbb at Tue May 03 2011 10:48:57 GMT+0200 (CEST).
Queue bbb is now empty.
Start production of item 11e5cb36-ae12-4a46-bcdf-1e29cacc0a1a on queue aaa at Tue May 03 2011 10:49:00 GMT+0200 (CEST).
Start production of item 7b6db1c4-b809-4646-8e37-27a92947ef99 on queue aaa at Tue May 03 2011 10:49:03 GMT+0200 (CEST).
Start production of item 8dbb477d-eca0-4f75-9370-f155782652c9 on queue aaa at Tue May 03 2011 10:49:05 GMT+0200 (CEST).
Start production of item 3a2a1dc2-5caf-45a6-9d01-b9227e802a35 on queue aaa at Tue May 03 2011 10:49:07 GMT+0200 (CEST).
Start production of item 74b7d517-daae-4cd8-b304-248b1d994b1b on queue aaa at Tue May 03 2011 10:49:09 GMT+0200 (CEST).
Start production of item 07b9e076-1dfc-495b-a47b-71eee5dc928f on queue aaa at Tue May 03 2011 10:49:12 GMT+0200 (CEST).
Start production of item 36355135-72eb-496b-8314-0d21b64a1bb2 on queue aaa at Tue May 03 2011 10:49:14 GMT+0200 (CEST).
Start production of item 588bfbe8-a299-4bd8-bb7e-ca91ac9bc8ad on queue aaa at Tue May 03 2011 10:49:16 GMT+0200 (CEST).
Start production of item 90e3798f-8f64-4eeb-8585-b1a8189e6b2a on queue aaa at Tue May 03 2011 10:49:19 GMT+0200 (CEST).
Start production of item 3b53cf5d-da39-4c4d-8cc6-8c99e887a16c on queue aaa at Tue May 03 2011 10:49:21 GMT+0200 (CEST).
Start production of item d8bd3815-c2d2-441a-9f42-92d34db2b18f on queue aaa at Tue May 03 2011 10:49:23 GMT+0200 (CEST).
Start production of item 4eb0cec2-480c-4f0f-84a8-907a00b24f4b on queue aaa at Tue May 03 2011 10:49:26 GMT+0200 (CEST).
Queue aaa is now empty.


Et le serveur qui reçoit les notifications de fin de construction (une application Sinatra toute simple) :


127.0.0.1 - - [03/May/2011 10:48:27] "POST /finish_production/aaa/4d620814-9640-4864-9d14-a8a802807294 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:27] "POST /finish_production/bbb/90d211fd-817e-4f0d-98c5-224b43373d06 HTTP/1.1" 200 - 0.0002
127.0.0.1 - - [03/May/2011 10:48:27] "POST /finish_production/ccc/033fd12d-effa-4476-9e76-80a069951e57 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:29] "POST /finish_production/bbb/dc2a1d48-670c-4305-859c-84425f064a91 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:29] "POST /finish_production/ccc/216f398d-10b3-4eaf-836b-ad424734f8bf HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:30] "POST /finish_production/aaa/79de2009-2961-4203-ab83-35b759df1899 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:31] "POST /finish_production/ccc/823bf29c-b191-434c-8540-54e837f6c8ad HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:32] "POST /finish_production/aaa/07ff05cd-5e62-4940-bdc1-749f375e21d9 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:32] "POST /finish_production/bbb/4dfccddc-9a06-4b51-b3d2-34a3a105dba9 HTTP/1.1" 200 - 0.0002
127.0.0.1 - - [03/May/2011 10:48:33] "POST /finish_production/ccc/d85e7886-2926-4fbe-bfbc-87eb2265bfc3 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:34] "POST /finish_production/aaa/3db79e36-f0ec-46e9-a079-c55729a36d57 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:34] "POST /finish_production/bbb/82fb1ae2-42b3-4ba9-96a7-065432bf4a58 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:35] "POST /finish_production/ccc/f2cc1d5f-178b-47e6-9410-a4035c8a7721 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:36] "POST /finish_production/aaa/a24aa051-e073-4dd3-9c58-bc53600a5c98 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:37] "POST /finish_production/bbb/ead85e0d-7eb9-47b3-ab06-10a40950d935 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:39] "POST /finish_production/aaa/d49b0bd5-f55b-4255-be47-184f7fcf479f HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:39] "POST /finish_production/bbb/d7c52922-f6cd-49c7-9d6d-e48771f7ef5e HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:41] "POST /finish_production/aaa/ab167585-e8bf-48c2-932d-12ed63453286 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:41] "POST /finish_production/bbb/11fef346-7f39-4d1e-808f-ce6657bbd6e6 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:43] "POST /finish_production/aaa/fd926e00-f7be-4517-9c4f-94ffe7cc9c1f HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:43] "POST /finish_production/bbb/33a1d0ba-ee99-4408-8466-a857cde2a00a HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:45] "POST /finish_production/bbb/ebf258ca-d734-4f8f-af93-ad1b84229485 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:46] "POST /finish_production/aaa/47fac7e8-3ec6-49de-a51e-398a7835325c HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:47] "POST /finish_production/bbb/ab6b238f-f7e7-4159-b7a5-097e4f450375 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:48] "POST /finish_production/aaa/0b7cd1d2-d9d5-44b5-96f1-13b9f7c03117 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:50] "POST /finish_production/aaa/609235da-3bf4-49d5-96d4-891d972abfcb HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:50] "POST /finish_production/bbb/2f1ee96a-ac84-4a17-b196-59a66c9dce7e HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:52] "POST /finish_production/bbb/9e08bd96-cc01-4258-85f8-c49eaa5977ab HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:53] "POST /finish_production/aaa/97e53704-9e31-4325-b99b-d3d7821292e4 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:54] "POST /finish_production/bbb/78a5f5fd-ff7e-420d-8dbc-fab0905dc4f0 HTTP/1.1" 200 - 0.0004
127.0.0.1 - - [03/May/2011 10:48:55] "POST /finish_production/aaa/bcfce9d7-4e95-462d-852f-4b328e686091 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:57] "POST /finish_production/aaa/550caac8-666a-4f29-a41c-adaa833240be HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:57] "POST /finish_production/bbb/24214035-5f25-4ddf-8f9b-173c11064931 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:48:59] "POST /finish_production/bbb/71053ee8-1df6-4418-81e4-78d7e075fe54 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:00] "POST /finish_production/aaa/8923bc33-6733-4a98-89a1-ceca35b7f931 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:03] "POST /finish_production/aaa/11e5cb36-ae12-4a46-bcdf-1e29cacc0a1a HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:05] "POST /finish_production/aaa/7b6db1c4-b809-4646-8e37-27a92947ef99 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:07] "POST /finish_production/aaa/8dbb477d-eca0-4f75-9370-f155782652c9 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:09] "POST /finish_production/aaa/3a2a1dc2-5caf-45a6-9d01-b9227e802a35 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:12] "POST /finish_production/aaa/74b7d517-daae-4cd8-b304-248b1d994b1b HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:14] "POST /finish_production/aaa/07b9e076-1dfc-495b-a47b-71eee5dc928f HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:16] "POST /finish_production/aaa/36355135-72eb-496b-8314-0d21b64a1bb2 HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:19] "POST /finish_production/aaa/588bfbe8-a299-4bd8-bb7e-ca91ac9bc8ad HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:21] "POST /finish_production/aaa/90e3798f-8f64-4eeb-8585-b1a8189e6b2a HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:23] "POST /finish_production/aaa/3b53cf5d-da39-4c4d-8cc6-8c99e887a16c HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:26] "POST /finish_production/aaa/d8bd3815-c2d2-441a-9f42-92d34db2b18f HTTP/1.1" 200 - 0.0003
127.0.0.1 - - [03/May/2011 10:49:28] "POST /finish_production/aaa/4eb0cec2-480c-4f0f-84a8-907a00b24f4b HTTP/1.1" 200 - 0.0003

Ça marche plutôt bien, je suis content. Smile


RE: Opérations en Hors ligne - niahoo - 03-05-2011

Je finirai le mien ce soir. pour tester le tien il faut installer quoi ? node.js et redis uniquement ?


RE: Opérations en Hors ligne - Sephi-Chan - 03-05-2011

NodeJS (et son gestionnaire de paquet Node Packet Manager) et Redis, oui.