Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
1
  • Loading branch information
winesoft committed Feb 27, 2015
1 parent 85a93e1 commit 6a55e29
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
6 changes: 6 additions & 0 deletions admin/access_control.kr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,9 @@ $는 "조건에 맞다면 ~ 한다"를 의미하지만 !는 "조건에 맞지
# /secure/ 경로 하위가 아니라면 allow한다.
!URL[/secure/*], allow

Redirect 할 때 클라이언트가 요청한 URI가 필요할 수 있다.
이런 경우 ``#URI`` 키워드를 사용한다. ::

# referer헤더가 존재하지 않는다면 example.com에 요청 URI를 붙여서 Redirect한다.
# 클라이언트 요청은 /로 시작하기 때문에 #URI 앞에 /를 붙이지 않도록 주의한다.
!HEADER[referer], redirect, http://example.com#URI
7 changes: 3 additions & 4 deletions admin/origin.kr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,9 @@ API를 통해 가상호스트의 원본서버 배제/복구를 초기화한다.
재사용할 수 있는 세션이 있다면 우선 사용한다.
신규 세션이 필요하면 Round-Robin으로 할당한다.

- ``Hash``
컨텐츠를 Hash 알고리즘에 따라 원본서버로 분산하여 요청한다.
요청 수가 100이고 원본서버가 4대 라면 각 서버당 25개의 요청이 분산된다.
알고리즘에 의해 서버가 선택되면 Session방식과 동일하다.
- ``Hash``
컨텐츠를 `Consistent Hashing <http://en.wikipedia.org/wiki/Consistent_hashing>`_ 알고리즘에 따라 원본서버로 분산하여 요청한다.
서버가 선택되면 이미 연결된 세션을 재사용하며 없다면 신규로 접속한다.


=========== =================================================================== =====================================================
Expand Down
18 changes: 18 additions & 0 deletions admin/releasenote.kr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ Appendix A: 릴리스 이력
v2.0.x
====================================

2.0.4 (2015.2.27)
----------------------------

**기능개선/정책변경**

- :ref:`origin-balancemode` 의 ``Hash`` 알고리즘 변경

| **Before.** hash(URL) / 서버대수
| **After.** `Consistent Hashing <http://en.wikipedia.org/wiki/Consistent_hashing>`_
|
- :ref:`access-control-vhost` 를 통해 Redirect 할 때 클라이언트가 요청한 URI을 파라미터로 입력할 수 있다.

**버그 수정**

- 캐싱된 파일이 삭제되지 않아 디스크가 꽉 차던 증상



2.0.3 (2015.2.9)
----------------------------

Expand Down
2 changes: 1 addition & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ STON Edge Server 완벽 가이드

:저자: STON 개발팀

:최신버전: 2.0.3, 2015년 2월 9일
:최신버전: 2.0.4, 2015년 2월 27일


1부. STON 기본: 설정 배우기
Expand Down

0 comments on commit 6a55e29

Please sign in to comment.