博客 / 列表

阿東 - 【RocketMq】RocketMq-NameServ 源碼分析(Ver4.9.4)

引言 RocketMq3.X的版本和Kafka一樣是基於Zookeeper進行路由管理的,但是這意味着運維需要多部署一套Zookeeper集羣,後來RocketMq選擇去ZK最終出現了NameServ。NameServ作為RocketMq源碼閲讀的切入點非常不錯,本文將會介紹Ver 4.9.4 版本的NameServ源碼分析。 NameServer主要有兩個功能,Broker管理和路由信息管理。

rocketmq , 源碼學習 , 消息中間件 , 源碼分析

阿東 - 【Linux】《how linux work》第五章 Linux內核的啓動過程

Chapter 5. How the Linux Kernel Boots(第5章 Linux內核的啓動過程) You now know the physical and logical structure of a Linux system, what the kernel is, and how to work with processes. This chapter will teach y

Linux , 翻譯

阿東 - 【Linux】《how linux work》第六章 用户空間如何啓動

Chapter 6. How User Space Starts(第 6 章 用户空間如何啓動) The point where the kernel starts its first user-space process, init, is significant—not just because that’s where the memory and CPU are finally ready

Linux , 閲讀 , 翻譯

阿東 - 【Linux】《how linux work》第八章 流程和資源利用的近距離觀察

Chapter 8. A Closer Look at Processes and Resource Utilization(第 8 章 流程和資源利用的近距離觀察) This chapter takes you deeper into the relationships between processes, the kernel, and system resources. There are

Linux , 翻譯

阿東 - 【Linux】《how linux work》第九章 瞭解網絡及其配置

Chapter 9. Understanding your Network and its Configuration(第 9 章 瞭解網絡及其配置) Networking is the practice of connecting computers and sending data between them. That sounds simple enough, but to understa

Linux , 翻譯

阿東 - 【Linux】《how linux work》第十章 網絡應用和服務

Chapter 10. Network Applications and Services(網絡應用和服務) This chapter explores basic network applications—the clients and servers running in user space that reside at the application layer. Because this

Linux , 翻譯

阿東 - 【Linux】《how linux work》第十一章 Shell 腳本簡介

Chapter 11. Introduction to Shell Scripts(第 11 章 Shell 腳本簡介 Shell 腳本簡介) If you can enter commands into the shell, you can write shell scripts (also known as Bourne shell scripts). A shell script is a

Linux , 翻譯

阿東 - 【Linux】《how linux work》第十二章 在網絡中移動文件

目錄 Chapter 12. Moving Files Across the Network This chapter surveys options for moving and sharing files between machines on a network. We’ll start by looking at some ways to copy files other than the

Linux , 翻譯

阿東 - 【Linux】《how linux work》第十三章 用户環境

Chapter 13. User Environments(第13章 用户環境) This book’s primary focus is on the Linux system that normally lies underneath server processes and interactive user sessions. But eventually, the system and t

Linux , 翻譯 , shell

阿東 - 【Linux】《how linux work》第十四章 Linux 桌面簡介

Chapter 14. A Brief Survey of the Linux Desktop(Linux 桌面簡介) This chapter is a quick introduction to the components found in a typical Linux desktop system. Of all of the different kinds of software th

Linux , 翻譯

阿東 - 【Linux】《how linux work》第十五章 開發工具

第 15 章 開發工具 Linux and Unix are very popular with programmers, not just due to the overwhelming array of tools and environments available but also because the system is exceptionally well documented an

Linux , 翻譯

阿東 - 【Linux】《how linux work》第十六章 從 C 源代碼編譯軟件入門

第 16 章 Introduction to Compiling Software From C Source Code(從 C 源代碼編譯軟件入門) Most nonproprietary third-party Unix software packages come as source code that you can build and install. One reason for th

Linux , 翻譯

阿東 - 【Linux】《how linux work》第 十七 章 夯實基礎

Chapter 17. Building on the Basics (第 17 章 夯實基礎) The chapters in this book have covered the fundamental components of a Linux system, from low-level kernel and process organization, to networking, to

Linux , 翻譯 , 後端

阿東 - 《數據密集型應用系統設計》 - 數據編碼和演化

sjmj 《數據密集型應用系統設計》 - 數據編碼和演化 前言 本章的前半部分提到的編碼框架目前在GO領域如魚得水,並且有不少成熟的產品誕生,如果是GO工作者必然會接觸,如果僅僅是試圖瞭解該領域設計的一些技術架構,這一章更多的是掃盲和拓展眼界。 本章節的後半部分討論的RPC和SOAP,以及基於WebService服務跨語言通信服務,和RPC通信協議,但是WebService這東西現在用的人越來越少

編碼

阿東 - 【Java】BIO源碼分析和改造(GraalVM JDK 11.0.19)

