1。SPServer簡介http://www.javaeye.com/topic/59804 2。程式碼分析我們從一個簡單的伺服器入手分析。以下代碼取自F:/spserver-0.9.5/spserver/testecho.cpp /* * Copyright 2007 Stephen Liu * For license terms, see the file COPYING along with this library. */#include
轉載:http://en.wikipedia.org/wiki/Minimal_instruction_set_computer Minimal instruction set computerMinimal Instruction Set Computer (MISC) is a processor architecture with a very small number of basic operations and corresponding opcodes. Such
1。進入SP_Server的runForever函數,該函數最終轉入start()函數執行 2。start函數是主要執行函數函數內部使用了libevent.有關libevent編程參考官方首頁。 函數內部涉及重要的類有:SP_Executor(任務執行者,內部封裝線程池) /* * Copyright 2007 Stephen Liu * For license terms, see the file COPYING along with this library. */#include &
轉載:http://blog.chinaunix.net/uid-253939-id-2458682.htmlRule of Modularity: Write simple parts connected by clean interfaces.Rule of Clarity: Clarity is better than cleverness.Rule of Composition: Design programs to be connected to other
轉載:http://bofang.iteye.com/blog/1676698論文 The Log-Structure Merge-Tree(LSM-tree)(http://www.google.com.my/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&ved=0CDoQFjAD&url=http%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%
雖然很多書籍和文章講解了UML圖中的include和extend區分,但多數講的讓人看了似懂非懂的,在實際運用中仍然會遇到不少困難,是否有通俗易懂的講述了?請大家在這裡交流一下,我自己先說一下我的理解:include主要是用例重用,所以通常至少有兩個用例包含共同的一個用例,如:A include B,並且C include