青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

Fork me on GitHub
隨筆 - 215  文章 - 13  trackbacks - 0
<2017年11月>
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789


專注即時通訊及網游服務端編程
------------------------------------
Openresty 官方模塊
Openresty 標準模塊(Opm)
Openresty 三方模塊
------------------------------------
本博收藏大部分文章為轉載,并在文章開頭給出了原文出處,如有再轉,敬請保留相關信息,這是大家對原創作者勞動成果的自覺尊重!!如為您帶來不便,請于本博下留言,謝謝配合。

常用鏈接

留言簿(1)

隨筆分類

隨筆檔案

相冊

Awesome

Blog

Book

GitHub

Link

搜索

  •  

積分與排名

  • 積分 - 220944
  • 排名 - 117

最新評論

閱讀排行榜

Introduction 介紹

 
     Welcome to the Photon Server documentation. If you are looking for the Photon Cloud documentation, please go over here . —— Photon云文檔
 
     The documentation is split into three topics: Getting Started, Tutorials, References. Just head over there using the links below and take a look. You will always have quick access to the topics via the navigation menu on the right.
     分為三部分:開始,教程,參考文獻
 
 
     If you are completely new to the world of Photon scroll down to the comparison chart below. It will help you to understand the differences and what Photon product better suits your needs.
     下表是Photon產品比較,便于你選擇更適合的產品
 
  • Photon Server vs. Photon Cloud    Photon服務器與Photon云
 
     Photon Server is a On Premise (OnPrem) server application that you can run and host on machines of your choice. Fully customizable and the authoritative control gives you the freedom to configure and set up your own infrastructure for multiplayer enabled applications.
     Photon服務器 是一個服務器應用程序,可以在你選擇的機器上運行,并且完全是自定義和權威性的控制,你可以自由的配置和部署多人應用的基礎設施。
 
     Photon Cloud is a Software as a Service (SaaS) and as such a fully managed service. You can completely concentrate on your application client while hosting, server operations and scaling is all taken care of in the Photon Cloud.
     Photon云 是一個軟件即服務并且是完全的托管服務,你可完全關注于你的應用客戶端,而處理服務器操作和應用擴展是由Photon云負責。
 
Photon Cloud 云 Photon Server 服務器
Server Administration. Zero server hassle anymore. Sit back and relax while our experts take care of running the servers. 服務器管理:由云負責,零麻煩。 You gain full authority of running Photon for your applications. You run your own servers or rent fitting ones and make sure they are available for your users. Photon's logs and performance counters provide all necessary information about low level performance and stability.
你可以在你的服務器上運行你的應用,以確保對于你的用戶是可用的,Photon的日志和性能監視器提供了最低水平的性能與穩定性的信息。
Scalability. The Photon Cloud scales automatically to accommodate all your users. Using our SDKs your client application is built for an efficient load balancing workflow. 可擴展性:Photon云自動適應你所有的用戶,使用我們的sdk客戶端應用程序是建立了一個有效負載平衡的工作流。 Our load balancing power-up is available in source code. It is a solid foundation to scale across multiple servers. Running the right number of servers for your customers is your responsibility.
在源代碼中我們的負載均衡是可用的,它是固有的功能可跨越多個服務器,為你的用戶提供正確數量的服務器。
Licensing. Choose between various subscription models from indie development to enterprise solutions check out our different pricing models now . Why don't you just give it a try? Photon Cloud comes with a free Plan for up to 20 CCU per app . 許可:免費版有20個CCU Licenses are bought through the shop and provided as download. Cheaper licenses limit the number of concurrent users per server. Optionally, an Enterprise License is available for any number of servers upon request.
許可證是通過購買的,并提供下載,便宜的許可證是現在用戶數量的,而企業許可證是可提供任意數量的許可。
Game logic. All custom logic takes place on the application client to allow a zero-hassle experience.
游戲邏輯:讓所有在客戶端應用上的通用邏輯有一個零麻煩的體驗
The server's logic can be fully customized in C#. Several pre-defined applications are available as source and provide a high performance framework for your application. Benefit from our protocols and abstraction of low level functionality and add any feature you might be missing.
服務端的邏輯完全是可定制的C#代碼,有幾個內置應用可用于擴展,并且為你的應用提供了一個高性能的框架,得益于我們的協議和抽象的底層功能,并且可以添加任意的功能。
Start instantly. Photon Cloud lets you register and immediately run your application. No setup needed. No server needed. 立即開始:Photon Cloud 使你可以注冊并運行你的應用,并且不需要配置和服務器設備。 Once downloaded, start in less than 5 minutes . Photon is easy to setup and runs locally as well as remote.
下載后,不到5分鐘就可以開始了,Photon是簡單部署就可以運行了。
 