引言 本文介紹網絡IO編程的入門部分,Java 的傳統BIO Socket編程源碼分析,瞭解如何將BIO阻塞行為accept() 和 read() 改造為非阻塞行為,並且將結合Linux文檔介紹其中的機制,文檔中描述瞭如何處理Socket的accept,對比Java的Socket實現代碼,基本可以發現和Linux行為基本一致。 廢話不多説,我們直接開始。 draw.io 文件 本文涉及的個人源碼分

socket , JAVA , socket編程

阿東 - 【Linux】accept(2) - Linux man page

原文網址 accept(2): accept connection on socket - Linux man page (die.net) Name accept, accept4 - accept a connection on a socket accept, accept4 - 接受套接字上的連接 Synopsis include sys/types.h / See NOTES /#inc

socket , Linux

阿東 - 【Tomcat】《How Tomcat Works》英文版GPT翻譯(第十八章)

Chapter 18: Deployer Overview(概述) For a web application to be available, the context representing it must first be deployed to a host. In Tomcat, a context can be deployed as a WAR file or by copying

tomcat , JAVA

阿東 - 【Tomcat】《How Tomcat Works》英文版GPT翻譯(第十九章)

Chapter 19: Manager Servlet 注意:由於Tomcat 4中的Manager應用程序比Tomcat 5中的稍微簡單一些,它是一個更好的學習工具,因此在本章中進行了討論。 閲讀本章後,您應該也能理解Tomcat 5中的Manager應用程序的工作原理。 以下是Tomcat 4中部署描述符中的Servlet元素。 Overview(概述) Tomcat 4 and 5

tomcat , JAVA

阿東 - 【Tomcat】《How Tomcat Works》英文版GPT翻譯(第二十章)

Chapter 20: JMX-Based Management(第 20 章:基於 JMX 的管理) Chapter 19 discussed the Manager application. It showed that the ManagerServlet class implemented the ContainerServlet interface to get access to Ca

tomcat , JAVA

阿東 - 【Java】What is does %20 and %30 mean in URL

原文 https://www.quora.com/What-is-does-20-and-30-mean-in-URL 引言 The %20 and %30 in a URL you are referring to is what’s known as URL encoding converts. URL encoding converts characters into a format th

JAVA , url

阿東 - 《第11枚戒指》為什麼頂級巨星都願為他打雜?解碼“禪師”傑克遜

本書鏈接:https://pan.quark.cn/s/f2e194027e88 ,或者關注 GZH 懶時小窩 後台發送 戒指,歡迎+V adong499 交流副業心得。 《第11枚戒指》(_Eleven Rings: The Soul of Success_)是NBA傳奇教練菲爾·傑克遜(Phil Jackson)的自傳,由他本人與作家休·迪裏漢提(Hugh Delehanty)共同撰寫。

讀書 , 讀書筆記

阿東 - 《How To Be Intresting》步驟十:無視責罵

引言 2023年被某寶算法推薦而購買的一本書,這本書採用了一種新穎而引人入勝的方式來傳達智慧——通過漫畫。 下面為個人根據原書內容配合工具做的翻譯,當然漫畫中的部分英文有點”抽象“沒法理解實際單詞,如果存在錯誤歡迎在評論區指出。 介紹 探索未知 -- 分享所發現 -- 去做點什麼 -- 擁抱你的怪異 -- 擁有一項事業 -- 減少自負 -- 試一試 -- 擺脱隨波逐流 -- 勇敢面對困難 --

讀書 , 英文關鍵詞完全匹配 , 讀書筆記 , 英文

阿東 - 《How To Be Intresting》步驟九:勇敢一點

引言 2023年被某寶算法推薦而購買的一本書,這本書採用了一種新穎而引人入勝的方式來傳達智慧——通過漫畫。 下面為個人根據原書內容配合工具做的翻譯,當然漫畫中的部分英文有點”抽象“沒法理解實際單詞,如果存在錯誤歡迎在評論區指出。 介紹 探索未知 -- 分享所發現 -- 去做點什麼 -- 擁抱你的怪異 -- 擁有一項事業 -- 減少自負 -- 試一試 -- 擺脱隨波逐流 -- 勇敢面對困難 --

讀書 , 英文關鍵詞完全匹配 , 讀書筆記 , 英文

阿東 - 《How To Be Intresting》步驟八: 不要跟風或退出潮流

引言 2023年被某寶算法推薦而購買的一本書,這本書採用了一種新穎而引人入勝的方式來傳達智慧——通過漫畫。 下面為個人根據原書內容配合工具做的翻譯,當然漫畫中的部分英文有點”抽象“沒法理解實際單詞,如果存在錯誤歡迎在評論區指出。 介紹 探索未知 -- 分享所發現 -- 去做點什麼 -- 擁抱你的怪異 -- 擁有一項事業 -- 減少自負 -- 試一試 -- 擺脱隨波逐流 -- 勇敢面對困難 --

讀書 , 讀書筆記 , 英文