반응형

분류 전체보기 238

uwsgi / blist

개발 환경 관련 모듈 설치1. uwsgi : (1) download : http://projects.unbit.it/uwsgi/ (2) 설치 방법 : http://uwsgi-docs.readthedocs.org/en/latest/Install.html python uwsgiconfig.py --build (3) 시냅틱에서 추가 설치 모듈 : python-uwsgidecorators uwsgi uwsgi-core uwsgi-plugin-greenlet-python uwsgi-plugin-http uwsgi-plugin-python uwsgi-plugin-rpc uwsgi-plugin-signal uwsgi-plugin-ugreen (4) uwsgi path 잡기 /home/계정/bin/ 에 symbolic..

Program/Python 2014.02.28

[프로젝트 회고] CannonWars

CannonWars 프로젝트 회고 2013/05 월경 투입 13/06월말 당시상황 : 통신개발 완료상태, 기본프로토콜 동작상태 ( 로그인, 매치, 전투데이터 전달 ) 상용목적의 c++ 개발서버를 처음 개발시작 gtest, protobuf, gflags, glog 라이브러리 처음으로 접함 gtest 테스트 주도개발을 하는데 있어서 굉장히 편리한 툴이였으나 유닛테스트 단위를 넘어 통합테스트 까지 하다보니 규모가 커졌음. 다음에는 유닛테스트 단위까지만 사용하는게 좋지 않을까.. protobuf 처음 접해본것이였는데 사용법, 성능, 확장성 모두 굉장히 뛰어났다. 단점은 proto-net 이용시 optional 값에 버그가 있다 ( 디폴트 지정하지 않았을시 오류남 ) gflags 플래그 관리를 편리하게 하는 도구..

Program 2014.02.25

Annotated postgresql.conf and Global User Configuration (GUC) Guide

http://www.varlena.com/GeneralBits/Tidbits/annotated_conf_e.html Annotated postgresql.conf and Global User Configuration (GUC) GuideConf SettingRangeResourcesDefaultSET-oDocumentationCommentsConnections and AuthenticationConnection Settingstcpip_sockettrue, falsenonefalseNo-iIf this is true, then the server will accept TCP/IP connections. Otherwise only local Unix domain socket connections are a..

카테고리 없음 2013.08.19

PHP+MySQL을 이용한 웹게임 개발

이 문서는 PHP + MySQL로 웹게임 제작시 고려해야할 기술적인 문제에 대해 정리한 것이다.Contents [hide]1 Concurrency control2 Development design3 Performance4 Web server5 Database6 Deadlock7 Authentication8 Security9 External links[edit]Concurrency control여러 명이 서버에 여러명이 접근하게 되면 웹게임이든 온라인 게임이든 동시성(concurreny)을 고려하고 제작을 해야한다. 동시에 여러명의 사용자가 게임에 접근하게 되면 database의 쿼리나 PHP코드 실행 순서 동기화가 깨지면서개발자가 생각하지 못한 식으로 갱신이 이루어지게 될 수 있다.예를 들어 PHP 스크..

카테고리 없음 2013.08.12

구글 프로토콜 버퍼 (Google Protocl Buffer)

PPT 작성 자료 googleProtocolBuffer.pdf Google Protocol buffer from knight1128 * 배경 RPC와 쉽게 연동, Not RPC 하나의 개념으로 다양한 언어에서 쓸 수 있게 구글에서 다양한 언어별로 개발 하다 보니. 통신을 위한 단일 표준이 필요 proto 파일 -> proto 컴파일러 -> 여러 언어로 변환 (java, python, c++)Not socket 구글 에서 2008년 7월 발표 이슈 제시 - XML 문제 - Parsing, serialization (debugging) - Portable : IDL처럼 사용 - Heavy Optimization - Language 지원 짧은 데이터의 송수신 용도/긴 데이터 송수신이 목표가 아님* XML 보다..

Program/C & C++ 2013.06.10
반응형