본문 바로가기

반응형

전체 글

maven Reactor Options http://blog.sonatype.com/2009/10/maven-tips-and-tricks-advanced-reactor-options/#.VvOjDvmLRaQhttps://books.sonatype.com/mvnref-book/reference/_using_advanced_reactor_options.htmlhttp://blog.akquinet.de/2010/05/26/mastering-the-maven-command-line-%E2%80%93-reactor-options/ Starting with the Maven 2.1 release, there are new Maven command line options which allow you to manipulate the way that Mave.. 더보기
Web Server timeout 1. Aapache http.conf## Timeout: The number of seconds before receives and sends time out.#Timeout 70 workers.properties worker.tomcat.type=ajp13worker.tomcat.port=8001worker.tomcat.connect_timeout=1000worker.tomcat.prepost_timeout=1000worker.tomcat.socket_timeout=70worker.tomcat.connection_pool_timeout=10worker.tomcat.reply_timeout=1000 2. Tomcat server.xml 더보기
Redis Performance Debugging http://lzone.de/blog/Redis%20Performance%20Debugging?mkt_tok=3RkMMJWWfF9wsRons67KZKXonjHpfsX56uolX6KxlMI%2F0ER3fOvrPUfGjI4DT8tgI%2BSLDwEYGJlv6SgFQ7HAMa5m3rgMWRk%3D Monitoring Live Redis QueriesRun the "monitor" command to see queries as they are sent against an Redis instance. Do not use on high traffic instance!redis-cli monitorThe output looks like thisredis 127.0.0.1:6379> MONITOR OK 13712410.. 더보기
Memcached design and comparison with Redis http://key-value-stories.blogspot.kr/2015/02/memcached-internals-design.html?mkt_tok=3RkMMJWWfF9wsRonvKXKZKXonjHpfsX56uolX6KxlMI/0ER3fOvrPUfGjI4DT8BrI%2BSLDwEYGJlv6SgFQ7HAMa5m3rgMWRk%3D DiscussionStrong sides of Memcached, compared to RedisIt is multithreaded, and scales up to 5 concurrent threads (according to the note in memcached source code itself). It sounds plausible.It stores keys and val.. 더보기
httpclient cookie 설정. http://stackoverflow.com/questions/874903/how-can-i-force-javas-httpclient-to-accept-invalid-cookies HttpClient client = new HttpClient(); client.getParams().setParameter("http.protocol.single-cookie-header", true); client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); http://stackoverflow.com/questions/7459279/httpclient-warning-cookie-rejected-illegal-domain-attribute You can.. 더보기
spring 4.1 JSONP support https://spring.io/blog/2014/07/28/spring-framework-4-1-spring-mvc-improvements JSONP is now supported with Jackson. For response body methods declare an @ControllerAdvice as shown below. For View-based rendering simply configure the JSONP query parameter name(s) on MappingJackson2JsonView.@ControllerAdvice private static class JsonpAdvice extends AbstractJsonpResponseBodyAdvice { public JsonpAdv.. 더보기
slf4j multiple bindings error http://stackoverflow.com/questions/19656496/multiple-slf4j-bindings-cause-error slf4j 를 이용한 로깅을 한다면. 로깅 구현체 di 에 주의 해야 한다. 나도 모르게 두개 이상의 로깅 구현체가 있다면, slf4j는 내가 선택한 로깅구현체를 이용 하지 않을 가능성이 있다.이런 경우는 di 들의 모든 참조여부를 확인 할수 밖에 없지만, 친절하게도 slf4 에러 로깅에 친절하게 정보가 나와 있다. 더보기
apache virtual host ip access 설정. http://stackoverflow.com/questions/19711716/apache-restrict-access-to-specific-source-ip-inside-virtual-host The mod_authz_host directives need to be inside a or block but I've used the former within like so: Order deny,allow Deny from all Allow from 127.0.0.1 ... Reference: http://askubuntu.com/questions/262981/how-to-install-mod-authz-host-in-apache 더보기