ãã®èšäºã®æåã®éšåã§ã¯ãWindows Azure Blob StorageãšAmazon Simple Storage ServiceïŒS3ïŒã®æ¯èŒãéå§ããåºæ¬æŠå¿µã確èªããBLOBã³ã³ãããŒãšãã¹ã±ããã«é¢ããäŸ¡æ Œèšå®ãšæ©èœãæ¯èŒããŸããã æåã®éšåãèªãã§ãã ãã ã
ãã®èšäºã®ãã®éšåã§ã¯ãããããšãªããžã§ã¯ãã«é¢é£ããæ©èœãæ¯èŒããäž¡æ¹ã®ã·ã¹ãã ã®ã¹ãã¬ãŒãžãµãŒãã¹ã®æ¯èŒãçµäºããŠãçµæã®ããŒã¿ã1ã€ã®å ±éããŒãã«ã«åã蟌ã¿ãŸãã
ã·ãªãŒãºã®æåã®éšå-Windows AzureããŒãã«ã¹ãã¬ãŒãžãšAmazon DynamoDBã®æ¯èŒ
ããŒã2-Windows Azure Blob StorageãšAmazon Simple Storage ServiceïŒS3ïŒãæ¯èŒãã-ããŒãI
ç¥èªïŒ Windows Azure Blob Storage - WABSããã³Amazon Simple Storage Service - AS3
ã³ã³ã»ããã®
é¢æ°ã®è©³çŽ°ãªèª¬æã®åã«ãããããšãªããžã§ã¯ãã®èåŸã«ããæŠå¿µã®ããã€ããæ確ã«ããããšãéèŠã ãšæããŸãã
BLOB ãšãªããžã§ã¯ã ïŒWABS BLOBãšAS3ãªããžã§ã¯ãã¯ãBLOBã³ã³ãããŒãšãã¹ã±ããã«ããã¯ã©ãŠããã¡ã€ã«ã·ã¹ãã å ã®ãã¡ã€ã«ã§ãã
ã³ã¡ã³ãïŒ
- æ ŒçŽãããBLOBãšãªããžã§ã¯ãã®æ°ã«å¶éã¯ãããŸããããAS3ã§ã¯ãã®æ°ã¯åçŽã«äžæã§ãããWABSã§ã¯ãã®æ°ã¯ã¹ãã¬ãŒãžã¢ã«ãŠã³ãã®ãµã€ãºïŒ100 TbïŒã«ãã£ãŠå¶éãããŸãã
- AS3ã®ãªããžã§ã¯ãã®æ倧ãµã€ãºã¯5 TBãWABSã§ã¯1 TBã§ãã
- WABSã«ã¯2çš®é¡ã®BLOBããããŸãïŒãããã¯ïŒã¹ããªãŒãã³ã°ïŒåçããããªãããã¥ã¡ã³ããªã©ïŒã«äŸ¿å©ã§æ倧ãµã€ãºã200 GBïŒãããã³ããŒãžïŒã©ã³ãã ã¢ã¯ã»ã¹/èšé²æäœã«äŸ¿å©ã§æ倧ãµã€ãºã1 TBïŒã§ãã ããŒãžBLOBã䜿çšããäžè¬çãªã±ãŒã¹ã¯ãWindows Azureã®åœ¹å²ã§VHDããã£ã¹ã¯ãšããŠããŠã³ãããããšã§ãã AS3ã«ã¯ãã®ãããªåé¢ã¯ãããŸããã
- äž¡æ¹ã®ã·ã¹ãã ã¯ãè±å¯ãªããããšãªããžã§ã¯ã管çæ©èœãæäŸããŸãã ä»ã®æäœãã³ããŒãããŠã³ããŒããããŠã³ããŒããããã³å®è¡ã§ããŸãã
- äž¡æ¹ã®ã·ã¹ãã ã¯ãã³ã³ãã³ããäžæ£ã¢ã¯ã»ã¹ããä¿è·ããæ©èœãæäŸããã¢ã¯ã»ã¹å¶åŸ¡ãªã¹ãã¡ã«ããºã ã¯AS3ã§ãã詳现ã«æ§æããããã¹ã±ããå ã®åãã¡ã€ã«ã«ç¬èªã®ACLãäœæã§ããŸãã WABSã§ã¯ããã¹ãŠãBLOBã³ã³ãããŒã¬ãã«ã§çºçããŸãã
æãéèŠãª2ã€ã®æ©èœã¯ããŠã³ããŒããšããŠã³ããŒãã§ããæåã«ãããã«ã€ããŠèª¬æãã次ã«ä»ã®æ©èœãæ¯èŒããããšããå§ãããŸãã
BLOBãšãªããžã§ã¯ãã®èªã¿èŸŒã¿
ã³ã³ãããšãã¹ã±ããã«ããããšãªããžã§ã¯ããããŒãããããšã«ã€ããŠè©±ããŸãããã ããŒãã¡ã«ããºã ã¯2ã€ãããŸãã1ã€ã®ãªã¯ãšã¹ãã®ãã¬ãŒã ã¯ãŒã¯å ã§blobãŸãã¯ãªããžã§ã¯ããå®å šã«ããŠã³ããŒããããããŸãã¯AS3ã®ãããã¯ãŸãã¯WABSããŒãžãšããŒãã«åå²ããããšãã§ããŸãã
1åã®ãªã¯ãšã¹ãã§ããŠã³ããŒã
ããŠã³ããŒãããããŒã¿ãå°ãããæ¥ç¶é床ãè¯ãå Žåã1åã®èŠæ±ã§ãã®ããŒã¿ãå®å šã«ããŠã³ããŒãã§ããŸãã WABSã¯ããã«Put Blobã䜿çšããŸãã AS3- ãªããžã§ã¯ããå ¥ããŸãã
ããŒã¹ãããŒããã
åäžã®ãªã¯ãšã¹ãã§å®å šã«ããŒãããã«ã¯éå¹ççãªããã°ããŒã¿ãå ±æã§ããŸãã ã©ã¡ãã®ã·ã¹ãã ã§ããããŒã¿ãæçïŒWABSã®ãããã¯ãŸãã¯ããŒãžãAS3ã®ããŒãïŒã«åå²ããåŸã ã«ããŒãããããšãã§ããŸãã WABSã§ã¯ããããã¯BLOBã®å ŽåãããŒãžBLOBã®Put Blockããã³Put Block Listã䜿çšããå¿ èŠããããŸã-Put Page ã AS3ã§ã¯ã ãã«ã ããŒã ã¢ããããŒãã®éå§ ã ããŒãã® ã¢ããããŒã ãããã³ãã«ã ããŒã ã¢ããããŒãã®å®äºãŸãã¯ãã«ã ããŒã ã¢ããããŒãã® äžæ¢æ©èœãããã«äœ¿çšãããŸãã
ãã£ã³ã¯ã§ããŒã¿ãããŒãããããšã決å®ããçç±ã¯ãããããããŸãã
- éåžžã«å€§ããªããŒã¿ãããŒãããå¿ èŠããããŸãã WABSã§ã¯ã1ãããã¯BLOBã200 GBãããŒãž-1 TBã«å¶éãããŠããããšã«æ³šæããŠãã ãããAS3ã§ã¯ãæ倧5 TBã®ãªããžã§ã¯ãã1ã€æã€ããšãã§ããŸãã ãã®ãããªããªã¥ãŒã ã¯ã1ã€ã®èŠæ±ã§ããŒãããã®ã¯å®çšçã§ã¯ãããŸããã
- æ¥ç¶é床ãé ãã
- äž¡æ¹ã®ã·ã¹ãã ã¯ãæ°çŸããã³æ°åã®ãŠãŒã¶ãŒã®ãªã¯ãšã¹ããåæã«åŠçããããã«èšèšãããã¯ã©ãŠããµãŒãã¹ã§ããäž¡æ¹ã®ã·ã¹ãã ãèšå®ãããå¶éããé·ãå®è¡ããããšããªã¯ãšã¹ããå¶éãããŸã-WABSã§ã¯ã1 MBã®ããŒã¿ãããŠã³ããŒãããã®ã«10åã§ãã
- ããã°ããŒã¿ãæçã«åå²ãããšã䞊åèªã¿èŸŒã¿ãå¯èœã«ãªããŸãïŒãããããããŒã¿ã®èªã¿èŸŒã¿ãéããªããŸãïŒã
- ããŒã¹ã®ããŒããç ŽæããŠããå Žåããã®ããŒããç¹°ãè¿ãããšãã§ããŸãããåäžã®ãªã¯ãšã¹ãã§ããŒããã倧ããªããŒã¿ã®ããŒãã倱æããå Žåããã¹ãŠãå床ããŠã³ããŒãããå¿ èŠããããéåžžã«éå¹ççã§ãã
- ã·ã¹ãã ã®å¶éïŒWABSã§ã¯ããµã€ãºã64 MBãè¶ ããå Žåã1åã®èŠæ±ã§ããŒã¿ãããŠã³ããŒãã§ããŸããã AS3ã«ã¯ãã®ãããªå¶éã¯ãããŸãããããµã€ãºã100 MBãè¶ ããå ŽåãããŒã¿ãåå²ããããšããå§ãããŸãã
次ã«ãåã·ã¹ãã ã«ããŒã¿ãæççã«ããŒãããæ¹æ³ã«ã€ããŠèª¬æããŸãã ããšãã°ã100 MBã®ãã¡ã€ã«ããã£ã³ã¯ã§ã¢ããããŒãããããšããŸãã åãã©ãããã©ãŒã ã䜿çšãããšãã«äœãããå¿ èŠãããããèŠãŠã¿ãŸãããã
綿æ£
åããŒã¹ã®ãµã€ãºã1 MBã§ããïŒåããµã€ãºã®ããŒã¹ãæã€å¿ èŠã¯ãªãã«ããããããïŒã100åã®ããŒã¹ââãããŠã³ããŒãããå¿ èŠããããšããŸãã ãããã¯BLOBãååŸããŸããåãããã¯ïŒããŒã¹ïŒã«ã¯äžæã®èå¥åïŒBlockIdïŒããããŸãã ããŒãããã«ã¯ã Put Blocké¢æ°ã䜿çšããŸãã BlockIdã¯ãæ倧ãµã€ãºã64ãã€ãã®Base64ãšã³ã³ãŒãæååã§ãã ãã¹ãŠã®BlockIdïŒãã®äŸã§ã¯100ïŒã¯åãé·ãã§ãªããã°ãªããŸããã ãããã¯ãããŒãããé çªã¯é¢ä¿ãããŸãã-䞊è¡ããŠããŒãã§ããŸãã ãããã¯ãããŒãããåŸãWABSã¯ããããªããžããªã®ã©ããã«çœ®ãã7æ¥éä¿åããŸãã ãã¹ãŠã®ãããã¯ãããŒãããåŸã Put Block ListãåŒã³åºããŠããããã®ãããã¯ã確èªïŒã³ãããïŒããŸãã ãã®é¢æ°ãåŒã³åºããããŸã§ãããã«é£çµ¡ããããšã¯ã§ããŸããããŸãã7æ¥ä»¥å ã«ãããã¯ã確èªããªããšãã·ã¹ãã ã«ãã£ãŠãããã¯ãåé€ãããŸãã BlockIdãªã¹ãã®é åºã«åºã¥ããŠé¢æ°ãåŒã³åºããåŸãWABSã¯blobãåäœæããå©çšå¯èœãšããŠããŒã¯ããŸãã BlockIdã®å€ã¯é¢ä¿ãããŸããïŒãã¹ãŠGUIDã«ããããšãã§ããŸãïŒããPutãããã¯ãªã¹ãã䜿çšãããšãã«BlockIdãéä¿¡ããé åºã¯éèŠã§ãã
å¶éäºé ïŒ
- Blobã¯æ倧50,000ãããã¯ã«åå²ã§ããŸãã
- BLOBã«ã¯ãåžžã«100,000ã®æªç¢ºèªãããã¯ãå«ããããšãã§ããŸãã
- æªç¢ºèªã®ãããã¯ã®ã»ããã¯ããµã€ãºã400 GBãè¶ ããããšã¯ã§ããŸããã
- 1ã€ã®BLOBã®ãã¹ãŠã®BlockIdãããã¯ã¯åãé·ãã§ãªããã°ãªããŸããã ãããã®å€ãblock8ãblock9ãblock11ãšçãããªãç¶æ³ã¯èš±å®¹ãããŸããã
- BlockIdã®æ倧é·ã¯64ãã€ãã§ãã
AS3
åããŒã¹ã®ãµã€ãºã5 MBã ãšããŸãã åããŒã¹ã«ã¯äžæã®èå¥åïŒããŒãçªå·ïŒãå²ãåœãŠãããŸããããã«ãããããŒã¹ãèå¥ãããå ã®ãªããžã§ã¯ãã§ã®äœçœ®ã決ãŸããŸãã ãã®çªå·ã¯1ãã10000ãŸã§ã®ä»»æã®çªå·ã«ããããšãã§ããŸããã䞊ã¹æ¿ããå¿ èŠããããŸããã€ãŸããç¶æ³ã«å¿ããŠã0ã5 MBã®éšåã«1ã5ã10 MB-2ãªã©ã®çªå·ãä»ããå¿ èŠããããŸãã ãã ãããããã®ããŒãã®ããŠã³ããŒããéå§ããå Žåãæåã«Initiate Multipart Uploadé¢æ°ãåŒã³åºãå¿ èŠããããŸããããã«ããããªããžã§ã¯ããåå²ããŠè»¢éããããã»ã¹ãéå§ãããããšãAS3ã«éç¥ãããŸãã ãã®é¢æ°ã¯ãã¢ããããŒãIDãè¿ããŸãã 次ã«ãåããŒã¹ã«å¯ŸããŠã Upload Parté¢æ°ãåŒã³åºããŠã Upload IdãšããŒã¹ã®çªå·ãæž¡ãå¿ èŠããããŸããããŒã¹ãããŠã³ããŒããããé åºã¯é¢ä¿ãããŸããïŒäžŠè¡ããŠã¢ããããŒãã§ããŸãïŒã ãã¹ãŠã®ããŒã¹ãããŒãããåŸã Complete Multipart Uploadé¢æ°ãåŒã³åºããŠãããŒã¹ã確èªããå¿ èŠããããŸãã ããã»ã¹ããã£ã³ã»ã«ããã«ã¯ã ãã«ãããŒãã¢ããããŒããäžæ¢ããŸãã
å¶éäºé ïŒ
- ããŒã¹çªå·ã¯1ã10,000ã§ãªããã°ãªããªããšããäºå®ããå€æãããšããªããžã§ã¯ãã¯æ倧10,000åã®ããŒãã«åå²ã§ãããšæããŸãã
- çªå·ã¯ãªããžã§ã¯ãå ã®ããŒã¹ã®äœçœ®ã決å®ããããããã®å€ã¯éèŠã§ãã
- åããŒã¹ã¯ããµã€ãºã®å¶éããªãã·ãŒã±ã³ã¹ã®æåŸã®ããŒã¹ãé€ããå°ãªããšã5 MBã®ãµã€ãºãæã£ãŠããå¿ èŠããããŸãã
BLOBãšãªããžã§ã¯ããããŠã³ããŒããã
BLOBãšãªããžã§ã¯ããããŠã³ããŒãããã«ã¯ã2ã€ã®ã¡ã«ããºã ããããŸããBLOBãŸãã¯ãªããžã§ã¯ãã1ã€ã®ãªã¯ãšã¹ãã§ããŸãã¯ããŒã¹åäœã§ããŠã³ããŒãããŸãã
åã·ã¹ãã ã«ã¯ãWABSã§BlobãååŸã ãAS3ã§ãªããžã§ã¯ããååŸããããŠã³ããŒãæ©èœã1ã€ã ããããŸãã
1åã®ãªã¯ãšã¹ãã§ããŠã³ããŒã
ããŒã¿ãå°ãããæ¥ç¶é床ãè¯ãå Žåã¯ãWABSã®Get BlobãšAS3ã®Get Objectã䜿çšããŠãªããžã§ã¯ããå®å šã«ããŠã³ããŒãã§ããŸãã
åå²ããŠããŠã³ããŒããã
ãªããžã§ã¯ãã倧ãããäžåºŠã«ããŠã³ããŒãã§ãããã©ããããããªãå Žåã¯ãåãæ©èœã䜿çšããŠãRangeããããŒãè¿œå ããããŠã³ããŒãã«å¿ èŠãªãã€ãç¯å²ã決å®ããŠãããŒã¹ãããŠã³ããŒãã§ããŸãã
ããŠã³ããŒãããã»ã¹ïŒ
- ãªããžã§ã¯ãã®ãµã€ãºã決å®ããŸãã ããšãã°ã100 MBã®ãéããããããŸãã
- ããŒã¹ã®ãµã€ãºã決å®ããŸãã ããšãã°ã1 MBã®ããŒã¹ãããŠã³ããŒããããšäŸ¿å©ã§ãã
- Get BlobãŸãã¯Get ObjectãåŒã³åºãã察å¿ããå€ãRangeããããŒã«æž¡ããŸãã é£ç¶ããŠããŠã³ããŒãããå Žåãæåã®ãªã¯ãšã¹ãã«ã¯ãã®ããããŒã®å€ã0-1048575ãïŒ0-1 MbïŒã2çªç®ã®ãªã¯ãšã¹ã-ã1048576-2097151ãïŒ1-2 MbïŒãªã©ãå«ãŸããŸãã
- ããŠã³ããŒãããããäœåãã©ããã«çœ®ããŸãã
- ãã¹ãŠã®ããŒã¹ãããŠã³ããŒãããåŸã空ã®100 MBãã¡ã€ã«ãäœæãããã®ãã¡ã€ã«ã«ããŠã³ããŒãããããŒã¹ãå ¥åããŸãã
æ©èœ
äž¡æ¹ã®ã·ã¹ãã ãæäŸããæ©èœãäžã®è¡šã«ãŸãšããŠããŸãã
ãããã®æ©èœã«ã€ããŠè©³ãã説æããŸãã
綿æ£
| AS3
| |
Blob / PUTãªããžã§ã¯ããé
眮
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ããããããããã³ã³ãããŒã«ããªããžã§ã¯ãããã¹ã±ããã«è¿œå ããŸãã
ã³ã¡ã³ãïŒ
- äž¡æ¹ã®ã·ã¹ãã ã§ãé¢æ°ã¯æ¢åã®ãªããžã§ã¯ããæå®ãããååã§äžæžãããŸãã ãã¹ã±ããã§ããŒãžã§ã³ç®¡çãæå¹ã«ãªã£ãŠããAS3ã§ã¯ããªããžã§ã¯ãã®ã³ããŒãäœæãããŸãã WABSã¯ã Snapshot Blobã䜿çšããŠç¬èªã«ããŒãžã§ãã³ã°ãåŠçããå¿ èŠããããŸãã
- ã©ã¡ãã®ã·ã¹ãã ã§ãããªããžã§ã¯ãã®ããããã£ïŒãã£ãã·ã¥ã³ã³ãããŒã«ãã³ã³ãã³ãã¿ã€ããªã©ïŒãå®çŸ©ã§ããŸãã
- ã©ã¡ãã®ã·ã¹ãã ã§ããMD5ã³ã³ãã³ãã®ããã·ã¥ãéä¿¡ããŠããŒã¿ã®äžè²«æ§ã確èªã§ããŸãã
- AS3ã§ã¯ããªããžã§ã¯ããäœæãããšãã«ããã®ãªããžã§ã¯ãã«ACLãèšå®ã§ããŸãããããã¯WABSã§ã¯å®è¡ã§ããŸããã
- AS3ã§ã¯ãéãããåé·æ§ã§ãªããžã§ã¯ããä¿åã§ããŸãã ãã®é¢æ°ãåŒã³åºããšãããªãã·ã§ã³ã®ãã©ã¡ãŒã¿ã䜿çšããŠãåé·æ§ãå¶éãããªããžã§ã¯ããä¿åãããã©ããã決å®ããŸãã ãã©ã¡ãŒã¿ãçç¥ãããšããªããžã§ã¯ãã¯æšæºã®åé·æ§ã§ä¿åãããŸãã
- ã©ã¡ãã®ã·ã¹ãã ã§ããBLOBãšãªããžã§ã¯ãã®ã¡ã¿ããŒã¿ãããŒãšå€ã®ãã¢ã®ã³ã¬ã¯ã·ã§ã³ã®åœ¢åŒã§æå®ã§ããŸãã äž¡æ¹ã®ã·ã¹ãã ã§ããã®ã¡ã¿ããŒã¿ã®æ倧ãµã€ãºã¯8 Kbã§ãã
- ãã®é¢æ°ã䜿çšããŠããŒãžBLOBãäœæããå ŽåãããŒãžBLOBãéå§ããã ãã§ãããã«ããŒã¿ãå ¥ããŸããã ããŒã¿ãæ¿å ¥ããã«ã¯ãããŒãžé 眮æ©èœã䜿çšããå¿ èŠããããŸãã
- AS3ã§ãããã¯BLOBãŸãã¯ãªããžã§ã¯ããäœæãããšããããŒã¿ã¯ãªã¯ãšã¹ãã§éä¿¡ãããŸãã
- ãã®é¢æ°ã䜿çšããŠäœæããããããã¯BLOBã®æ倧ãµã€ãºã¯64 MBã§ãã ãµã€ãºã倧ããå Žåã¯ããããããããã¯ã«åå²ããPut Blockããã³Put Block Listã䜿çšããŠããŒãããå¿ èŠããããŸãã
- WABSã§ã¯ããã®é¢æ°ãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If - Modified - Since ã If - Unmodified - Since ã If - Match ã If - None - Match ïŒã
- AS3ã¯ãµãŒããŒåŽã®ãªããžã§ã¯ãã®æå·åããµããŒãããŠãããããèŠæ±æã«ãªããžã§ã¯ããæå·åãããã©ããã決å®ã§ããŸãã WABSã¯ãµãŒããŒåŽã®æå·åããµããŒãããŠããªãããããªããžã§ã¯ããèªåã§æå·åããå¿ èŠããããŸãã
綿æ£
| AS3
| |
POSTãªããžã§ã¯ã
| ãã
| ã¯ã
|
ãã®é¢æ°ã¯ãHTMLãã©ãŒã ã䜿çšããŠãæå®ããããã¹ã±ããã«ãªããžã§ã¯ããè¿œå ããŸãã POSTã¯PUTã®ä»£æ¿ã§ããããã©ãŠã¶ã䜿çšããŠãªããžã§ã¯ããããŒãã§ããŸãã HTTPããããŒã䜿çšããŠPUTã«æž¡ããããã©ã¡ãŒã¿ãŒã¯ãPOSTã®å Žåãæå·åãããmultipart / form-dataã¡ãã»ãŒãžã®æ¬æãšããŠæž¡ãããŸãã
綿æ£
| AS3
| |
Get Blob / GET Object
| ã¯ã
| ã¯ã
|
ãã®æ©èœã«ãããã³ã³ãããŸãã¯ãã¹ã±ããããblobãããŠã³ããŒãã§ããŸãã
ã³ã¡ã³ãïŒ
- RangeããããŒã«ãã€ãæ°ãæå®ããŠãããŒã¹ãããŠã³ããŒãã§ããŸãã
- WABSã§ã¯ããã®é¢æ°ã¯ããŠã³ããŒããããblobã®ã¡ã¿ããŒã¿ãè¿ããŸãã
- WABSã§ã¯ããã®é¢æ°ãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If - Modified - Since ã If - Unmodified - Since ã If - Match ã If - None - Match ïŒã
- AS3ã§ã¯ãèŠæ±ãã©ã¡ãŒã¿ãŒã䜿çšããŠç¹å®ã®å¿çããããŒã®å€ããªãŒããŒã©ã€ãã§ããŸãïŒå¿åèŠæ±ãé€ãïŒã ãªã¯ãšã¹ãã¯AuthorizationããããŒã§çœ²åããããæäŸãããURLã䜿çšããå¿ èŠããããŸãã
- ãã®é¢æ°ã䜿çšããŠãããããšãªããžã§ã¯ãã®ããŒãžã§ã³ãååŸã§ããŸãããããã®ããŒãžã§ã³ãååŸããã«ã¯ããããã®ã¹ãããã·ã§ããã®æ¥ä»/æå»ãæå®ããAS3ã®ãªããžã§ã¯ãã®ããŒãžã§ã³ãååŸããã«ã¯ãããŒãžã§ã³IDãæå®ããŸãã ãããã®ãã©ã¡ãŒã¿ãŒãçç¥ãããšããªããžã§ã¯ãã®çŸåšã®ããŒãžã§ã³ãè¿ãããŸãã
綿æ£
| AS3
| |
ãªããžã§ã¯ãã®æ¥æµãååŸ
| ãã
| ã¯ã
|
AS3ã§ã¯ãBitTorrentãããã³ã«ã䜿çšããŠãªããžã§ã¯ãã䜿çšã§ããŸããããã«ãããéä¿¡ããããã©ãã£ãã¯ã®éãæžããããšãã§ããŸãã BitTorrentãšAS3ã®äœ¿çšã®è©³çŽ°ã«ã€ããŠã¯ã ãã¡ããã芧ãã ãã ã
ãã®é¢æ°ã¯ããµã€ãºã5 GBæªæºã®ãªããžã§ã¯ãã§ã®ã¿åŒã³åºãããšãã§ããŸãã
綿æ£
| AS3
| |
ãªããžã§ã¯ãACLã®ååŸ
| ãã
| ã¯ã
|
AS3ã§ã¯ãåã ã®ãªããžã§ã¯ãã¬ãã«ã§ACLãæå®ã§ããŸãïŒWABSã§ã¯ãblobã³ã³ãããŒã¬ãã«ã§ã®ã¿ACLãæå®ã§ããŸãïŒã ãã®é¢æ°ã¯ããªããžã§ã¯ãã«æå®ãããACLã«é¢ããæ å ±ãååŸããããã«äœ¿çšãããŸãã
èå³æ·±ãç¹ã¯ããªããžã§ã¯ãã®ç°ãªãããŒãžã§ã³ã䜿çšããå ŽåãåããŒãžã§ã³ã«ã¯åå¥ã®ACLããããšããããšã§ãã ãªããžã§ã¯ãã®ç¹å®ã®ããŒãžã§ã³ã®ACLãååŸããã«ã¯ãããŒãžã§ã³IDããŒãžã§ã³é¢æ°ãé¢æ°ã«æž¡ãå¿ èŠããããŸãã
綿æ£
| AS3
| |
PUTãªããžã§ã¯ãACL
| ãã
| ã¯ã
|
ãã®é¢æ°ã䜿çšãããšããªããžã§ã¯ãã®ACLãæå®ã§ããŸãã åè¿°ã®ããã«ããªããžã§ã¯ãã®åããŒãžã§ã³ã«ã¯ç¬èªã®ACLããããŸãã ãªããžã§ã¯ãã®ç¹å®ã®ããŒãžã§ã³ã®ACLãæå®ããã«ã¯ããã®ããŒãžã§ã³ã®ããŒãžã§ã³IDãæž¡ãå¿ èŠããããŸãã
綿æ£
| AS3
| |
Blobããããã£ã®ååŸ/ HEADãªããžã§ã¯ã
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ãBLOBããããã£ãšãªããžã§ã¯ãã¡ã¿ããŒã¿ãååŸããããã«äœ¿çšãããŸãããBLOBã³ã³ãã³ããè¿ããŸããã
ã³ã¡ã³ãïŒ
- WABSã®Get Blob Propertiesã¯ããŠãŒã¶ãŒå®çŸ©ã®ã¡ã¿ããŒã¿ãæšæºHTTPããããã£ãblobã®ã·ã¹ãã ããããã£ã®ã»ãããè¿ããŸãããAS3ã®HEAD Objectã¯ãªããžã§ã¯ãã¡ã¿ããŒã¿ã®ã¿ãè¿ããŸãã
- WABSã§ã¯ããã®é¢æ°ãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If - Modified - Since ã If - Unmodified - Since ã If - Match ã If - None - Match ïŒã
- ãã®é¢æ°ã䜿çšããŠãç¹å®ã®ããŒãžã§ã³ã®blobãŸãã¯ãªããžã§ã¯ãã®ããããã£ãååŸã§ããŸãã ãã®æ å ±ãååŸããã«ã¯ãWABSã®ã¹ãããã·ã§ããBLOBã®æ¥ä»ãšæå»ãããã³AS3ã®å¿ èŠãªããŒãžã§ã³ã®ããŒãžã§ã³IDãæå®ããå¿ èŠããããŸãã ãããã®ãã©ã¡ãŒã¿ãŒãçç¥ãããšãçŸåšã®ããŒãžã§ã³ã«é¢ããæ å ±ãè¿ãããŸãã
綿æ£
| AS3
| |
BLOBããããã£ãèšå®ãã
| ã¯ã
| ãã
|
ãã®é¢æ°ã¯ãWABSã®ãããã·ã¹ãã ããããã£ã決å®ããŸãã AS3ã§ã¯äœ¿çšã§ããŸããã ãªããžã§ã¯ããäœæãããšãã¯ãã·ã¹ãã ããããã£ã®ã¿ãæå®ã§ããŸãã
å®çŸ©ã«äœ¿çšã§ããããããã£ã«ã¯ããã£ãã·ã¥å¶åŸ¡ãã³ã³ãã³ãã¿ã€ããã³ã³ãã³ãMD5ãã³ã³ãã³ããšã³ã³ãŒãã£ã³ã°ãã³ã³ãã³ãèšèªãå«ãŸããŸãã ãããã®ããããã£ãblobã¹ãããã·ã§ããçšã«åå®çŸ©ããæš©å©ã¯ãªãããšã«æ³šæããŠãã ããã
WABSã§ã¯ããã®é¢æ°ãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If- Modified- Since ã If- Unmodified- Since ã If- Match ã If- None- Match ïŒã
綿æ£
| AS3
| |
Blobã¡ã¿ããŒã¿/ããããªããžã§ã¯ããååŸãã
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ããŠãŒã¶ãŒå®çŸ©ã®ã¡ã¿ããŒã¿ãè¿ããŸãã ãã®é¢æ°ã䜿çšããŠãç¹å®ã®ããŒãžã§ã³ã®blobãŸãã¯ãªããžã§ã¯ãã®ããããã£ãååŸã§ããŸãã ãã®æ å ±ãååŸããã«ã¯ãWABSã®ã¹ãããã·ã§ããBLOBã®æ¥ä»ãšæå»ãããã³AS3ã®å¿ èŠãªããŒãžã§ã³ã®ããŒãžã§ã³IDãæå®ããå¿ èŠããããŸãã ãããã®ãã©ã¡ãŒã¿ãŒãçç¥ãããšãçŸåšã®ããŒãžã§ã³ã«é¢ããæ å ±ãè¿ãããŸãã
綿æ£
| AS3
| |
BLOBã¡ã¿ããŒã¿ãèšå®ãã
| ã¯ã
| ãã
|
ãã®é¢æ°ã¯ãWABSã®BLOBã®ããŒãšå€ã®ãšã³ããªã®ã³ã¬ã¯ã·ã§ã³ãšããŠã¡ã¿ããŒã¿ãã£ã¯ã·ã§ããªãæå®ããããã«äœ¿çšãããŸãã
ã³ã¡ã³ãïŒ
- ãã®é¢æ°ã¯æ¢åã®ã¡ã¿ããŒã¿ãäžæžãããããã1ã€ã®ããŒãšå€ã®ãã¢ãæŽæ°ããããšã¯ã§ããŸããã
- æ倧ã¡ã¿ããŒã¿ãµã€ãºã¯8 Kbã§ãã
- ã¡ã¿ããŒã¿åã¯æå¹ãªCïŒèå¥åã§ãªããã°ãªããŸããã
綿æ£
| AS3
| |
Blobã®åé€/ãªããžã§ã¯ãã®åé€
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ãBLOBãŸãã¯ãªããžã§ã¯ãããªããžããªããåé€ããŸãã
ã³ã¡ã³ãïŒ
- AS3ã§ã¯ãé¢æ°ã¯ãªããžã§ã¯ãã®nullããŒãžã§ã³ïŒååšããå ŽåïŒãåé€ããåé€ããŒã«ãŒãæ¿å ¥ããŸããåé€ããŒã«ãŒã¯ãªããžã§ã¯ãã®ããŒãžã§ã³ã«ãªããŸãã NULLããŒãžã§ã³ããªãã£ãå Žåããªããžã§ã¯ãã¯åé€ãããŸããã
- WABSã§ã¯ããã®æ©èœã䜿çšããŠããœãŒã¹ãåé€ããã«ã¹ãããã·ã§ããã®ã¿ãåé€ã§ããŸãã ãœãŒã¹ãåé€ããããšããã®ã¹ãããã·ã§ããããã¹ãŠåé€ãããŸãã
- ç§ãç解ããŠããããã«ãAS3ã§ã¯ããªããžã§ã¯ããåé€ãããšãããã®ãã¹ãŠã®ããŒãžã§ã³ã¯å€æŽãããã«æ®ããŸãã
- ãã®é¢æ°ã䜿çšããŠãç¹å®ã®ããŒãžã§ã³ã®blobãŸãã¯ãªããžã§ã¯ããåé€ã§ããŸãããã®ããã«ã¯ãWABSã§ã¹ãããã·ã§ããblobã®æ¥ä»ãšæå»ããAS3ã§å¿ èŠãªããŒãžã§ã³ã®ããŒãžã§ã³IDãæå®ããå¿ èŠããããŸãã
ã»WABSã§ã¯ããã®æ©èœãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If- Modified- Since ã If- Unmodified- Since ã If- Match ã If- None- Match ïŒã
- AS3ã§ã¯ãã»ãã¥ãªãã£ã®è¿œå ã¬ãã«ãæäŸããMulti Factor AuthentificationïŒMFAïŒDeleteã䜿çšã§ããŸãã MFAã®è©³çŽ°ã«ã€ããŠã¯ã ãã¡ããã芧ãã ãã ã
綿æ£
| AS3
| |
è€æ°ã®ãªããžã§ã¯ããåé€ãã
| ãã
| ã¯ã
|
ãã®é¢æ°ã䜿çšãããšã1ã€ã®HTTPãªã¯ãšã¹ãã§ãŽãç®±ããè€æ°ã®ãªããžã§ã¯ããåé€ã§ããŸãããã®ããã«ã¯ãåé€ãããªããžã§ã¯ãã®ããŒãç¥ãå¿ èŠããããŸãã 1ã€ä»¥äžã®ãªããžã§ã¯ãã®ç¹å®ã®ããŒãžã§ã³ãåé€ããããšãã§ããŸãã 1åã®ãªã¯ãšã¹ãã§æ倧1000åã®ãªããžã§ã¯ããåé€ã§ããŸãã
綿æ£
| AS3
| |
Blobã®ã³ããŒ/ãªããžã§ã¯ãã®é
眮-ã³ããŒ
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ãããããå ã®å Žæããã³ããŒããŸãã
ã³ã¡ã³ãïŒ
ã»äž¡æ¹ã®ã·ã¹ãã ã§ã¯ããã®æ©èœãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If- Modified- Since ã If- Unmodified- Since ã If- Match ã If- None- Match ïŒã ãããã®æ¡ä»¶ã¯ãWABSã®ãœãŒã¹ãšæçµã³ããŒãããã³AS3ã®ãœãŒã¹ã®äž¡æ¹ã§å®çŸ©ã§ããŸãã
ã»WABSã§ã¯ã1ã€ã®ã¹ãã¬ãŒãžã¢ã«ãŠã³ãå ã§ã®ã¿ãã³ã³ãããŒããã³ã³ãããŒã«ãªããžã§ã¯ããã³ããŒã§ããŸãã AS3ã«ã¯ãã®ãããªå¶éã¯ãããŸããã 亀æãè¡ããããã¹ã±ãããåãã¢ã«ãŠã³ãã«å±ããŠããå Žåããªããžã§ã¯ããã³ããŒãããŸãã ãã ããAPIã䜿çšããŠãã£ã³ã¯ãããŒããããªããžã§ã¯ããäœæããå Žåããªããžã§ã¯ãããªãŒãžã§ã³éã§ã³ããŒããããšã¯ã§ããŸããã
ã»äž¡æ¹ã®ã·ã¹ãã ã§ã¯ãæ¢åã®ã¡ã¿ããŒã¿ãã³ããŒããããæçµã³ããŒã®ã¡ã¿ããŒã¿ãæå®ã§ããŸãã
ã»AS3ã¯ã GET ObjectãšPUT Objectã®çµã¿åãããšããŠãã®æ©èœãå®è£ ããŸãã
- ãã®é¢æ°ã¯ããµã€ãºã5 GB以äžã®ãªããžã§ã¯ãã§äœ¿çšã§ããŸãã ãµã€ãºã5 GBãè¶ ããå Žåã¯ãåå²ããŠããŠã³ããŒãããå¿ èŠããããŸãã
- AS3ã§ã¯ãã³ããŒæã«ç¹å®ã®ACLãåé€ããããªããžã§ã¯ãããã©ã€ããŒããšããŠèšå®ãããŸãã
圹ã«ç«ã€ãã³ãïŒ
- äž¡æ¹ã®ã·ã¹ãã 㯠ããªããžã§ã¯ãã®ååå€æŽããµããŒãããŠããŸãã ã ãªããžã§ã¯ãã®ååãå€æŽããã«ã¯ãæåã«ãªããžã§ã¯ããã³ããŒããŠããåé€ããŸãã
- BlobãŸãã¯ãªããžã§ã¯ãããŒãžã§ã³ããçŸåšã®ãããŒãžã§ã³ã«ãã¢ããã°ã¬ãŒããããããšãã§ããŸãã ãããè¡ãã«ã¯ãããŒãžã§ã³ç®¡çãããblobïŒã¹ãããã·ã§ãããæãïŒãŸãã¯ãªããžã§ã¯ãïŒããŒãžã§ã³IDãæãïŒãšæçµã³ããŒãããŒãžã§ã³ç®¡çãããŠããªãblobãŸãã¯ã³ããŒå ãšããŠæå®ããŸãã
綿æ£
| AS3
| |
ã¹ãããã·ã§ããBLOB
| ã¯ã
| ãã
|
ãã®é¢æ°ã¯ãblobã®èªã¿åãå°çšã³ããŒãäœæããŸã-ãããWABSã®ããŒãžã§ã³ç®¡çã®å®è£ æ¹æ³ã§ãã åã®èšäºã§è¿°ã¹ãããã«ãAS3ã¯ããŒãžã§ã³ç®¡çãç¬ç«ããŠå®è£ ããŠããŸãã WABSã§ã¯ãããŒãžã§ãã³ã°ã¯ç¹å®ã®blobã®ã¬ãã«ã§å®è£ ãããŠããããã®blobã®ããŒãžã§ãã³ã°ã¯éçºè ã®è²¬ä»»ã§ãã
ã³ã¡ã³ãïŒ
- ãã®é¢æ°ã¯ãblob-ã¹ãããã·ã§ããã®èªã¿åãå°çšã³ããŒãäœæããŸãã ã¹ãããã·ã§ããã¯ããŠã³ããŒããã³ããŒããŸãã¯åé€ã§ããŸãããå€æŽã¯ã§ããŸããã
- ããŒãžã§ã³IDããªããžã§ã¯ãã®ããŒãžã§ã³ã«å²ãåœãŠãããAS3ãšã¯ç°ãªããåã¹ãããã·ã§ããã«ã¯ããã®ã¹ãããã·ã§ãããäžæã«èå¥ããæ¥ä»/æå»ã®å€ãå²ãåœãŠãããŸãã
ã»WABSã§ã¯ããã®æ©èœãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If- Modified- Since ã If- Unmodified- Since ã If- Match ã If- None- Match ïŒã
- Copy Blobæ©èœã䜿çšããŠãã¹ãããã·ã§ããããœãŒã¹Blobã®ããŒãžã§ã³ã«ãå¢ãããããšãã§ããŸãã
綿æ£
| AS3
| |
ãªãŒã¹ããã
| ã¯ã
| ãã
|
ãã®é¢æ°ã䜿çšãããšããããã1åéããã¯ããŠãå€æŽã§ããªãããã«ããããšãã§ããŸãã ãã®æ©èœã¯ãå€ãã®ã¯ãŒã«ãŒãåãæäœãå®è¡ããããšããŠããç¶æ³ã§ã¯éåžžã«äŸ¿å©ã§ããããã®ãã¡ã®1人ã ããå€æŽãå ããããšèããŠããŸãã è©³çŽ°ïŒ http : //blog.smarx.com/posts/managing-concurrency-in-windows-azure-with-leases
| 綿æ£
| AS3
|
ãã«ãããŒãã¢ããããŒãã®éå§
| ãã
| ã¯ã
|
ãã®é¢æ°ã¯ãããŒã¿ã®ããŒããæççã«éå§ããããã«äœ¿çšãããŸãã
綿æ£
| AS3
| |
ãããã¯ãå
¥ãã/ããŒããã¢ããããŒããã
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ãããŒã¿ã®äžéšïŒWABSã®ãããã¯ãšAS3ã®ããŒãïŒãããŒãããããã«äœ¿çšãããŸãã
綿æ£
| AS3
| |
ãããã¯ãªã¹ãã®é
眮/ãã«ãããŒãã¢ããããŒãã®å®äº
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ã察å¿ããã¹ãã¢å ã®BLOBãŸãã¯ãªããžã§ã¯ãã確èªããããã«äœ¿çšãããŸãã é¢æ°ã¯ããã¹ãŠã®ãããã¯ãŸãã¯ããŒããããŒãããåŸã«åŒã³åºãããšãã§ããŸãã
綿æ£
| AS3
| |
ãããã¯ãªã¹ã/ãªã¹ãããŒãã®ååŸ
| ã¯ã
| ã¯ã
|
ãã®é¢æ°ã¯ãããŒãããããããã¯ãŸãã¯ããŒãã®ãªã¹ããè¿ããŸãã
ã³ã¡ã³ãïŒ
- WABSã«ã¯ããããã®2ã€ã®ãããã¯ãªã¹ãããããŸããæ£åžžã«ç¢ºèªããããããã¯ã®ãªã¹ããšãããŠã³ããŒããããã確èªãããŠããªãæªç¢ºèªã®ãããã¯ã®ãªã¹ãã§ãã
- 1ã€ã®æ©èœèŠæ±ã§ãAS3ã¯æ倧1000åã®éšåçªå·ãè¿ããŸãã ããã«ããŒããæ®ã£ãŠããå ŽåãAS3ã¯ç¶ç¶ããŒã¯ã³ãè¿ããŸãã è¿ãããæ°åã®æ°ãæå®ã§ããŸãã
ã»WABSã§ã¯ããã®æ©èœãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If- Modified- Since ã If- Unmodified- Since ã If- Match ã If- None- Match ïŒã
綿æ£
| AS3
| |
ãã«ãããŒãã¢ããããŒããäžæ¢ãã
| ãã
| ã¯ã
|
ãã®æ©èœã¯ãé²è¡äžã®èµ·åããã»ã¹ããã£ã³ã»ã«ããããã«äœ¿çšãããŸãã
ãã®æ©èœãWABSã«å®è£ ãããŠãããã©ãŒã ã§ã¯ãå¿ èŠãããŸããã WABSã§ã¯ãèµ·åããã»ã¹ãäžæããããšã¯ã§ããŸããã å¡ã®æçã®ããŠã³ããŒããéå§ãã7æ¥ä»¥å ã«Put Block ListãåŒã³åºããªãã£ãå ŽåãããŠã³ããŒãããããããã¯ã¯åé€ãããŸãã
綿æ£
| AS3
| |
ããŒãã®ã¢ããããŒã-ã³ããŒ
| ãã
| ã¯ã
|
ã³ããŒããããšããŠãããªããžã§ã¯ãã®ãµã€ãºã5 GBãè¶ ããå Žåããªããžã§ã¯ãã®é 眮-ã³ããŒæ©èœã䜿çšã§ããŸããã ãã£ã³ã¯ãããŒãããŠãã®ãªããžã§ã¯ããã³ããŒããå¿ èŠããããŸããããã®é¢æ°ã¯ãã®ããã ãã®ãã®ã§ãã ãã®é¢æ°ãšã¢ããããŒãããŒãã®éãã¯ããªã¯ãšã¹ãæ¬æã§ããŒã¿ãéä¿¡ãã代ããã«ã source_bucket / source_objectã®åœ¢åŒã§ãœãŒã¹ãªããžã§ã¯ããæå®ããã³ããŒãããã€ãç¯å²ãæå®ããããšã§ãã ãããã£ãŠãã³ããŒããããªããžã§ã¯ãã®ãã¹ãŠã®éšåãåŠçããå¿ èŠããããŸãã ãã®é¢æ°ãåŒã³åºãåã«ãããŠã³ããŒããåå²ããŠéå§ããé¢æ°ã«æž¡ãå¿ èŠãããã¢ããããŒãIDãååŸããå¿ èŠããããŸãã ã³ããŒãå®äºããã«ã¯ããComplete Multipart UploadããŸãã¯ãAbort Multipart UploadããåŒã³åºãå¿ èŠããããŸãã
| 綿æ£
| AS3
|
ããŒãžã眮ã
| ã¯ã
| ãã
|
Put Blobã䜿çšããŠããŒãžBLOBãäœæããå Žåããã®äœæãéå§ããã ãã§ãã ã³ã³ãã³ãã®ãªã空ã®ããŒãžBLOBãäœæããŸãã ãã®é¢æ°ã䜿çšãããšãããŒãžBLOBã«ããŒã¿ãæ¿å ¥/æŽæ°ã§ããŸããããŒã¿ã確èªããå¿ èŠã¯ãããŸããããã®é¢æ°ãåŒã³åºããåŸãããŒã¿ã¯èªåçã«ç¢ºèªãããŸãã
ã³ã¡ã³ãïŒ
- blobã«ããŒã¿ãé 眮ããã«ã¯ãByte Rangeãã€ãç¯å²ã®ããããŒã®å€ãæå®ããå¿ èŠããããŸãã åæç¯å²ãªãã»ããã¯ã512-1ã®çµ¶å¯Ÿå€ã§ããå¿ èŠããããŸãã èš±å¯ããããã€ãç¯å²ã®äŸã¯ã0ã511ã512ã1023ãªã©ã§ãã
- ãã®é¢æ°ã䜿çšãããšãããŒãžBLOBã«ããŒã¿ãæžã蟌ãããããŒã¿ããç¹å®ã®ç¯å²ã®ãã€ããæ¶å»ã§ããŸãã
ã»WABSã§ã¯ããã®æ©èœãæ£åžžã«å®äºããããã«æºããå¿ èŠãããåææ¡ä»¶ã決å®ã§ããŸãïŒ If- Modified- Since ã If- Unmodified- Since ã If- Match ã If- None- Match ïŒã
綿æ£
| AS3
| |
ããŒãžç¯å²ãååŸãã
| ã¯ã
| ãã
|
ãããã¯BLOBãšããŒãžBLOBã®éèŠãªéãã¯äŸ¡æ Œèšå®ã§ãããã«BLOBã«å¯ŸããŠæ¯æããŸãããããŒãžBLOBã®å Žåã¯ãããžãŒãªïŒãŒã以å€ã®ïŒããŒãžã«å¯ŸããŠã®ã¿æ¯æããŸãã ããšãã°ã2 GBã®ãããã¯BLOBãš2 GBã®ããŒãžBLOBãäœæããäž¡æ¹ã空ïŒ0ãã€ããå«ãïŒã®å Žåã2 GBã®BLOB BLOBã®æéã¯ããããŸãããããŒãžBLOBã®æéã¯ããããŸããã 次ã«ãPutããŒãžã䜿çšããŠ1024ãã€ããããŒãžBLOBã«æžã蟌ã¿ããããã®1024ãã€ãã®æ¯æããéå§ããŸãã
ãã®é¢æ°ã¯ããŒã以å€ã®ããŒãžã®ãœãŒãããããªã¹ããè¿ããŸãã
ãã®é¢æ°ã«ã¯ãã1ã€ã®å©ç¹ããããŸã-ããŒãžBLOBãããŠã³ããŒããããšãã«ãã®é¢æ°ãåŒã³åºããšãããŒã¿ãBLOBã®ã©ãã«ä¿åãããŠããããä¿èšŒãããŸãããã®åŸãBLOBå šäœãããŠã³ããŒãã§ããªããªããŸãBlobãååŸããŸãã
ãŸãšã
ã©ã¡ãã®ã·ã¹ãã ãåæ§ã®æ©èœã»ãããæäŸããŸãã åã·ã¹ãã ã«ã¯ãå¥ã®ã·ã¹ãã ã§ã¯äœ¿çšã§ããªãç¬èªã®æ©èœã»ããããããŸãããäžè¬ã«ãæ©èœã®éãã¯BLOBã³ã³ãããŒããã¹ã±ããã®å Žåãšåãã§ã¯ãããŸããã
Windows Azure Blob StorageãšAmazon Simple Storage ServiceïŒS3ïŒã®æ¯èŒâæŠèŠ
Windows Azure Blob StorageãšAmazon Simple Storage Serviceãæ¯èŒãã詳现ãªèšäºïŒS3ã¯ãã¡ããšãã¡ãã§èªãããšãã§ããŸã ããã®èšäºã§ã¯èŠçŽããŸãã
ç¥èªïŒ Windows Azure Blob Storage- WABSããã³Amazon Simple Storage Service - AS3
ãã®è¡šã¯ãWABSãšAS3ã®æ©èœãæ¯èŒããçµæããŸãšãããã®ã§ãã
綿æ£
| AS3
| |
ãµãŒãã¹ã®çŸåšã®ããŒãžã§ã³
| 2011-08-18
| 2006-03-01
|
ä¿ç®¡å¶ââé
| æ倧100TB
| ç¡å¶é
|
ã¯ã©ãŠããã¡ã€ã«ã·ã¹ãã
| ã¯ã
| ã¯ã
|
ãã©ã€ãã転éããŠå€§éã®ããŒã¿ã転éããæ©èœ
| ãã
| ã¯ã
|
ãµããŒããããŠãããããã³ã«
| HTTP / HTTPS
| HTTP / HTTPS / BitTorrent
|
ããŒã¿ã«å¯ŸããŠé¡§å®¢ã«è«æ±ããæ©èœ
| ãã
| ã¯ã
|
ãµãŒããŒåŽã®æå·åãµããŒã
| ãã
| ã¯ã
|
éå®åé·ãµããŒã
| ãã
| ã¯ã
|
ãµããŒããããŠããéå±€ã¬ãã«
| 2
| 2
|
ããã容åšãšãã¹ã±ãã
| ||
BLOBã³ã³ãããŒãšãã¹ã±ããã®äœæ
| ã¯ã
| ã¯ã
|
ã³ã³ããã®æ°blobovãšãã¹ã±ãã
| ç¡å¶é
| ç¡å¶é
|
ãã¹ã±ãããŸãã¯ãããã³ã³ãããŒã®ååã®æå°/æ倧é·
| 3/63
| 3/63
|
BLOBããã³ãã¹ã±ããã³ã³ãããŒåã®å€§æåãšå°æåã®åºå¥
| å°æå
| å°æå
|
BLOBããã³ãã¹ã±ããã³ã³ãããŒåã«äœ¿çšã§ããæå
| è±æ°åããã€ãã³ïŒ-ïŒ
| è±æ°åããã€ãã³ïŒ-ïŒãããªãªãïŒãïŒ
|
å
±æãã¹ãã£ã³ã°ãµããŒã
| ãã
| ã¯ã
|
ãã¹ãã£ã³ã°ãµããŒããã¹ã¹ã¿ã€ã«
| ã¯ã
| ã¯ã
|
äœææã«ACLãå®çŸ©ããæ©èœ
| ã¯ã
| ã¯ã
|
ããã©ã«ãACL
| ãã©ã€ããŒã
| ãã©ã€ããŒã
|
ç¬èªã®ã¡ã¿ããŒã¿ã®æå®
| ã¯ã
| ãã
|
BLOBã³ã³ãããŒãšãã¹ã±ããã®ãªã¹ããååŸãã
| ã¯ã
| ã¯ã
|
åäžã®é¢æ°åŒã³åºãã«ãã£ãŠè¿ãããblobãŸãã¯ãã¹ã±ããã³ã³ãããŒã®æ倧æ°
| 5000
| æå®ãªã
|
ãã¬ãã£ãã¯ã¹ãã£ã«ã¿ãªã³ã°ã䜿çšããŠBLOBããã³ãã¹ã±ããã³ã³ãããŒã®ãªã¹ãã®äžéšãè¿ã
| ã¯ã
| ã¯ã
|
BLOBã³ã³ãããŒãšãã¹ã±ããã®åé€
| ã¯ã
| ã¯ã
|
ãããã³ã³ãããŸãã¯ãã¹ã±ããã¯ãåé€ããåã«ç©ºã«ããå¿
èŠããããŸã
| ãã
| ã¯ã
|
BLOBãŸãã¯ãªããžã§ã¯ãã®ãªã¹ããååŸãã
| ã¯ã
| ã¯ã
|
1åã®é¢æ°åŒã³åºãã§è¿ãããBLOBãŸãã¯ãªããžã§ã¯ãã®æ倧æ°
| 5000
| 1000
|
1åã®é¢æ°åŒã³åºãã§è¿ãããBLOBãŸãã¯ãªããžã§ã¯ãã®æ°ã®äžéãæå®ããæ©èœ
| ã¯ã
| ã¯ã
|
ãã©ã«ããŒéå±€ã®é¯èŠãäœæããããã®ã»ãã¬ãŒã¿ãŒã®ãµããŒã
| ã¯ã
| ã¯ã
|
è¿ãããããããŸãã¯ãªããžã§ã¯ãã®ãªã¹ãããã¬ãã£ãã¯ã¹ã§ãã£ã«ã¿ãªã³ã°ãã
| ã¯ã
| ã¯ã
|
ããŒãžã§ã³ç®¡çãããããããŸãã¯ãªããžã§ã¯ãã®ãªã¹ããååŸãã
| ã¯ã
| ã¯ã
|
æªç¢ºèªã®blobãŸãã¯ãªããžã§ã¯ãã®ãªã¹ããååŸãã
| ã¯ã
| ã¯ã
|
BLOBãŸãã¯ãªããžã§ã¯ããžã®ãªã¯ãšã¹ãã®ãã®ã³ã°
| ã¯ã
| ã¯ã
|
ç¹å®ã®BLOBãŸãã¯ãªããžã§ã¯ããžã®èŠæ±ãèšé²ãã
| ãã
| ã¯ã
|
BLOBãŸãã¯ãªããžã§ã¯ããžã®ãã®ã³ã°ãªã¯ãšã¹ãã®èšå®ãååŸãã
| ã¯ã
| ã¯ã
|
BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®ACLå®çŸ©
| ã¯ã
| ã¯ã
|
å¯èœãªACLå€
| ã³ã³ããããããããã©ã€ããŒã
| èªã¿åããæžã蟌ã¿ãREAD_ACPãWRITE_ACPãFULL_CONTROL
|
ãŠãŒã¶ãŒããšã«ç°ãªãACLãå®çŸ©ãã
| ãã
| ã¯ã
|
BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®ç¬èªã®ã¡ã¿ããŒã¿ãå®çŸ©ãã
| ã¯ã
| ãã
|
BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®ãŠãŒã¶ãŒå®çŸ©ã¡ã¿ããŒã¿ã®ååŸ
| ã¯ã
| ãã
|
ããŒãžã§ã³ç®¡çãªããžã§ã¯ã
| ã¯ã
| ã¯ã
|
ã·ã¹ãã ã«ãã£ãŠå¶åŸ¡ãããããŒãžã§ã³ç®¡ç
| ãã
| ã¯ã
|
BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®ããŒãžã§ã³ç®¡çã»ããã¢ãã
| ãã
| ã¯ã
|
BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®ããŒãžã§ãã³ã°æ§æã®ååŸ
| ãã
| ã¯ã
|
äžå®æéåŸã®BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®å
容ã®èªååé€
| ãã
| ã¯ã
|
äžå®æéåŸã«BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®å
容ãèªåçã«åé€ããèšå®
| ãã
| ã¯ã
|
äžå®æéåŸã®BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®ã³ã³ãã³ãã®èªååé€ã®èšå®ãååŸãã
| ãã
| ã¯ã
|
äžå®æéåŸã®BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ããã®å
容ã®èªååé€ã®èšå®ã®åé€
| ãã
| ã¯ã
|
äžæ£ã¢ã¯ã»ã¹ãé²ãããã®BLOBã³ã³ãããŸãã¯ãã¹ã±ããã®ã¢ã¯ã»ã¹ããªã·ãŒã®å®çŸ©
| ãã
| ã¯ã
|
äžæ£ã¢ã¯ã»ã¹ãé²æ¢ããããã®BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ãããžã®ã¢ã¯ã»ã¹ããªã·ãŒã®ååŸ
| ãã
| ã¯ã
|
äžæ£ã¢ã¯ã»ã¹ãé²æ¢ããããã®BLOBã³ã³ãããŒãŸãã¯ãã¹ã±ãããžã®ã¢ã¯ã»ã¹ããªã·ãŒã®åé€
| ãã
| ã¯ã
|
BLOBã³ã³ãããŸãã¯ãã¿ç®±ã€ãã³ãã«äœãèµ·ãã£ããã«ã€ããŠã®éç¥ãåãåã
| ãã
| ã¯ã
|
BLOBã³ã³ãããŒãŸãã¯ãã¿ç®±ã§äœãèµ·ãã£ããã«é¢ããéç¥ãæ§æãã
| ãã
| ã¯ã
|
BLOBã³ã³ãããŸãã¯ãã¿ç®±ã€ãã³ãã«äœãèµ·ãã£ããã«ã€ããŠã®éç¥ãåãåã
| ãã
| ã¯ã
|
ã³ã³ããããããããŸãã¯ãã¹ã±ãããããŠã³ããŒãããããã«å¥ã®ãŠãŒã¶ãŒãæ¯æãããšãã§ããŸã
| ãã
| ã¯ã
|
ã³ã³ããããããããŸãã¯ãã¹ã±ãããããŠã³ããŒãããããã«æ¯æããŠãŒã¶ãŒã®æ±ºå®
| ãã
| ã¯ã
|
,
| ãã
| ã¯ã
|
| ãã
| ã¯ã
|
| ãã
| ã¯ã
|
| ãã
| ã¯ã
|
| ãã
| ã¯ã
|
| ||
| 200 / 1
| 5
|
| ,
| -
|
| ã¯ã
| ã¯ã
|
,
| 64
|
|
| ã¯ã
| ã¯ã
|
| 50000
| 10000
|
| ãã
| 5
|
| ã¯ã
| ã¯ã
|
ACL
| N / a
| ã¯ã
|
, ,
| N / a
| ã¯ã
|
| ã¯ã
| ãã
|
HTML- POST
| ãã
| ã¯ã
|
| ã¯ã
| ã¯ã
|
| ã¯ã
| ã¯ã
|
| ãã
| ã¯ã
|
Torrent
| ãã
| ã¯ã
|
ACL
| ãã
| ã¯ã
|
ACL
| ãã
| ã¯ã
|
| ã¯ã
| ã¯ã
|
| ã¯ã
| ãã
|
| ã¯ã
| ã¯ã
|
| ã¯ã
| ãã
|
| ã¯ã
| ã¯ã
|
Multi Factor Authentication (MFA) delete
| ãã
| ã¯ã
|
| ã¯ã
| ãã
|
| ãã
| ã¯ã
|
| ã¯ã
| ã¯ã
|
| ã¯ã
| ã¯ã
|
read-only
| ã¯ã
| ãã
|
(lock)
| ã¯ã
| ãã
|
翻蚳è ããã®æ³šæ
Windows Azureãã©ãããã©ãŒã ã®è¥ãïŒç«¶åä»ç€Ÿãšã®é¢ä¿ïŒã«ãé¢ããããMicrosoftã¯æåãå°œãããŸãã-2ã€ã®ãã©ãããã©ãŒã ã®æ©èœã¯æ¯èŒçåçã§ãããããã¯æå ±ã§ããäž¡æ¹ã®ãã©ãããã©ãŒã ã®éçºã芳å¯ããããšã¯ç§ã«ãšã£ãŠéåžžã«èå³æ·±ããã®ã§ãããããã«èå³æ·±ããã®ã«ãªããšæããŸããã¡ãªã¿ã«ã6æ7æ¥ã«ãã€ã¯ããœããã¯ã°ããŒãã«ã¢ããããŒããå ¬éããŸãããèŠéããªããéåžžã«ã¯ãŒã«ã§ããã¯ã©ãŠããã©ãããã©ãŒã ã®ç«¶äºãæ°ããã©ãŠã³ããç²åŸããŠããããã«æããŸããããã¹ãŠã¯ãéçºãã¯ãã«ãAmazonãšMicrosoftã«ãã£ãŠã©ã®ããã«éžæããããã«ããã£ãŠããŸããåŸ ã£ãŠãèŠãŠã次ã®ç¿»èš³ã§ã¯ãWindows Azure Blob ServicesãšGoogle Cloud Serviceã®æ¯èŒã«çŠç¹ãåœãŠãŸãã
UPDã¯ïŒ Windowsã®Azureã®ããã®ä¿¡èšãµãŒãã¹ã®å€èŠ³ãéããïŒä»ã§ã¯ããµãŒããŒåŽã§æå·åããããšãå¯èœã§ãã- 以äžã