| ¶óÄ« »ç¿ì½º Riakasaurus´Â RIAK ¿ë Æ®À§½ºÆ® Ŭ¶óÀ̾ðÆ® ¶óÀ̺귯¸®ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
¶óÄ« »ç¿ì½º ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- The Apache License 2.0
- °Ô½ÃÀÚ À̸§:
- Colin Alston
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://github.com/calston/
¶óÄ« »ç¿ì½º ű×
¶óÄ« »ç¿ì½º ¼³¸í
Riakasaurus´Â https://bitbucket.org/asi/txriak¿¡¼ TxriakÀÇ Æ÷Å©¸¦ ±â¹ÝÀ¸·ÎÇÕ´Ï´Ù. ÀÌ´Â Basho 2.6, Python 2.7 ¹× Linux.InstallationFrom¿¡¼ Basho 2.6, Python 2.7 ¹× Linux.Installation¿¡¼ Å×½ºÆ® ÇÑ ´ëºÎºÐÀÇ ÀÛ¾÷À» È°¿ëÇÕ´Ï´Ù. sourcegit clone git : //github.com/calston/riakasaurus.git # cd riakasaurus # python setup.py installfrom pypieasy_install installfpieasy_install Riakasauruusageriakasaurus´Â inline derferreds¸¦ »ç¿ëÇÏ¿© riak¿¡ ¿¬°á ÇؾßÇÏ´Â ¸ðµç ÀÛ¾÷Àº ¿¬±â¸¦ ¹ÝȯÇÕ´Ï´Ù. usuage´Â °¡´ÉÇÑ ÇÑ Ç¥ÁØ ÆÄÀ̽㠶óÀ̺귯¸®¿¡¼ ´ÙÀ½°ú °°½À´Ï´Ù. Twisted.Internet °¡Á® ¿À±â ReactorFrom Riakasaurus Import Riak # Clister objectClient () # ¹öŶ ¸¸µé±â objectbucket = client.bucket ( 'my_bucket') # ¸¸µé±â »õ·Î¿î objectObject = bucket.new ( 'Æë±Ï', {»ö»ó ': }) def ÀúÀå (* a) : "object stored"Reautor.Stop () # ÀúÀå¼Ò´Â ¿¬±â¸¦ ¹ÝȯÇÕ´Ï´Ù. ÇÊ¿äÇÑ °æ¿ì ¹öŶÀ» ¸¸µé¾î objectObject.store ()¸¦ ÀúÀåÇÕ´Ï´Ù. AddCallback (ÀúÀå) ReaCler.Run () Á¦Ç° ȨÆäÀÌÁö
¶óÄ« »ç¿ì½º °ü·Ã ¼ÒÇÁÆ®¿þ¾î