Ghettoq.

Redis ¶Ç´Â Django ¸ðµ¨À» »ç¿ëÇÏ´Â ºó¹Î±¼ ´ë±â¿­
Áö±Ý ´Ù¿î·Îµå

Ghettoq. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • GPL
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Ask Solem
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~asksh/Modwheel-0.3.3/lib/Modwheel.pm

Ghettoq. ű×


Ghettoq. ¼³¸í

Redis ¶Ç´Â Django ¸ðµ¨À» »ç¿ëÇÏ´Â Ghetto Queue GhettoqÀº Carrotinstallation¿¡ ´ëÇÑ Redis ¹× Django µ¥ÀÌÅͺ£À̽º Áö¿øÀ» ±¸ÇöÇÏ´Â µ¥ »ç¿ëµÇ´Â °ÔÅä Å¥ ÇÁ·¹ÀÓ ¿öÅ©ÀÔ´Ï´Ù. Python ÆÐÅ°Áö À妽º (Pypi) ¶Ç´Â Source.to¿¡¼­ ¼³Ä¡ÇÏ·Á¸é GhettoqÀ» ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. PIP ¼³Ä¡ ghettoqto easy_install : Easy_install Ghettoqif ´ç½ÅÀº ´ÙÀ½À» ¼öÇàÇÏ¿© ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù : python setup.py buildpython setup.py ¼³Ä¡ # rootexamples : >>>¿¡¼­ ghettoq.msple import ¿¬°á >>> import simplejson >>> conn = connection ( "Redis", host = "localhost", database = "myQuqueue") >>> # °Ô½Ã ¸Þ½ÃÁö >>> q = conn.queue ( "tasks") >>> payload = { "À̸§": "Á¶Áö ÄÁ½ºÅºÁö" } >>> Q.Put (simplejson.dumps (ÆäÀ̷εå)) >>> # ¼Òºñ ¸Þ½ÃÁö >>> ¸Þ½ÃÁö = Q.GET () >>> SimpleJSON.Loads (¸Þ½ÃÁö) { "À̸§": "Á¶Áö Constanza"} # ºñ¾î ÀÖÀ¸¸é ghettoq.messaging.Empty >>> Q.GET () ViseNusing Django µ¥ÀÌÅͺ£À̽º Áö¿ø ¸®ÇÁ ¼³Á¤ÀÌ ÀÌ¹Ì ±¸¼ºµÇ¾î ÀÖÁö ¾Ê¾Æµµ ¿¬°á ¿É¼ÇÀ» ÁöÁ¤ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. >>> ghettoq.Simple °¡Á® ¿À±â ¿¬°á >>> conn = connection ( "database") >>> queue = conn.queue (name = "tasks") >>> queue.put ( "°ÆÁ¤ÇÒ ¼öÀÖ´Â »ç¶÷") >>> Queue.get () "Àΰ¡ ÇÒ ¼öÀÖ´Â ´©±¸¿¡°Ô"¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã


Ghettoq. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

pylons_gae.

AppEngine-Monkey¸¦ ´ëüÇÏÁö´Â ¾ÊÁö¸¸ ´Ü¼øÈ÷ PylonsÀÇ ½Å¼ÓÇÑ ÅëÇÕÀº AppEngine ...

53

´Ù¿î·Îµå