글
CPU LOAD GENERATOR
카테고리 없음
2015. 8. 11. 10:14
시스템 구조를 제안할때 인위적인 CPU 부하 발생이 요구되는 경우가 있다.
단계별로 부하가 증가함을 보이고 싶을때 Linux stress와 같은 응용은 특정 코어의 부하를 100%으로 만들기때문에
적용이 난감하다.
이경우 https://github.com/ptitiano/cpuloadgen 를 쓰면 특정 코어에 데해 자신이 원하는 퍼센테이지만큼의 부하를 가할 수 있다.
글
distinctive syntax of javascript
JS
2014. 6. 19. 19:10
You can create an array object of user collection as
var users = {};
then on server side you can add it as new user when you connect
socket.on('new-user', function (username) {
users[username] = username;
});
while displaying the users, you can loop the "users" object
On Client side
var socket = io.connect();
socket.on('connect', function () {
socket.emit('new-user', 'username');
});
http://stackoverflow.com/questions/18093638/socket-io-rooms-get-list-of-clients-in-specific-room
글
버추얼박스에서 돌리는 안드로이드에서 멜론이 동작하지 않을때
낙서장
2014. 6. 15. 02:03
맥을 사용할경우 맥에서 멜론을 돌릴 방법이 없기때문에
블루스택이나 버추얼박스를 이용한다.
블루스택이 좋긴한데,,, 너무 느려서 버추얼박스를 이용한다.
버추얼박스로는 이상하게 멜론 태블릿 버전은 재생이 되지만
스마트폰용은 재생이 되질 않는다.
아마 캐싱문제인듯 싶고, 설정에가서 해당 설정을 해제하면 재생되는것을 확인할 수 있다.