¸Æ¸íÀÚ

»çÀü Ŭ·¡½º°¡ÀÖ´Â Python Memcached Ŭ¶óÀ̾ðÆ® Çâ»ó
Áö±Ý ´Ù¿î·Îµå

¸Æ¸íÀÚ ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °Ô½ÃÀÚ À̸§:
  • Michael Dillon
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/wavetossed/

¸Æ¸íÀÚ Å±×


¸Æ¸íÀÚ ¼³¸í

»çÀü Ŭ·¡½º°¡ÀÖ´Â Python Memcached Ŭ¶óÀ̾ðÆ®¸¦ Çâ»ó½Ãŵ´Ï´Ù McDict´Â Memcache°¡ ¾ÇÀÇÀû ÀÎ °Íó·³ ¾×¼¼½ºÇÏ´Â ÆÄÀ̽ã Ŭ·¡½ºÀÔ´Ï´Ù. ÀÌ ±¸Çö¿¡´Â keys () ¸Þ¼­µå°¡ Æ÷ÇԵ˴ϴÙ. ¸ðµç memcache Á¦ÇÑ »çÇ×Àº º¸Á¸µÇ¾î ÀÖ½À´Ï´Ù. Å°´Â 250 bytes.usageº¸´Ù ´õ ÀÌ»ó ¹®ÀÚ¿­À̾î¾ßÇÕ´Ï´Ù. ±âº» »ç¿ë¹ý : mcdict mc = mcdict.mcdict () °¡Á® ¿À±â ±âº»ÀûÀ¸·Î Æ÷Æ® 11211ÀÇ localhost¿¡ ¿¬°áÇÕ´Ï´Ù. È£½ºÆ® ¹× / ¶Ç´Â Æ÷Æ®¸¦ ÁöÁ¤ ÇؾßÇÏ´Â °æ¿ì : mc = mcdict .mcdict ( '127.0.0.1', '5211') ±âº» Memcache Ŭ¶óÀ̾ðÆ® °³Ã¼ (Âü°í µÎ ¹ø° MC)¿¡ ¾×¼¼½ºÇÕ´Ï´Ù. >>> mc.mc.stats () { 'accepting_conns': '1', 'auth_cmds': '0' , 'auth_errors': '0', ...} ÇöÀç »ç¿ëÁßÀÎ Å° ¸ñ·ÏÀ» °Ë»öÇϽʽÿÀ. ) >>> mc.keys () ¼³Ä¡ : PIP ¼³Ä¡ 'git + git : //github.com/wavetossed/mcdict.git'¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽ã


¸Æ¸íÀÚ °ü·Ã ¼ÒÇÁÆ®¿þ¾î