Feature Overview 功能概述

 
     Photon is a real-time socket server and development framework that is fast, simple to use and flexible. Client SDKs are available for all major platforms:
     Photon是一個快速、簡單、靈活、實時的Socket服務器和開發框架,客戶端SDK可用于以下平臺:

 

     The Photon high level architecture looks like this:
     Photon的高級架構體系:
 
 

     Basic Architecture 基本架構

  • The Photon Core is written in native C++ for performance reasons
    • It uses IO Completions Ports (IOCP) for high performance socket handling
    • Implements the heavy “lifting” of the protocols (e.g. reliable UDP)
    • Support relaible UDP, TCP and Web Sockets
          Photon Core是用C++編寫的,這是出于性能考慮
               它使用的是完成端口IOCP,用于高性能套接字的處理
               使用了更好的協議
               支持可靠的UDP,TCP和Web Sockets
  • The Core hosts a .NET CLR which runs the business logic in C#
    • Contains the applications running on Photon
    • Written in C# (or any other .NET language)
          Photon Core 托管著運行業務邏輯的.NET CLR
               包括運行在Photon上所有的應用程序
               用C#編碼

     Server Applications (C#) 服務器應用程序

  • We provide several applications as starting point provided in source C# code
    • Lite: Simple and powerful room based game logic
    • LiteLobby: Lobby functionality and room logic
    • Policy: Policy server for Unity3d, Flash and Silverlight
    • LoadBalancing: Load balanced lite scaling across servers (this is powering our Photon Cloud)
          我們提供了多種應用作為開始點
               Lite:簡單又強大的房間游戲邏輯基礎
               LiteLobby:大廳功能和房間邏輯
               Policy:為U3D,Flash,Silverlight提供的策略服務
               LoadBalancing:負載均衡的Lite擴展服務器
  • The apps are tuned for performance and can be used out of the box or extended
          這些應用是性能調優和可擴展的
  • Convenient xcopy deploy (automatic or manual restart)
          方便部署(自動或手動重啟)

     Protocols 協議層

  • Photon Core supports the follwoing protocols
    • reliable UDP (based on eNET) and specially tuned for Client-2-Server architectures
    • Binary TCP
    • Web Sockets
          Photon Core支持以下協議
               可靠的UDP(基于eNet),專門針對Client-2-Server架構
               二進制TCP
               Web Sockets
  • Transfer protocol is very lean and slim
          傳輸協議很精簡
  • Photon wraps up the networking layer of each client platform
          Photon包含了網絡層的每個客戶端平臺
  • Communicate cross-platform and cross-protocol
          通信是跨平臺和跨協議的
  • Put your data in hashtables and send it: forget about de-/serialization
          你的數據是放在hashtables中進行發送的,無需序列化和反序列化

     Server Dev Framework (C#) 服務器Dev框架

  • All apps sit on top of a development framework that solves common tasks for you
          置于所有應用程序之下的一個開發框架,為你解決通用的任務
  • Simple and flexible mapping of RPC calls to operation instances
          簡單和靈活的映射調用RPC去操作實例
  • Messages passing through fibers solve many threading problems
          信息傳遞是通過線程池來解決多線程的一些問題
  • Designed to saturate bandwidth before the CPU becomes the bottleneck
          在CPU成為瓶頸之前設計成飽和帶寬

     Server Development Tools 服務器開發工具

  • Fully running in Visual Studio » F5 » Debug right from your code!
          完全運行在VS上,F5可以進行調試
  • Use all the first class tools from .NET Development
    • Microsoft: Visual Studio
    • Redgate: Memory Profiler, Performance Profiler, Reflector (see here )
    • Jetbrains: ReSharper, dotTrace, dotCover, dotPeek (see here )
          可使用的工具
               Microsoft:VS
               Redgate:內存分析、性能分析
               Jetbrains:ReSharper, dotTrace, dotCover, dotPeek 

     Data Persistence (DBs) 數據持久層

  • Photon does not provide an persistence layer
          Photon不提供數據持久層
  • .NET/Windows supports all major products
          .NET/Windows提供SQL和NoSQL
  • Usage of ORM (mapping) layers optional
          可使用ORM(對象關系映射)

     Vast Support of Client Platforms 支持的客戶端平臺

 

  • All client platforms interoprate (iOS vs Android vs PC)
          支持所有的客戶端平臺
  • Major client platforms supported 主要的客戶端平臺
    • Unity3d: Inlcuding Web/Standalone (Win, MAC, Linux), iOS, Android (see here )
    • MAC: iOS (iPad, iPhone), Mac OSX
    • Marmalade: iOS, Android, Bada, LG, BlackBerry (see here )
    • Flash & Air: Browser, Standalone, iOS, Android
    • Windows 8, Windows 7, Vista, XP, Windows Server: Native & .NET
    • Windows Phone 7+
    • HTML5: Javascript
    • Android: Java and native (NDK)
    • .NET
    • Mono(跨平臺的.Net運行環境)

     Hosting 托管

  • Host Photon with any major provider
    • PaaS: Platform as a Service
    • IaaS: Infrastructure as a Service
          主要提供者
               平臺即服務
               基礎設施即服務
  • Selected providers 可選供應商
               微軟Azure、Leaseweb、SoftLayer、Rackspace、Amazon EC2

     Support 支持


Requirements 需求

 
     For developing and setting up your own server the following additional software is needed:
     為了開發和配置你的服務器,以下軟件是必需:
 

     Operating System to Run Photon Server 運行Photon服務器操作系統

  • Windows XP, Windows Vista, Windows 7 or Windows 8
  • recommended development OS(開發環境系統): Windows 7 x64
  • recommended production OS(生產環境系統): Windows Server 2008R2 x64

     .NET Framework & Visual Studio (VS) 開發環境

  • Microsoft .NET SDK 3.5 SP1 or .NET SDK 4.0
  • Microsoft VS 2008 or VS 2010
  • recommended: .NET SDK 4.0 & VS 2010

     Photon Uses the Following Ports for Communication 通信端口

  • UDP: 5055, 5056
  • TCP: 4520, 4530, 4531
  • TCP: 843 for Unity3D Webplayer and Flash Crossdomain requests
  • TCP: 943 for Silverlight Crossdomain requests

Starting Photon in 5 Minutes 五分鐘內開始

 
     Photon is extremely easy to install and start. The SDK includes ready-to-use binaries which can be up and running within 5 minutes.
     Photon是非常容易安裝和啟動的,SDK中包含了可用的二進制文件,5分鐘內即可啟動運行

     Download 下載

     The Photon Server SDKs are available on our website: www.exitgames.com/Download/Photon

     Choose Fitting Binaries 選擇裝配的二進制文件

 
     Unzip the files anywhere on your machine. Locate the “deploy” folder and choose the fitting binaries for your system:
     解壓在你機器的任何位置,找到deploy文件夾,選擇適合你的二進制文件
  • bin_Win32: 32 bit Windows Vista and up
  • bin_Win32_xp: 32 bit Windows XP or 2003
  • bin_Win64: 64 bit Windows Vista and up
  • bin_Win64_xp: 64 bit Windows XP or 2003
 
     The deploy folder of the SDK contains everything you need to run Photon. Other content of the SDK includes documentation(/doc), libraries(/lib) and source(/src-server).
     deploy文件夾中包含運行Photon的所有東西,另外還有doc、lib、src-server
 

     Photon Control

 
     Run Photon using the PhotonControl.exe. This will create a tray bar-icon and -menu to manage Photon.
     使用PhotonControl.exe運行Photon,將創建一個托盤圖標和菜單管理Photon
 
 
 
     Click the white/blue icon and select “Photon” -> “Start as Application” from the menu. Now you have started Photon!
     點擊該托盤并選擇“Photon”->“Start as Application”,現在你啟動了Photon
 
     It might take several seconds until Photon is ready to use, depending on the applications it is running.
     只需幾秒鐘Photon就可以使用了
 
     When you don’t have a License File yet it will run with a 20 CCU limitation.
     當你沒有許可文件時,也可以運行20個CCU
 

     Starting the Test Client 開始測試客戶端

 
     The server SDK includes a test client to simulate multiple clients and to generate some load. You can start it from the Photon Control tray bar-menu: “Photon” -> “Run test client”.
     服務器SDK包含一個測試客戶端,用于模擬多個客戶端和產生一些負載,你可以選擇“Photon” -> “Run test client”開始測試
 
     The test client is a simple console application which will simulate client sessions and games with a few players each.
     這客戶端是一個簡單的控制臺程序用于模擬多個客戶端的會話和游戲
 
 

   License 許可證

 
     The License needs to be placed in the same directory from where you start the Photon Control. Make sure that there is only one “.license” file in that directory.
     許可證需要放置在你啟動Photon Control的目錄中,確保有一個 “.license”文件在目錄中

posted on 2015-11-25 11:22 思月行云 閱讀(741) 評論(0)  編輯 收藏 引用 所屬分類: Photon
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            韩国成人福利片在线播放| 国产欧美日韩亚洲精品| 欧美aaaaaaaa牛牛影院| 国产婷婷色综合av蜜臀av | 国产在线观看精品一区二区三区| 激情成人中文字幕| 欧美一区二区久久久| 亚洲精品中文在线| 欧美高清自拍一区| 亚洲人成在线观看一区二区| 麻豆精品在线视频| 久久久国产91| 136国产福利精品导航网址| 久久精品国产96久久久香蕉| 亚洲资源av| 国产性天天综合网| 久久乐国产精品| 久久成人精品无人区| 国内成人在线| 嫩草影视亚洲| 欧美大片第1页| 夜夜躁日日躁狠狠久久88av| 亚洲精品一级| 国产精品大片| 久久精品一区四区| 久久久国产精品一区二区三区| 黄色欧美成人| 亚洲第一毛片| 欧美日韩直播| 久久精品国产成人| 久久综合色影院| 99国产精品99久久久久久| 日韩一级精品视频在线观看| 午夜精品视频在线| 久久精品动漫| 亚洲国产综合在线| 亚洲精品国产欧美| 欧美日韩精品免费| 欧美淫片网站| 免费在线成人av| 亚洲免费在线电影| 性视频1819p久久| 亚洲黄色一区二区三区| 亚洲作爱视频| 狠狠爱成人网| 日韩午夜三级在线| 国产亚洲精品久久久久动| 鲁大师成人一区二区三区 | 欧美体内she精视频| 欧美一区二区视频观看视频| 久久久精品午夜少妇| 亚洲视频在线观看| 欧美一区深夜视频| 99re在线精品| 久久欧美中文字幕| 亚洲欧美国产视频| 久久综合狠狠综合久久激情| 亚洲一区一卡| 母乳一区在线观看| 欧美亚洲视频一区二区| 欧美aa国产视频| 久久精品99| 欧美午夜精品久久久久久久| 久久综合色综合88| 国产精品日韩欧美一区二区三区| 亚洲精品在线三区| 午夜精彩视频在线观看不卡 | 国产精品丝袜久久久久久app| 另类图片国产| 国产女人aaa级久久久级| 91久久精品一区二区别| 激情综合网址| 欧美一区二区视频在线| 亚洲自拍高清| 欧美视频二区| 亚洲精选一区| 亚洲精品欧美在线| 久久福利电影| 久久狠狠婷婷| 国产日韩欧美精品| 亚洲一区二区三区在线视频| 亚洲一区精品视频| 欧美日韩一区二区三区在线视频 | 一区二区三区欧美日韩| 在线观看亚洲| 久久久久九九九九| 久久久噜噜噜久久| 国外视频精品毛片| 欧美一区二区三区久久精品茉莉花| 亚洲一区视频在线| 国产精品福利影院| 亚洲新中文字幕| 欧美亚洲免费高清在线观看| 国产伦精品一区二区三区高清| 亚洲综合好骚| 久久大逼视频| 国内成人精品视频| 老司机久久99久久精品播放免费| 久久这里有精品15一区二区三区 | 欧美 日韩 国产精品免费观看| 国产一区二区三区奇米久涩| 久久av在线| 欧美不卡一卡二卡免费版| 亚洲国产日韩一级| 欧美精品在线观看91| 99成人精品| 欧美诱惑福利视频| 国产综合视频| 麻豆成人91精品二区三区| 亚洲人成人77777线观看| 亚洲一区二区日本| 国产欧美精品一区二区色综合| 久久精品官网| 亚洲国产中文字幕在线观看| 99视频有精品| 国产亚洲精品福利| 噜噜噜91成人网| 日韩一区二区免费高清| 性欧美精品高清| 136国产福利精品导航网址应用| 麻豆精品传媒视频| 在线中文字幕不卡| 裸体丰满少妇做受久久99精品| 亚洲国产二区| 国产精品成人观看视频国产奇米| 欧美一区二区三区四区在线| 欧美国产精品久久| 亚洲欧美在线高清| 欧美区在线观看| 亚洲综合另类| 欧美寡妇偷汉性猛交| 亚洲一区二区在线| 伊人色综合久久天天| 欧美视频免费| 麻豆亚洲精品| 亚洲综合色在线| 欧美激情导航| 久久国产天堂福利天堂| 日韩天天综合| 激情六月综合| 国产精品久久9| 欧美高清视频在线| 久久精品国产99国产精品澳门 | 国产精品夜夜夜一区二区三区尤| 久久久999精品| 一区二区不卡在线视频 午夜欧美不卡在 | 国产精品嫩草影院av蜜臀| 蜜桃av一区二区三区| 午夜日韩福利| 在线亚洲国产精品网站| 欧美国产在线观看| 久久久久久香蕉网| 亚洲自拍高清| 亚洲网站在线观看| 亚洲免费av片| 亚洲国产欧美一区二区三区久久| 国产精品自在在线| 欧美色道久久88综合亚洲精品| 免费一级欧美在线大片| 久久国产精品久久国产精品| 亚洲一区一卡| 亚洲午夜精品福利| 日韩亚洲成人av在线| 亚洲国产精品久久人人爱蜜臀| 美女视频一区免费观看| 欧美一区二区在线观看| 在线亚洲自拍| 一本色道婷婷久久欧美| 亚洲激情av| 亚洲国产精品成人一区二区| 在线精品视频一区二区三四| 欧美与欧洲交xxxx免费观看| 亚洲久久视频| 伊人成人开心激情综合网| 国产精品美女在线| 欧美视频中文一区二区三区在线观看| 美女在线一区二区| 久久综合精品国产一区二区三区| 欧美在线视频日韩| 欧美一区二区久久久| 午夜精品久久久久久99热软件| 亚洲无限av看| 亚洲在线免费| 性亚洲最疯狂xxxx高清| 欧美在线看片a免费观看| 久久爱www| 久久久久青草大香线综合精品| 久久精品视频免费播放| 久久琪琪电影院| 免费亚洲视频| 欧美日韩三级| 国产精品久久久久久模特| 国产精品久久久久久亚洲毛片| 国产精品理论片| 亚洲午夜精品在线| 久久九九国产精品| 欧美一级视频| 久久午夜精品一区二区| 久久久久青草大香线综合精品| 久久久久久色|