Programming/Java(Spring)2019. 6. 7. 15:59

해당 옵션이 true 라서 war 파일 넣어두고 서버 재시작 하면 배포 되어 버리는 듯

 

unpackWARs
Set to true if you want web applications that are placed in the appBase directory as web application archive (WAR) files to be unpacked into a corresponding disk directory structure, false to run such web applications directly from a WAR file. See Automatic Application Deployment for more information.

[링크 : http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Standard_Implementation]

[링크 : https://okky.kr/article/130341]

'Programming > Java(Spring)' 카테고리의 다른 글

mvn -P profile  (0) 2019.06.08
tomcat9 on ubuntu18.04  (0) 2019.06.07
tomcat manager GUI  (0) 2019.06.07
WARNING: An illegal reflective access operation has occurred  (0) 2019.06.05
spring에 angluar 통합하기  (0) 2019.06.04
Posted by 구차니
Programming/node.js2019. 6. 7. 15:34

node.js와 chromium 을 통합해 웹어플을 데스크탑 어플로 만들어 주는 녀석

크롬도 수정해서 require 쓸수 있게 하고

보안상의 문제로 별도의 express.js를 못쓰게 한다는데

아무튼 결국에는 node.js와 통신해서 웹과 무언가를 주고받는걸 찾아야 할듯

(근데 얘로 vscode를 만들었다는데 좀 쩌는 듯.. atom을 써봐야하나?)

 

[링크 : https://electronjs.org/docs/tutorial/application-architecture#main-and-renderer-processes]

[링크 : https://electronjs.org/docs/api/ipc-main]

[링크 : https://electronjs.org/docs/api/ipc-renderer]

'Programming > node.js' 카테고리의 다른 글

node.js Javascript heap out of memory  (0) 2019.06.19
node.js 용량 제한(?)  (0) 2019.06.18
electron.js  (0) 2019.06.03
npm-run-all 병렬 빌드 (실패)  (0) 2019.05.29
pdf 내용 추출  (0) 2019.05.27
Posted by 구차니

의외로 postgres 서버의 메모리 늘리는 것은 크게 영향이 없는 듯 하고

설정 파일에서 이것저것 고친거랑.. cpu 갯수 늘린게 영향을 주려나?

일단은 확실한 벤치를 한건 아니지만 ramdom_page_cost 늘린게 가장 큰 영향을 주는 듯

 

work_mem
As I mentioned earlier, memory allocation and management is a big part of performance-tuning PostgreSQL. If your system is doing a lot of complex sorts, increasing the sort memory can help the database optimize its configuration for your setup. This allows PostgreSQL to cache more data in memory while it performs its sorting, as opposed to making expensive calls to the disk.

random_page_cost
This setting essentially is the amount of time that your optimizer should spend reading memory before reaching out to your disk. You should alter this setting only when you’ve done other plan-based optimizations that we’ll cover soon, such as vacuuming, indexing, or altering your queries and schema.

These are just some of the optimizations you can make for database configurations, but there are plenty more. Now that you know how to tweak your database setup, let’s look at another area for investigation: vacuuming.

[링크 : https://stackify.com/postgresql-performance-tutorial/]

 

shared_buffers =  — Editing this option is the simplest way to improve the performance of your database server. The default is pretty low for most modern hardware. General wisdom says that this should be set to roughly 25% of available RAM on the system. Like most of the options I will outline here you will simply need to try them at different levels (both up and down ) and see how well it works on your particular system. Most people find that setting it larger than a third starts to degrade performance.


effective_cache_size =  — This value tells PostgreSQL's optimizer how much memory PostgreSQL has available for caching data and helps in determing whether or not it use an index or not. The larger the value increases the likely hood of using an index. This should be set to the amount of memory allocated to shared_buffers plus the amount of OS cache available. Often this is more than 50% of the total system memory.


work_mem =  — This option is used to control the amount of memory using in sort operations and hash tables. While you may need to increase the amount of memory if you do a ton of sorting in your application, care needs to be taken. This isn't a system wide parameter, but a per operation one. So if a complex query has several sort operations in it it will use multiple work_mem units of memory. Not to mention that multiple backends could be doing this at once. This query can often lead your database server to swap if the value is too large. This option was previously called sort_mem in older versions of PostgreSQL.

[링크 : https://www.revsys.com/writings/postgresql-performance.html]

'프로그램 사용 > postgreSQL' 카테고리의 다른 글

postresql backup & recovery  (0) 2019.06.12
postgresql schema  (0) 2019.06.12
postgresql drop all tables  (0) 2019.06.05
postgresql import from csv  (0) 2019.06.04
postgresql password chg  (0) 2019.06.04
Posted by 구차니
Programming/Java(Spring)2019. 6. 7. 10:22

tt
0.00MB

에디터 바뀌면서 <> 들어가면 다 날려버려 내용이 안들어가네

어떻게 해야하지? -_-


[링크 : 
https://elfinlas.tistory.com/369]

[링크 : https://cpdev.tistory.com/110]

'Programming > Java(Spring)' 카테고리의 다른 글

tomcat9 on ubuntu18.04  (0) 2019.06.07
tomcat 자동 war 배포 막기  (0) 2019.06.07
WARNING: An illegal reflective access operation has occurred  (0) 2019.06.05
spring에 angluar 통합하기  (0) 2019.06.04
spring war와 war.original  (0) 2019.04.23
Posted by 구차니

중고로 3.3만 + 3000 나왔는데

 

지금 쓰는거랑 같은 단자 구성이고(DVI * 2 / mini HDMI)

성능은 향상, 전력 소비는 TDP 기준 65W -> 60W로 하락

외부 전원도 필요없는 저전력 제품이라 확실히 소비전력을 줄어들 듯

 

 

근데 막상 게임도 잘 안하면서 왜 또 이런거에 꽂히는지.. 후...

 

[링크 : http://prod.danawa.com/info/?pcode=2469347&cate1=0&cate2=0&cate3=0&cate4=0]

[링크 : http://gpuboss.com/gpus/GeForce-GTX-750-Ti-vs-GeForce-GTX-650]

[링크 : https://www.gpucheck.com/ko-krw/compare/nvidia-geforce-gtx-750-ti-vs-nvidia-geforce-gtx-650/.../]

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

오늘의 지름!  (3) 2019.06.20
지름 도착  (2) 2019.06.10
망할 서버 지름신..  (2) 2019.06.05
키보드 도착  (6) 2019.06.04
고민하다 일단 기계식 키보드 (청축) 하나 지름  (6) 2019.06.03
Posted by 구차니

Dell R510의 경우 8bay와 12bay가 있는데

12bay는 내부에 2bay SATA HDD 가 존재해서 부팅용으로 따로 쓴다.

그런데 8bay는 앞에 8bay와 ODD 뿐이라 부팅용으로 하나의 하드를 따로 설정을 해야한다.

그래서 ODD를 빼고 멀티부스트에 앞에 커버 벗겨내고 쓰면 딱 맞다고..

어짜피 SATA ODD 부팅은 기본 지원할테니 거기다가 SATA SSD 달면 딱이라는데..?

 

[링크 : https://.../amp.reddit.com/r/homelab/comments/4x7y5h/dell_r510_replace_dvd_with_hard_drive/]

'하드웨어 > Server Case & board' 카테고리의 다른 글

R420 PERC H310 Mini 용량 인식 테스트  (0) 2019.07.25
memory rank 와 RDIMM  (0) 2019.07.02
option rom  (0) 2019.06.03
서버 (리던던시) 파워  (0) 2019.05.02
idrac 재시작 하기  (0) 2019.03.12
Posted by 구차니
Programming/Java(Spring)2019. 6. 5. 22:25

openJDK-11 이 깔려서 생기는 문제..

라고 하는데, 경고라서 무시해도 되려나?

일단 openJDK-8-jre를 설치하니 경고가 없이 실행된다.

 

[링크 :https://okky.kr/article/487270]

'Programming > Java(Spring)' 카테고리의 다른 글

tomcat 자동 war 배포 막기  (0) 2019.06.07
tomcat manager GUI  (0) 2019.06.07
spring에 angluar 통합하기  (0) 2019.06.04
spring war와 war.original  (0) 2019.04.23
java app 메모리 상태 확인하기  (0) 2019.04.18
Posted by 구차니
Programming/web 관련2019. 6. 5. 20:09

추천 웹 프레임 워크

이거 쓰면 창 만들고 그런게 쉬워져서 좋아 보이긴 하는데...

유료는 드럽게 비싸네..

 

[링크 : https://www.slant.co/options/852/alternatives/~kendo-ui-alternatives]

'Programming > web 관련' 카테고리의 다른 글

크롬 확장도구 - json viewer  (0) 2019.08.07
resizable table cell  (0) 2019.06.17
ECDHE?  (0) 2019.04.26
css position  (0) 2019.03.28
webpack  (0) 2019.02.20
Posted by 구차니
프로그램 사용/nmap2019. 6. 5. 16:40

nmap 에서 자동으로 cve 취약점 번호를 뱉어내주네?

다만 git으로 설치시 경로를 잘 잡아 주어야 한다.

 

[링크 : https://null-byte.wonderhowto.com/how-to/easily-detect-cves-with-nmap-scripts-0181925/]

'프로그램 사용 > nmap' 카테고리의 다른 글

eth 1394에서의 nmap 실행 실패  (0) 2011.12.31
nmap 도움말  (2) 2010.10.11
nmap for windows(zenmap)  (0) 2010.10.01
Posted by 구차니

점점 구체화 되어가는중.. ㅠㅠ

 

Dell R510 3.5 8bay 혹은 12bay

[링크 : http://i.dell.com/.../dell-poweredge-r510-technical-guide.pdf]

 

Xeon L5630 or Xeon L5609(공식 지원, 2012년 문서)

둘다 40W TDP / 32.5W 정도 먹는걸로

[링크 : http://cpuboss.com/cpus/Intel-Xeon-L5630-vs-Intel-Xeon-L5609]

 

8베이에 6T * 8 RAID6가 가능하면.. 36TB 짜리 볼륨을 만들수 있는데

저전력으로 꼽고 하면 한 60W 넘게 먹을려나? (33W + 2W*8 + 20W?)

 

60W면 월 43.2KW 인데 지금 180kw 정도 쓰는데 금액이 부담은 안되도 늘어서 혼날려나..

암튼 맨날 켜놓는건 아니고 백업 스토리지로 필요할때만 NAS랑 데이터 주고 받으면서 hot/cold 데이터 옮기는 용도로 쓰면 전기 걱정 크게 안해도 될거 같은데.. 흐음..

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

지름 도착  (2) 2019.06.10
아.. 누가 미친 지름신좀 말려줘...  (2) 2019.06.06
키보드 도착  (6) 2019.06.04
고민하다 일단 기계식 키보드 (청축) 하나 지름  (6) 2019.06.03
먼가 갑작스런 현자타임  (4) 2019.06.02
Posted by 구차니