빅엔디안(Big-Endian), 리틀엔디안(Little-Endian) 자바스크립트의 DataView를 이용하여 바이너리를 메모리에 쓰거나(Write) 전송(Send)하면서 삽질하는 과정들이 저에게는 마냥 신세경입니다. ArrayBuffer API를 소개하면서 간소하게 언급했던 DataView 인터페이스에서 등장하는 리틀엔디안과 빅엔디안에 대한 개념을 탑재해 보겠습니다.컴퓨터에서 어떤 크기의 데이터를 메모리에 저장할 때 바이트 단위로 나누어 저장합니다. CPU 아키텍처에 따라 바이트 저장순서가 달라질 수 있기 때문에 두 가지로 나뉘는 데 그것이 바로 '리틀-엔디안'과 '빅-엔디안' 방식입니다. 어떤 CPU에서는 이 두 가지 방식을 모두 지원하도록 구성할 수도 있답디다.리틀-엔디안 (Little-Endian)낮은(시작) 주소에 하위 바이트부터 기록, Intel CPU 계열 예.. 더보기 thread exception Question::How to catch an Exception from a threadI have Java main class, in the class, I start a new thread, in the main, it waits until the thread dies. At some moment, I throw a runtime exception from the thread, but I can't catch the exception thrown from the thread in the main class.Here is the code:public class Test extends Thread { public static void main(String[] args) throws InterruptedE.. 더보기 Caught exception while handling client http traffic, closing connection [elasticsearch]HTTP content length exceeded 104857600 bytes ExceptionElasticsearch 2015.11.19 19:24 bulk api 호출시 elasticsearch의 HTTP content length 길이 제한으로 인해 에러가 발생할 수 있다.netty 제한 크기 때문에 그렇다. [WARN ][http.netty ] [node_1] Caught exception while handling client http traffic, closing connection [id: 0x7160d228, /1.1.1.1:56212 => /1.2.2.2:9200]org.elasticsearch.common.netty.handler.codec.frame.Too.. 더보기 linux cpu, i/o, memory 사용량 측정 iostat별도의 설치 필요없음, 물리적 드라이버 별로 기본적인 Disk Read/Write 볼 수 있음한 개 이상의 디스크 드라이브에 대한 입출력 통계와 CPU 활용량arg-cpu%user%nice%system%iowait%steal%idle마지막 재부팅 이후의 평균 CPU 활용량어플리케이션 등 사용자 모드에 소모된 시간nice를 사용하여 스케줄링 우선순위가 바뀐 프로세스에 소모된 시간시스템(커널)이 사용한 시간디스크I/O 요청 때문에 CPU가 대기한 시간다른 가상 CPU가 서비스하는 동안 비자발적으로 대기한 시간대기한 시간DevicetpskB_read/skB_wrtn/skB_readkB_wrtn디바이스 구분초당 전송(입출력) 수초당 읽혀진 KB (Blk일 경우 512바이트 블록수)초당 쓰여진 KB (.. 더보기 이전 1 ··· 39 40 41 42 43 44 45 ··· 68 다음