Programming/web 관련2015. 9. 11. 14:44

nginx의 경우 FPU가 있으면 crypto 에 강하지만 없으면 으앙 쥬금이라고 하는데..

다른 서버들은.. crypto를 그럼.. FPU를 안쓰는 건 아닐테고.. 벤치마크가 필요할 듯.

[링크 : http://unix.stackexchange.com/questions/39578/webserver-for-embedded-linux]


nginx

lighttpd

monkey

cherokee

hiawatha

+ goahead

[링크 : https://www.linux.com/../807641-which-light-weight-open-source-web-server-is-right-for-you]


ARM926 에도.. option 항목으로 FPU가 있으나

지금까지 본 녀석들 중에는.. VFP나 FPU 내장된 ARM9 계열은 없었던거 같으니..

크게 기대는 말자..

[링크 : https://www.arm.com/products/processors/classic/arm9/arm926.php]


apache / lighttpd / nginx 벤치마크

[링크 : http://wiki.dreamhost.com/Web_Server_Performance_Comparison]

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

ssi(Server Side Includes)  (0) 2015.12.09
홈페이지 검증  (0) 2015.09.17
DASH - Dynamic Adaptive Streaming over HTTP  (0) 2015.09.11
웹소켓(websocket)  (0) 2015.01.07
html / input type radio에서의 reset 처리  (0) 2015.01.06
Posted by 구차니
Programming/web 관련2015. 9. 11. 13:27

dash.js / HTML5 video 부터 검색하다 보니 나온녀석..

임베디드에서 쓸만한 녀석은.. nginx-rtmp-module 정도인가..


Servers

Note that no specific support is required from the server for DASH content, with the exception of Live Streaming.


Flussonic Media Server has support for DASH.[31]

Helix Universal Server has support for DASH in various modes.

Nginx-rtmp-module supports generating MPEG-DASH live streams since version 1.0.8.[32] They can be played with a modified version of dash.js[33] and with bitdash.[34]

Wowza Streaming Engine has full support for MPEG-DASH.[35]

Akamai CDN supports DASH.[36]

Azure Media Services platform has support for MPEG-DASH.[37]

Limelight Networks CDN supports DASH.[38]

Unified Origin supports MPEG-DASH.[39][40]

bitmovin provides the cloud-based transcoding service bitcodin.com which supports MPEG-DASH.[41]

Nimble Streamer has live and VOD MPEG-DASH support.[42]

[링크 : https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP


MPD - Media Presentation Description

MMT - MPEG Media Transport

[링크 : http://www.tta.or.kr/data/weekly_view.jsp?news_id=3747]


dash.js

[링크 : https://github.com/Dash-Industry-Forum/dash.js/wiki]

[링크 : https://azure.microsoft.com/.../media-services-embed-mpeg-dash-in-html5/]


webm based dash-js ?

[링크 : http://www-itec.uni-klu.ac.at/dash/?page_id=746]



+

우분투에서는 빌드 해야 하네..

[링크 : https://github.com/arut/nginx-rtmp-module]

[링크 : https://www.vultr.com/docs/setup-nginx-rtmp-on-ubuntu-14-04]



+

Using DASH - Server Side

First you'll need to convert your WebM video to a DASH manifest with the accompanying video files in various bit rates. To start with you'll need:


ffpmeg - with libvpx and libvoribis support for WebM video and audio (ffmpeg.org).

libwebm - specifically for the samplemuxer tool (git clone https://gerrit.chromium.org/gerrit/p/webm/libwebm.git)

webm-tools - specifically for the manifest creation tool, webm_dash_manifest (git clone https://gerrit.chromium.org/gerrit/p/webm/webm-tools.git)

[링크 : https://developer.mozilla.org/.../DASH_Adaptive_Streaming_for_HTML_5_Video]

[링크 : https://developer.mozilla.org/.../Setting_up_adaptive_streaming_media_sources]

[링크 : https://developer.mozilla.org/.../Audio_and_video_delivery/Live_streaming_web_audio_and_video]


 It is called HTTP Live Streaming (HLS) and is only supported by Apple's technology. Google (Chromium / YouTube) uses its own implementation called dash mpeg and everybody else is either confused or using H.264 encapsulated in MP4.

[링크 : http://raspberrypi.stackexchange.com/.../how-can-i-stream-h-264-video-from-the-raspberry-pi-camera-module-via-a-web-serve]




--

WebM 파일은 VP8 비디오와 Vorbis 오디오 스트림으로 이루어져 있으며 마트료시카 프로파일에 기반을 둔다.

[링크 : https://ko.wikipedia.org/wiki/WebM]

[링크 : http://www.webmproject.org/]

[링크 : http://wiki.webmproject.org/adaptive-streaming/webm-dash-specification]

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

홈페이지 검증  (0) 2015.09.17
웹 서버별 특징  (0) 2015.09.11
웹소켓(websocket)  (0) 2015.01.07
html / input type radio에서의 reset 처리  (0) 2015.01.06
HTML META cache  (0) 2014.10.20
Posted by 구차니
Programming/web 관련2015. 1. 7. 09:12

web socket은 웹 서버/클라이언트에서 socket을 열어

ajax 보다 편하고 가볍고 빠르게 통신하는 표준규약으로 현재 표준은 아니며 draft 상태이다.


node.js에서는

조금은 더 자동화 시킨 Socket.io 를 제공하지만, node.js 서버 외에는 구현체가 없어서 사용이 용이하지 않다.


web socket은

http, 80번 포트를 사용하며

Protocol Overhead 라는 방식으로 동일 프로토콜 / 커넥션을 이용해

헤더로 구분 복수개의 커넥션을 처리하는 식으로 처리하게 된다.


websocket 헤더는 "Upgrade"로 붙는다.



[링크 : http://helloworld.naver.com/helloworld/textyle/1336]

[링크 : http://caniuse.com/#search=websocket] 지원현황

[링크 : http://en.wikipedia.org/wiki/WebSocket]

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

웹 서버별 특징  (0) 2015.09.11
DASH - Dynamic Adaptive Streaming over HTTP  (0) 2015.09.11
html / input type radio에서의 reset 처리  (0) 2015.01.06
HTML META cache  (0) 2014.10.20
aptana / eclipse  (0) 2014.08.25
Posted by 구차니
Programming/web 관련2015. 1. 6. 09:26

checker 어트리뷰트를 통해 설정해두면

reset시 그 값으로 설정된다.


[링크 : http://www.homejjang.com/05/RadioButton.php]

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

DASH - Dynamic Adaptive Streaming over HTTP  (0) 2015.09.11
웹소켓(websocket)  (0) 2015.01.07
HTML META cache  (0) 2014.10.20
aptana / eclipse  (0) 2014.08.25
node.js  (0) 2014.07.07
Posted by 구차니
Programming/web 관련2014. 10. 20. 09:46

먼가 테스트 하다보니..
Firefox에서 이런 메타 태그가 보여서 성능 향상에 영향을 미칠까 하고 검색을 해보았지만..



CACHE-CONTROL
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
HTTP 1.1. Allowed values = PUBLIC | PRIVATE | NO-CACHE | NO-STORE. 
 
Public - may be cached in public shared caches 
Private - may only be cached in private cache 
no-Cache - may not be cached 
no-Store - may be cached but not archived

The directive CACHE-CONTROL:NO-CACHE indicates cached information should not be used and instead requests should be forwarded to the origin server. This directive has the same semantics as the PRAGMA:NO-CACHE. 
Clients SHOULD include both PRAGMA:NO-CACHE and CACHE-CONTROL:NO-CACHE when a no-cache request is sent to a server not known to be HTTP/1.1 compliant. 
Also see EXPIRES. 
Note: It may be better to specify cache commands in HTTP than in META statements, where they can influence more than the browser, but proxies and other intermediaries that may cache information.
[링크 : http://www.i18nguy.com/markup/metatags.html]  

정적 데이터에는 유효하나(캐싱된거 다시 쓰니)
동적 데이터(php 라던가?)는 이래저래 의미가 없을 듯 하다.
[링크 : http://blog.saltfactory.net/202]

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

웹소켓(websocket)  (0) 2015.01.07
html / input type radio에서의 reset 처리  (0) 2015.01.06
aptana / eclipse  (0) 2014.08.25
node.js  (0) 2014.07.07
부트스트랩 - 웹개발 프레임워크  (0) 2014.07.07
Posted by 구차니
Programming/web 관련2014. 8. 25. 17:32
이클립스 기반의 웹개발 IDE

[링크 : http://www.aptana.com/]

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

html / input type radio에서의 reset 처리  (0) 2015.01.06
HTML META cache  (0) 2014.10.20
node.js  (0) 2014.07.07
부트스트랩 - 웹개발 프레임워크  (0) 2014.07.07
jsp / php 기본 문법 비교  (0) 2014.07.07
Posted by 구차니
Programming/web 관련2014. 7. 7. 23:15
node.js는 구글의 V8 자바스크립트 엔진을 기반으로 하는 플랫폼이다.
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.

[링크 : http://nodejs.org/

내장 API중 하나인 HTTP를 이용하여 접속시 Hello World를 보여주는 예제라는데...
var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
}).listen(1337, "127.0.0.1");
console.log('Server running at http://127.0.0.1:1337/');

[링크 : http://nodejs.org/about/


요즘 임베디드에서 node.js로 GPIO 제어하는게 많이 보이는데
음.. 가볍게 테스트용도로 쓰기에는 좋으나 제품으로 쓰기에는 조금 사양이 높은 임베디드에서나 가능하려나?
V8 엔진은 Garbage collection  기반의 메모리 관리를 하기 때문에, GC시 CPU 사용률이 Spike를 치면서 순간적으로 서버를 멈추게할 수 있다는 문제점

[링크 : http://bcho.tistory.com/876

[링크 : http://www.slideshare.net/jeongsangbaek/nodejs-15279050]
[링크 : http://www.nodebeginner.org/index-kr.html]

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

HTML META cache  (0) 2014.10.20
aptana / eclipse  (0) 2014.08.25
부트스트랩 - 웹개발 프레임워크  (0) 2014.07.07
jsp / php 기본 문법 비교  (0) 2014.07.07
post 방식과 get 방식의 차이점(cache)  (0) 2014.05.15
Posted by 구차니
Programming/web 관련2014. 7. 7. 22:46

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

aptana / eclipse  (0) 2014.08.25
node.js  (0) 2014.07.07
jsp / php 기본 문법 비교  (0) 2014.07.07
post 방식과 get 방식의 차이점(cache)  (0) 2014.05.15
sql designer(web)  (0) 2014.05.11
Posted by 구차니
Programming/web 관련2014. 7. 7. 12:53
귀찮아서 대충 정리..

jsp
<%@ %> 
<% %>
${variable}

php
<? ?>
$variable

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

node.js  (0) 2014.07.07
부트스트랩 - 웹개발 프레임워크  (0) 2014.07.07
post 방식과 get 방식의 차이점(cache)  (0) 2014.05.15
sql designer(web)  (0) 2014.05.11
호스팅어 / 무료 웹 호스팅  (4) 2014.04.27
Posted by 구차니
Programming/web 관련2014. 5. 15. 17:10
구글에서 검색을 해보면
왜이렇게 미친듯이 get 방식으로 길게 인자를 넘겨주나 싶었는데
캐시 정책에서 차이가 있기 때문에
대규모 요청이 들어오는 검색 엔진에서는
post로 캐싱도 못하고 노가다(?) 하는 것 보다는
get 방식으로 URL을 노출 시키고 캐싱으로 커버하는게 유리할 것으로 생각된다.


[링크 : http://www.w3schools.com/tags/ref_httpmethods.asp]

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

부트스트랩 - 웹개발 프레임워크  (0) 2014.07.07
jsp / php 기본 문법 비교  (0) 2014.07.07
sql designer(web)  (0) 2014.05.11
호스팅어 / 무료 웹 호스팅  (4) 2014.04.27
ie8 과 크롬의 html 태그 파싱 차이점  (0) 2014.04.10
Posted by 구차니