목록분류 전체보기 (556)
른록노트
1. Yum이란? (https://wiki.centos.org/PackageManagement/Yum)Yellow dog Updater, Modified (Yum) is the default package manager used in CentOS ( all versions ).노란 강아지 업데이터는 CentOS에서 사용되는 패키지 관리프로그램이다. It is used to install and update packages from CentOS (and 3rd party) Repositories.이것은 CentOS(및 타사) 저장소에 설치나 업데이트를 할때 사용된다.Managing Software with Yum is an online manual, available at http://www.centos...
1. elastic conf log4j 파일을 편집한다2. log level 이라는 값에 info 로 설정한다. (error 로 설정하면 에러 로그만 찍힘) 참고사이트https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html
예시)2012년 1월 2일을 지정하고싶다면 var nowDate = new Date(2012,1,2);이렇게하면 틀린것이다결과는 2012년 2월 2일로 나온다 왜냐하면 두번째 인자인 'Month'은 0부터 시작한다 그러므로 맞게 작성하려면var nowDate = new Date(2012,0,2);이렇게 적어야한다.
1. When can I get it delivered?=> 언제쯤 배달되요? 2. Do you offer delivery service?=> 배달 되나요? 3. I'd like exchange this, please=> 이걸 교환하고 싶어요.
1. Do you want to go somewhere else?=> 다른자리로 옮길까요? 2. Let's go somewhere else=> 다른곳으로 가자 3. i think i'm going to throw up=> 토 나올것 같아
String test = regex test var replace = "regex";var re = new RegExp(replace,"g");
참고사이트http://java-performance.info/base64-encoding-and-decoding-performance/
결론이레스틱은 루신을 사용하는 빅데이터이기때문에 많은 용량을 차지하는 document를 넣으면 루신 segment병합 과정에서 많은 IO가 발생할 수 있어서 파일을 elastic에 저장하는 방식이 아닌 fileserver를 따로 두는것을 추천한다(couchdb). 만일 base64방식으로 이레스틱에 Binary 파일을 저장할때 메모리 아웃이 자주 발생 할 수 있는데 jvm의 성능을 높혀도 일정 용량 이상에서 메모리아웃이 발생한다. 하지만 100mb정도는 max size로 지정하여 이레스틱에 사용 할 수 있다고 한다. 참고사이트https://discuss.elastic.co/t/storing-binary-files-in-elastic/63078/7https://discuss.elastic.co/t/best..