CDN 필요하면 edgemesh.com 사용해보세요

October 5, 2017

콘텐츠 전송 네트워크 (CDN) 필요할까요? 아마 edgemesh.com 사용해보세요. 기본 구독이 무료예요!

시작

먼저 https://edgemesh.com에 회원가입해야 되고 당신의 웹사이트 이 JavaScript를 추가해요:

<script
    type="application/javascript"
    src="https://sig.edgeno.de/edgemesh.client.min.js"
    onload="window.edgemesh = new Edgemesh()">
</script>

완전했어요. 진짜요!

Continue reading →

Adding Timestamp to Logs

September 27, 2017

How many small script or process do you have which just log to stdout/stderr? A few, dozens? Their running as cronjobs or service? Stashing the logs somewhere, like:

./produces-some-log.sh 2>&1 > log-of-my-script.log
Continue reading →

Java’s Enum.values() Hidden Allocations

August 31, 2017

I recently profiled an app of mine. During profiling, I’ve noticed tons of array allocations. Something like:

Allocation Madness
Continue reading →

Deploying JVM in tiny containers, be careful!

April 25, 2017

I`ve deployed my https://rohrli.gamlor.info service into the smallest possible 2017-04-25-jvm-in-containers[Triton] container. Except me, noone is going to use it anyway -. This container has 128Mbyte of memory, and 1/16th CPU time. The OpenJDK JVM is known for consuming tons of memory. And it is somewhat true. However, the JVM also runs in a small container. In this blog post I give some recommendations. The problems exists in small Docker and Triton containers. I show everything for both.

Chrome and JVM Eating Memory
Figure 1. Chrome & JVM eat memory generously
Continue reading →

JVM는 작은 컨테이너 안에 배포하면 주의!

April 24, 2017

저는 저의 https://rohrli.gamlor.info 서비스가 재일 작은 트리톤(Triton) 컨테이너 안에 배포됐어요. 저 말고 아무도 사용해서 괜찮아요 -. 이 컨테이너는 128MB 메모리만 있고, 1/16CPU만 있어요. OpenJDK JVM은 메모리를 많이 사용하기 잘 알려져요. 부분적으로 사실이에요. 근데 JVM이 작은 컨테이너 안에 도 작동해요. 이 글에는 조언을 제공할 거예요. 모은 작은 도커(Docker)와 트리톤 컨테이너가 이 문제 있어요. 제가 둘 다 보여줄 거예요 =)

Chrome와 JVM 메머리 잘 먹어요
Figure 1. Chrome와 JVM 메머리 잘 먹어요.
Continue reading →