Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Rose 소개

250 views

Published on

온라인 서비스를 구축하는 가장 빠른 방법.

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ..................................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookeBOOK Crime, eeBOOK Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ..................................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookeBOOK Crime, eeBOOK Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Rose 소개

  1. 1. ROSE Rapid Online Service Engine ServerLab, 2017 reinlainer@gmail.com
  2. 2. ROSE Documents Title Link ROSE Introduce https://www.slideshare.net/ssuser3d4c05/rose-72731863 Sample - Ranking https://www.slideshare.net/ssuser3d4c05/rose-sample Homepage: E-Mail: http://www.iserverlab.net reinlainer@gmail.com
  3. 3. 1. Introduce
  4. 4. 1.1. Introduce – ROSE ? JSON Storage Rose Engine HTTP Network Handler Mobile App Web PC App ROSE Cache  원격 JSON 저장소  메모리 캐시 서버  CRUD 명령 지원  HTTP 통신방식
  5. 5. 1.2. Introduce – ROSE ?  클라이언트가 직접 사용하는 JSON 기반 메모리 서버  CRUD (Insert / Select / Update / Delete) API를 사용하여 데이터 관리  메모리 캐싱을 사용한 빠른 데이터 처리  HTTP 통신 구현이 가능한 모든 곳에서 접속 가능
  6. 6. 1.3. Introduce – 간단한 사용 Client ① HTTP Request { "cmd": "select", "scheme": "userData", "collection": "base", "condition": { "where": "level >= 50" } } JSON Storage [{"userId":"test1","level":43,"rankingCategory":"daily"},{"userId":"test2" ,"level":123,"rankingCategory":"daily"},{"userId":"test3","level":52,"ran kingCategory":"daily"},{"userId":"test4","level":62, : …… ] ROSE ③ HTTP Response [ { "userId": "test2", "level": 123, "rankingCategory": "daily" }, { "userId": "test4", "level": 62, … ] ② 조건에 맞는 데이터 추출 및 처리
  7. 7. 1.4. Introduce – Scheme / Collection 7 Scheme Collection Json 데이터가 실제 저장되는 공간입니다. 예를 들면 파일과 같은 의미 라 할 수 있으며, MS-SQL / MySql 에서의 Table과 같습니다. 데이터 그룹을 분류하는 가장 큰 단위로, Collection들의 집합을 의미합 니다. 예를 들면 폴더와 같은 의미라 할 수 있으며, MS-SQL / MySql 에 서의 DB와 같습니다.
  8. 8. 2. ROSE Server 설치
  9. 9. 2.1. ROSE Server 설치 – 서버 다운로드 9 1. http://cafe.naver.com/serverlab 접속 2. ‘자료실’에서 ROSE Server 최신버전 선택 3. 첨부파일 혹은 [ 다운로드 ] 항목에서 RoseServer 파일 선택 및 다운로드
  10. 10. 2.2. ROSE Server 설치 – RoseBench 다운로드 10 1. http://cafe.naver.com/serverlab 접속 2. ‘자료실’에서 ROSE Bench 최신버전 선택 3. 첨부파일 혹은 [ 다운로드 ] 항목에서 RoseBench 파일 선택 및 다운로드
  11. 11. 2.3. ROSE Server 설치 – 서버 실행 (1) 11 1. 다운로드 파일 압축 해제 2. RoseServer.exe 실행
  12. 12. 2.4. ROSE Server 설치 – 서버 실행 (2) 12 1. Start 버튼 클릭 2. 서버가 실행된 화면
  13. 13. 3. RoseBench
  14. 14. 3.1. ROSE Bench – 설정 14 Rose 기본 API를 사용하기 위한 URL 관리용 API를 사용하기 위한 URL
  15. 15. 3.2. ROSE Bench – Scheme 생성 1. 좌측 Schemes View에서 최상단의 rose 항목 선택 후 오른쪽 클릭 2. Create Scheme 선택 3. Scheme 이름 입력
  16. 16. 3.3. ROSE Bench – Collection 생성 16 1. 좌측 Schemes View에서 myStorage 항목 선택 후 오른쪽 클릭 2. Create Collection 선택 3. Collection 이름 입력
  17. 17. 3.4. ROSE Bench – Management View 17 CRUD API를 쉽게 사용할 수 있는 인터페이스
  18. 18. 4. CRUD Command
  19. 19. 4.1. CRUD Command – Insert 19  특정한 경우 Insert를 수행하지 않도록 조건절 (Not exists) 지정 가능  Collection에 userId == ‘test1’ 조건을 만족하는 결과가 없는 경우 Insert 수행  Data에 입력된 Json을 Collection에 추가 Json 형식의 데이터를 Collection에 추가하는 명령
  20. 20. 4.2. CRUD Command – Select (1) 20  [ 조건절, 범위지정, 정렬 ] 조건을 설정 가능 서버에 저장되어 있는 데이터를 가져오는 명령
  21. 21. 4.3. CRUD Command – Select (2) 21 조건절을 설정하지 않은 결과  저장된 모든 데이터가 출력 조건절과 정렬을 사용한 결과  조건에 부합하는 데이터가 출력
  22. 22. 4.4. CRUD Command – Update 22 서버에 저장되어있는 데이터를 새로운 데이터로 변경하는 명령  userId가 ‘test1’인 데이터들을 지정한 Json 데이 터로 변경 { "userId": "test1", "password": "asdf123", "level": 1, "credit": 0 } { "userId": "test1", "password": "asdf123", "level": 10, "credit": 0 }
  23. 23. 4.5. CRUD Command – Delete 23 서버에 저장되어있는 데이터를 삭제하는 명령  조건을 지정하지 않은 경우, 해당 Collection의 모 든 데이터를 삭제.  userId가 ‘test1’인 데이터 삭제
  24. 24. 5. ROSE Client
  25. 25. 5.1. Rose.Client.dll 25  ROSE Server와의 통신을 구현한 공식 클라이언트 모듈  Select / Insert / Update / Delete 및 ROSE의 모든 API 기능 제공  C#으로 개발되어 .Net 3.5 이상에서 동작 가능 (Unity 지원)  소스 다운로드 => https://github.com/iServerLab/RoseBench
  26. 26. 5.2. API 처리 과정 26 API 호출 JSON 프로토콜 생 성 서버에 패킷 전송 • HTTP Post 사용 • 비동기 방식 서버응답 대기 • 결과 패킷 분석 • RoseResult 객체 생성 Callback 호출 • RoseResult 전달
  27. 27. 5.3. 호출과정 예시 (1) 27 Select("http://localhost:7159/", "myStorage", "account", "userId == 'test1'", null, OrderBy.Asc, 0, 100, (result) => { // 결과 처리 } ); { "cmd": "select", "scheme": "myStorage", "collection": "account", "condition": { "where": "userId == 'test1'", "orderBy": "asc", "range": [ 0, 100 ] } } ① Select 함수 호출 ② Json 프로토콜로 변환 ③ 서버 전송
  28. 28. 5.4. 호출과정 예시 (2) 28 { "resultCode": 0, "message": "Ok", "processingTime": 0.0, "result": [{ "userId": "test1", "password": "asdf123", "level": 1, "credit": 0 }] } ④ 서버 응답대기 RoseResult class • ResultCode • Message • Response RoseResult 객체 생성 ⑤ Callback 함수 호출 Select("http://localhost:7159/", "myStorage", "account", "userId == 'test1'", null, OrderBy.Asc, 0, 100, (result) => { // 결과 처리 } ); => Select 함수에 지정한 함수 호출
  29. 29. 감사합니다. 더 자세한 정보는 http://cafe.naver.com/serverlab 을 참고해주세요. ServerLab, 2017 reinlainer@gmail.com

×