原创 kineti client 之baseclient

# Copyright (C) 2014 Seagate Technology. # # This library is free software; you can redistribute it and/or # modify it

原创 kinetic client 之BaseAsync

# Copyright (C) 2014 Seagate Technology. # # This library is free software; you can redistribute it and/or # modify it

原创 OpenStack Swift 雲存儲技術詳解

轉載自:http://www.educity.cn/net/1617873.html Swift雲存儲技術詳解:綜述與概念   OpenStack Object Storage (Swift) 是用來創建冗餘的、可擴展的對象存儲(引擎)的

原创 安裝 pylibmc(Memcached的python客戶端)

轉載自:http://blog.chinaunix.net/uid-20548989-id-1667373.html                 http://www.cppblog.com/kefeng/archive/2010/

原创 Openstack swift常見問題

a)        如何查看.data文件的xattr屬性 root@KVM-21:/mnt/sdb1/1/node/sdb1/objects/857/483/d666fd8b3ff3177e8aaa3790323ad483# ll t

原创 mysql python 訪問代碼

import MySQLdb conn= MySQLdb.connect(host='localhost',port = 3306,user='root',passwd='root',db ='cloudflash_db',) cur =

原创 SWIFT Ring原理

OpenStack Swift Ring When people talk about OpenStack Swift, we often hear the word Ring. This is because the Ring is

原创 kinetic client 之asyncclient.py

# Copyright (C) 2014 Seagate Technology. # # This library is free software; you can redistribute it and/or # modify it

原创 eventlet

轉載自:http://blog.csdn.net/xiangmin2587/article/details/8182775   1. 首先說一下什麼是協程 協同程序與線程差不多,也就是一條執行序列,擁有自己獨立的棧,局部變量和指令指針,同

原创 扯談網絡編程之Tcp SYN flood洪水攻擊

轉載自:http://www.2cto.com/Article/201405/300529.html 簡介 TCP協議要經過三次握手才能建立連接: (from wiki) 於是出現了對於握手過程進行的攻擊。攻擊者發送大量的FIN包,服務

原创 vim多行編輯------自動縮進

  ctrl+v可進入列模式,選擇多列就可進行編輯。 按v選擇多行,按 < >就可以自動縮進。 在某行上按兩次等號(==)變可以自動縮進。 n==從該行開始下面的n行一起做自動縮進。 gg=G對真個文件進行自動縮進和排版,結合set sh

原创 Python PriorityQueue

  Python PriorityQueue 使用方法 https://www.daniweb.com/software-development/python/threads/298434/python-priority-queue

原创 深刻理解Linux進程間通信(IPC)

http://www.cnblogs.com/ThinkingWorld/articles/1861739.html   深刻理解Linux進程間通信(IPC) 0. 序 1. 管道 1.1. 管道概述及相關API應用 1.2. 有名管道

原创 python中的argparse

轉載自: http://songpengfei.iteye.com/blog/1440158 http://www.cnblogs.com/jianboqi/archive/2013/01/10/2854726.html List pop

原创 TCP流重組的研究

轉載自:http://ilovedouzhou.iteye.com/blog/1626183 存儲tcp分段的數據結構:一個二維鏈表,我把它叫作重裝表。具有相同socket對(源ip地址、目的ip地址、源端口號、目的端口號)的 tcp數