The Architecture of Open Source Applications: Asterisk

文章目錄 The architecture of AsteriskLessons from the architecture of AsteriskReference: The architecture of AsteriskLessons from the architecture of Asteriskconcepts of channelTelephony endpoints are represented as channels,

Xen dom0 dedicated memory and preventing dom0 memory ballooning

 You should always dedicate fixed amount of RAM for Xen dom0.This can be done by specifying "dom0_mem=512M" option for Xen hypervisor (usually xen.gz) in grub.conf/menu.lst. This makes sure the initial size of memory allocated for dom0 is 512 MB

tcpip詳解筆記(17) TCP的成塊資料流

1. 滑動視窗協議允許發送方在停止並等待確認前可以連續發送多個分組,由於發送方不必每發一個分組就停下來等待確認,因此該方法可以加速資料的傳輸。2. 滑動視窗視窗大小表示接收端的TCP協議緩衝中還有多少剩餘空間,用於接收端的流量控制特點:(1)發送方不必發送一個全視窗的大小(2)來自接收方的一個報文段確認資料並把視窗向右滑動(視窗大小是相對於確認序號的)(3)視窗的大小可以減小,但視窗的右邊不能向左移動(4)接收方在發送一個ACK前不必等待視窗被填滿

openstack建立虛機測試

openstack建立虛機 由於製作鏡像比較麻煩,直接從https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz下了一個回來。 wget https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz 發布鏡像# uec-publish-tarball cirros-0.3.0-x86_64-

The Architecture of Open Source Applications: Audacity

文章目錄 The architecture of AudacityLessons from the architecture of Audacityreferences The architecture of AudacityLessons from the architecture of Audacityuser interface should be discoverable: people should be able to sit

xen4.1.2橋接器配置

在xen4.1之前,通過設定/etc/xen/xend-config.sxp中的(network-script network-bridge)可以讓xend來自動化佈建橋接器。但是xen4.1之後不建議這麼做:When using the xl toolstack the host networking configuration is not configured by the toolstack but rather administrators are required to setup

tcpip詳解筆記(4) arp協議

 1. 鏈路層通訊根據48bit乙太網路地址(硬體地址)來確定目的介面,而位址解析通訊協定負責32bit IP地址與48bit乙太網路地址之間的映射: (1)ARP負責將IP地址映射到對應的硬體地址 (2)RARP負責相反的過程,通常用於無盤系統。 2. ARP快取 ARP高效啟動並執行關鍵是每台主機上都有一個ARP快取,緩衝中每一項的存留時間一般為20分鐘,但不完整表項逾時時間一般為3分鐘(如192.168.13.254)。 # arp -a ? (192.168.0.16) at

tcpip詳解筆記(21) TCP的路徑MTU探測與長肥管道

1. TCP的路徑MTU探測(1)根據自身MTU及對方SYN中攜帶的MSS確定發送報文資料部分的最大容量(如果對方沒有指定MSS,則預設為536); (2)在IP頭部開啟DF標誌位; (3)如果收到ICMP錯誤資訊告知需要分區, 如果ICMP資訊中包含下一跳MTU的資訊, 那麼根據這個值調整資料的最大容量, 如果ICMP資訊中不支援這種新協議(下一跳MTU值為0), 那麼調整資料的最大容量至下一個可能的大小; (4)DF標誌位會一直開啟, 以保證能夠測量得到正確的Path MTU;

轉:qcow2、raw、vmdk等鏡像格式

雲端運算用一個朋友的話來說:”做雲端運算最苦逼的就是得時時刻刻為一些可能一輩子都碰不到的事做好準備。更苦逼的就是剛以為一個問題不會遇到,立刻就發生了。。。“。這個還真的沒有辦法,誰讓哥我是搞雲端運算的呢,簡單一個虛擬化就搞的你蛋疼,你還能想其它的嗎?一直糾結在做虛擬化使用什麼鏡像格式,剛剛開始用了raw的file,後來發現LVM的很多特性對於虛擬化還是有比較理想的能力,而且效能也很不錯就用了LVM。後來被VMware騙了跑去搞Esxi接觸了VMDK,最近研究openstack發現了qcow2格式

通過debootstrap安裝Debian

Debian的工具debootstrap可以用於在系統的某個目錄中安裝一套基本系統,這個基本系統除了一些配置項外,與Debian安裝程式在安裝的第一階段安裝的內容基本相同。這項功能有許多有趣的功能,例如,你可以從某個定製版本的Debian

一個詭異的時間問題追查

問題引入:問題是我們重裝了一台電腦之後,發現apache的日誌裡突然增加了很多服務時間超長的請求,如下面兩條:** - - 4913229 11227 [29/Mar/2012:09:59:58 +0800] "GET******* - - 4793564 9846 [29/Mar/2012:09:59:58 +0800] "GET *****請求服務時間都在4s以上!這絕對無法忍受啊! 分析過程: 但是,當我們: * 手動訪問這台伺服器之後,發現基本上請求都是正常響應的; * 從前端反向

xm list和xl list顯示記憶體不一致的問題

xm list和xl list顯示記憶體不一致的問題 在xen4.1.2上一台windows虛機碰到這個問題: # xm list test6 Name                                        ID   Mem VCPUs      State   Time(s) test6                                       16  512     2     -b----    158.0 # xl list test6

tcpip詳解筆記(22) telnet協議

1. telnet是標準的提供遠程登入功能的應用,一個簡單的telnat如下:注意:     

tcpip詳解筆記(8) traceroute

1. traceroute可以用來查詢從一台主機到另一台主機所經過的路由。2.

openstack終於支援lvm disk了

https://blueprints.launchpad.net/nova/+spec/lvm-disk-imagesRecently, we have implemented LVM disk support functionality (based on our work for Diablo) and successfully delivered it to upstream.New LVM image backend can be enabled by

warden建立容器的過程

 基礎知識(本節轉自http://www.54chen.com/architecture/cloud-foundry-warden-part1.html)rv = unshare(CLONE_NEWNS);     unshare這個調用,可以把掛載的檔案系統設定成只在新的掛載命名空間(mount namespace)中可見。execvp(argv[0], argv);      execvp()會從PATH 環境變數所指的目錄中尋找符合參數file

cloudfoundry warden安裝和配置

cloudfoundry warden安裝和配置 warden安裝 apt-get install -y linux-imageapt-get install -y build-essential debootstrapapt-get install -y cgroup-bingem install bundlegem sources -a http://ruby.taobao.org/gem sources --remove http://rubygems.org/gem install

tcpip詳解筆記(7) ping

ping通過ICMP回應要求和應答實現一些不錯ping的樣本:轉自http://www.thegeekstuff.com/2009/11/ping-tutorial-13-effective-ping-command-examples/Ping Example 1. Increase or Decrease the Time Interval Between PacketsBy default ping waits for 1 second before sending the next

tcpip詳解筆記(6) icmp協議

1. ICMP協議格式ICMP報文是在IP資料報內部傳輸的: | IP頭部 | ICMP報文 |ICMP報文格式:  Bits    0–7     8–15    16–23   24–31  0       Type     Code        Checksum  32      Rest of HeaderType – ICMP type as specified below.Code – Subtype to the given type.Checksum – Error

How to properly use ‘dd’ to benchmark the write speed of your disk?

This article is written to address sometimes incorrect usage of the “dd” program to measure disk write performance on a VPS by some visitors of the lowendbox.com website, and is originally based on this question and my answer to it.Initially

總頁數: 61357 1 .... 5079 5080 5081 5082 5083 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.