Python论坛  - 讨论区

标题:Re: Re: [python-chinese]twisted是否合适作网游服务端?

2005年06月14日 星期二 08:58

梅劲松  stephen.cn at gmail.com
Tue Jun 14 08:58:59 HKT 2005

我觉得和你想要实现的目标和预期发展成的规模有影响。
C和ACE在速度上和负载上当然比python优秀,python也有容易开发的优点。
如果你的网游不打算大面积推广,当然无所谓。
如果大面积推广,同样配置的机器ACE能比python容纳更多用户上线,这个你就需要在维护费用和机器硬成本之间作出取舍了。
还有,迁移成本很高的。所以不要想先用一种语言实现,到时候再换成另外的语言。

在 05-6-13,Wang Kebo<mep_ at 163.com> 写道:
> ICE使用的基本原则是你赚钱、ICE就收费,如果选取了GPL,你的软件也必须开源。
> 
> __
> Best Regards,
> 
> Kebo Wang
> 
> 
> >-----Original Message-----
> >From: python-chinese-bounces at lists.python.cn
> >[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of BaoYongjun
> >Sent: Monday, June 13, 2005 9:56 AM
> >To: python-chinese at lists.python.cn
> >Subject: Re: Re: [python-chinese]twisted是否合适作网游服务端?
> >
> >cpunion,您好!
> >
> >       ICE的Licence方式 一种是GPL  一种是商业Licence
> >
> >======= 2005-06-13 05:44:00 您在来信中写道:=======
> >
> >>ICE不是免费的,收费开源,而且收费高得吓人,小项目的话在服务器内部偷偷用
> >>用就得了。
> >>
> >>ICE类似于CORBA,不过要简单得多,跨平台,支持AMI/AMD,性能很不错,还有多
> >>种编程语言支持。
> >>
> >>Hou Ming Yuan 写道:
> >>
> >>>ICE也是免费的啊。而且开源。
> >>>有网游中间件是用ICE实现的。
> >>>不过现在让我选择,我情愿直接用平台相关的API。
> >>>
> >>>在 05-6-11,flyaflya<flyaflyaa at gmail.com> 写道:
> >>>
> >>>
> >>>>看了看,ice不是免费的,不太好,用twisted写,运算复杂的部分用C写model不知
> >>>>道可行不,像QQ游戏这种服务器,运算不会很大,主要就是防止一下作弊。
> >>>>
> >>>>Gerald Lee wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Python的IO是很不错的,作为网游服务器,有一种是侧重在计算,一种是侧重在
> >>>>>流量(相当于IO),如果是对于前者, Python直接写估计对服务器要求比较
> >>>>>高,后者和C/C++写差不多的
> >>>>>
> >>>>>如果网游是准备重新开发的,建议使用ICE吧,他最先就是为了网游而开发出来
> >>>>>的库,目前已经有Python实现的,不过我没有研究
> >>>>>
> >>>>>
> >>>>>2005/6/10, flyaflya <flyaflyaa at gmail.com
> >flyaflyaa at gmail.com>>:
> >>>>>
> >>>>>    象联众、qq游戏这种网络小游戏,服务端一般用ace或用c写socket多线程,
> >>>>>    也有一
> >>>>>    些效率要求不高的用java写,用twisted写这种服务端是否合适?关键部分用
> c写
> >>>>>    model,效率不会很差吧?弄个开源项目怎样?twisted 我还没用过,不知
> >>>>>    道效果
> >>>>>    怎样。
> >>>>>    _______________________________________________
> >>>>>    python-chinese list
> >>>>>    python-chinese at lists.python.cn
> >python-chinese at lists.python.cn>
> >>>>>    http://python.cn/mailman/listinfo/python-chinese
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>--
> >>>>>My Blog >> http://leejd.cndev.org
> >>>>>My QQ >> 9847243
> >>>>>
> >>>>>-----------------------------------------------------------
> >---------
> >>>>>----
> >>>>>
> >>>>>_______________________________________________
> >>>>>python-chinese list
> >>>>>python-chinese at lists.python.cn
> >>>>>http://python.cn/mailman/listinfo/python-chinese
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>_______________________________________________
> >>>>python-chinese list
> >>>>python-chinese at lists.python.cn
> >>>>http://python.cn/mailman/listinfo/python-chinese
> >>>>
> >>>>
> >>>>
> >>>>------------------------------------------------------------
> >---------
> >>>>---
> >>>>
> >>>>_______________________________________________
> >>>>python-chinese list
> >>>>python-chinese at lists.python.cn
> >>>>http://python.cn/mailman/listinfo/python-chinese
> >>>>
> >>>>
> >>_______________________________________________
> >>python-chinese list
> >>python-chinese at lists.python.cn
> >>http://python.cn/mailman/listinfo/python-chinese
> >
> >= = = = = = = = = = = = = = = = = = = =
> >
> >
> >        致
> >礼!
> >
> >
> >        BaoYongjun
> >        byj at net.pku.edu.cn
> >          2005-06-13
> >
> >
> >
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> >
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 


-- 
梅劲松

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年06月14日 星期二 09:00

Neo Chan (netkiller) neo.chen at achievo.com
Tue Jun 14 09:00:53 HKT 2005

 
请问ACE是什么东东语言吗??/

Neo Chan (netkiller)
Best regards, 73 de BG7NYT
Amateur Radio Callsign: BG7NYT



-----Original Message-----
From: python-chinese-bounces at lists.python.cn
[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of 梅劲松 
Sent: Tuesday, June 14, 2005 8:59 AM
To: python-chinese at lists.python.cn
Subject: Re: Re: [python-chinese]twisted是否合适作网游服务端?

我觉得和你想要实现的目标和预期发展成的规模有影响。
C和ACE在速度上和负载上当然比python优秀,python也有容易开发的优点。
如果你的网游不打算大面积推广,当然无所谓。
如果大面积推广,同样配置的机器ACE能比python容纳更多用户上线,这个你就需要在
维护费用和机器硬成本之间作出取舍了。
还有,迁移成本很高的。所以不要想先用一种语言实现,到时候再换成另外的语言。

在 05-6-13,Wang Kebo<mep_ at 163.com> 写道:
> ICE使用的基本原则是你赚钱、ICE就收费,如果选取了GPL,你的软件也必须开源。
> 
> __
> Best Regards,
> 
> Kebo Wang
> 
> 
> >-----Original Message-----
> >From: python-chinese-bounces at lists.python.cn
> >[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of 
> >BaoYongjun
> >Sent: Monday, June 13, 2005 9:56 AM
> >To: python-chinese at lists.python.cn
> >Subject: Re: Re: [python-chinese]twisted是否合适作网游服务端?
> >
> >cpunion,您好!
> >
> >       ICE的Licence方式 一种是GPL  一种是商业Licence
> >
> >======= 2005-06-13 05:44:00 您在来信中写道:=======
> >
> >>ICE不是免费的,收费开源,而且收费高得吓人,小项目的话在服务器内部偷偷用
> >>用就得了。
> >>
> >>ICE类似于CORBA,不过要简单得多,跨平台,支持AMI/AMD,性能很不错,还有多
> >>种编程语言支持。
> >>
> >>Hou Ming Yuan 写道:
> >>
> >>>ICE也是免费的啊。而且开源。
> >>>有网游中间件是用ICE实现的。
> >>>不过现在让我选择,我情愿直接用平台相关的API。
> >>>
> >>>在 05-6-11,flyaflya<flyaflyaa at gmail.com> 写道:
> >>>
> >>>
> >>>>看了看,ice不是免费的,不太好,用twisted写,运算复杂的部分用C写model不
知
> >>>>道可行不,像QQ游戏这种服务器,运算不会很大,主要就是防止一下作弊。
> >>>>
> >>>>Gerald Lee wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Python的IO是很不错的,作为网游服务器,有一种是侧重在计算,一种是侧重
在
> >>>>>流量(相当于IO),如果是对于前者, Python直接写估计对服务器要求比较
> >>>>>高,后者和C/C++写差不多的
> >>>>>
> >>>>>如果网游是准备重新开发的,建议使用ICE吧,他最先就是为了网游而开发出来
> >>>>>的库,目前已经有Python实现的,不过我没有研究
> >>>>>
> >>>>>
> >>>>>2005/6/10, flyaflya <flyaflyaa at gmail.com
> >flyaflyaa at gmail.com>>:
> >>>>>
> >>>>>    象联众、qq游戏这种网络小游戏,服务端一般用ace或用c写socket多线
程,
> >>>>>    也有一
> >>>>>    些效率要求不高的用java写,用twisted写这种服务端是否合适?关键部分
用
> c写
> >>>>>    model,效率不会很差吧?弄个开源项目怎样?twisted 我还没用过,不知
> >>>>>    道效果
> >>>>>    怎样。
> >>>>>    _______________________________________________
> >>>>>    python-chinese list
> >>>>>    python-chinese at lists.python.cn
> >python-chinese at lists.python.cn>
> >>>>>    http://python.cn/mailman/listinfo/python-chinese
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>--
> >>>>>My Blog >> http://leejd.cndev.org My QQ >> 9847243
> >>>>>
> >>>>>-----------------------------------------------------------
> >---------
> >>>>>----
> >>>>>
> >>>>>_______________________________________________
> >>>>>python-chinese list
> >>>>>python-chinese at lists.python.cn
> >>>>>http://python.cn/mailman/listinfo/python-chinese
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>_______________________________________________
> >>>>python-chinese list
> >>>>python-chinese at lists.python.cn
> >>>>http://python.cn/mailman/listinfo/python-chinese
> >>>>
> >>>>
> >>>>
> >>>>------------------------------------------------------------
> >---------
> >>>>---
> >>>>
> >>>>_______________________________________________
> >>>>python-chinese list
> >>>>python-chinese at lists.python.cn
> >>>>http://python.cn/mailman/listinfo/python-chinese
> >>>>
> >>>>
> >>_______________________________________________
> >>python-chinese list
> >>python-chinese at lists.python.cn
> >>http://python.cn/mailman/listinfo/python-chinese
> >
> >= = = = = = = = = = = = = = = = = = = =
> >
> >
> >        致
> >礼!
> >
> >
> >        BaoYongjun
> >        byj at net.pku.edu.cn
> >          2005-06-13
> >
> >
> >
> >_______________________________________________
> >python-chinese list
> >python-chinese at lists.python.cn
> >http://python.cn/mailman/listinfo/python-chinese
> >
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 


--
梅劲松
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Neo Chan.vcf
Type: text/x-vcard
Size: 1081 bytes
Desc: not available
Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20050614/26e2b52a/NeoChan-0001.vcf

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2005年06月14日 星期二 12:43

Hou Ming Yuan houmingyuan at gmail.com
Tue Jun 14 12:43:00 HKT 2005

http://www.cs.wustl.edu/~schmidt/ACE.html

The ADAPTIVE Communication Environment (ACE) is a freely available,
open-source object-oriented (OO) framework that implements many core
patterns for concurrent communication software. ACE provides a rich
set of reusable C++ wrapper facades and framework components that
perform common communication software tasks across a range of OS
platforms. The communication software tasks provided by ACE include
event demultiplexing and event handler dispatching, signal handling,
service initialization, interprocess communication, shared memory
management, message routing, dynamic (re)configuration of distributed
services, concurrent execution and synchronization.
ACE is targeted for developers of high-performance and real-time
communication services and applications. It simplifies the development
of OO network applications and services that utilize interprocess
communication, event demultiplexing, explicit dynamic linking, and
concurrency. In addition, ACE automates system configuration and
reconfiguration by dynamically linking services into applications at
run-time and executing these services in one or more processes or
threads.

ACE continues to improve and its future is bright. ACE is supported
commercially by multiple companies using an open-source business
model. In addition, many members of the ACE development team are
currently working on building The ACE ORB (TAO).

一个C++的用于网络编程框架。包含的内容:封装了平台相关的API,包括socket,
线程,进程等等。提供了一组网络编程常用的框架如reactor,proactor,task。

在 05-6-14,Neo Chan (netkiller)<neo.chen at achievo.com> 写道:
> 
> 请问ACE是什么东东语言吗??/
> 
> Neo Chan (netkiller)
> Best regards, 73 de BG7NYT
> Amateur Radio Callsign: BG7NYT
> 
> 
> -----Original Message-----
> From: python-chinese-bounces at lists.python.cn
> [mailto:python-chinese-bounces at lists.python.cn] On Behalf Of 梅劲松
> Sent: Tuesday, June 14, 2005 8:59 AM
> To: python-chinese at lists.python.cn
> Subject: Re: Re: [python-chinese]twisted是否合适作网游服务端?
> 
> 我觉得和你想要实现的目标和预期发展成的规模有影响。
> C和ACE在速度上和负载上当然比python优秀,python也有容易开发的优点。
> 如果你的网游不打算大面积推广,当然无所谓。
> 如果大面积推广,同样配置的机器ACE能比python容纳更多用户上线,这个你就需要在
> 维护费用和机器硬成本之间作出取舍了。
> 还有,迁移成本很高的。所以不要想先用一种语言实现,到时候再换成另外的语言。
> 
> 在 05-6-13,Wang Kebo<mep_ at 163.com> 写道:
> > ICE使用的基本原则是你赚钱、ICE就收费,如果选取了GPL,你的软件也必须开源。
> >
> > __
> > Best Regards,
> >
> > Kebo Wang
> >
> >
> > >-----Original Message-----
> > >From: python-chinese-bounces at lists.python.cn
> > >[mailto:python-chinese-bounces at lists.python.cn] On Behalf Of
> > >BaoYongjun
> > >Sent: Monday, June 13, 2005 9:56 AM
> > >To: python-chinese at lists.python.cn
> > >Subject: Re: Re: [python-chinese]twisted是否合适作网游服务端?
> > >
> > >cpunion,您好!
> > >
> > >       ICE的Licence方式 一种是GPL  一种是商业Licence
> > >
> > >======= 2005-06-13 05:44:00 您在来信中写道:=======
> > >
> > >>ICE不是免费的,收费开源,而且收费高得吓人,小项目的话在服务器内部偷偷用
> > >>用就得了。
> > >>
> > >>ICE类似于CORBA,不过要简单得多,跨平台,支持AMI/AMD,性能很不错,还有多
> > >>种编程语言支持。
> > >>
> > >>Hou Ming Yuan 写道:
> > >>
> > >>>ICE也是免费的啊。而且开源。
> > >>>有网游中间件是用ICE实现的。
> > >>>不过现在让我选择,我情愿直接用平台相关的API。
> > >>>
> > >>>在 05-6-11,flyaflya<flyaflyaa at gmail.com> 写道:
> > >>>
> > >>>
> > >>>>看了看,ice不是免费的,不太好,用twisted写,运算复杂的部分用C写model不
>> > >>>>道可行不,像QQ游戏这种服务器,运算不会很大,主要就是防止一下作弊。
> > >>>>
> > >>>>Gerald Lee wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>>Python的IO是很不错的,作为网游服务器,有一种是侧重在计算,一种是侧重
>> > >>>>>流量(相当于IO),如果是对于前者, Python直接写估计对服务器要求比较
> > >>>>>高,后者和C/C++写差不多的
> > >>>>>
> > >>>>>如果网游是准备重新开发的,建议使用ICE吧,他最先就是为了网游而开发出来
> > >>>>>的库,目前已经有Python实现的,不过我没有研究
> > >>>>>
> > >>>>>
> > >>>>>2005/6/10, flyaflya <flyaflyaa at gmail.com
> > >flyaflyaa at gmail.com>>:
> > >>>>>
> > >>>>>    象联众、qq游戏这种网络小游戏,服务端一般用ace或用c写socket多线
> 程,
> > >>>>>    也有一
> > >>>>>    些效率要求不高的用java写,用twisted写这种服务端是否合适?关键部分
>> > c写
> > >>>>>    model,效率不会很差吧?弄个开源项目怎样?twisted 我还没用过,不知
> > >>>>>    道效果
> > >>>>>    怎样。
> > >>>>>    _______________________________________________
> > >>>>>    python-chinese list
> > >>>>>    python-chinese at lists.python.cn
> > >python-chinese at lists.python.cn>
> > >>>>>    http://python.cn/mailman/listinfo/python-chinese
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>--
> > >>>>>My Blog >> http://leejd.cndev.org My QQ >> 9847243
> > >>>>>
> > >>>>>-----------------------------------------------------------
> > >---------
> > >>>>>----
> > >>>>>
> > >>>>>_______________________________________________
> > >>>>>python-chinese list
> > >>>>>python-chinese at lists.python.cn
> > >>>>>http://python.cn/mailman/listinfo/python-chinese
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>_______________________________________________
> > >>>>python-chinese list
> > >>>>python-chinese at lists.python.cn
> > >>>>http://python.cn/mailman/listinfo/python-chinese
> > >>>>
> > >>>>
> > >>>>
> > >>>>------------------------------------------------------------
> > >---------
> > >>>>---
> > >>>>
> > >>>>_______________________________________________
> > >>>>python-chinese list
> > >>>>python-chinese at lists.python.cn
> > >>>>http://python.cn/mailman/listinfo/python-chinese
> > >>>>
> > >>>>
> > >>_______________________________________________
> > >>python-chinese list
> > >>python-chinese at lists.python.cn
> > >>http://python.cn/mailman/listinfo/python-chinese
> > >
> > >= = = = = = = = = = = = = = = = = = = =
> > >
> > >
> > >        致
> > >礼!
> > >
> > >
> > >        BaoYongjun
> > >        byj at net.pku.edu.cn
> > >          2005-06-13
> > >
> > >
> > >
> > >_______________________________________________
> > >python-chinese list
> > >python-chinese at lists.python.cn
> > >http://python.cn/mailman/listinfo/python-chinese
> > >
> >
> > _______________________________________________
> > python-chinese list
> > python-chinese at lists.python.cn
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> 
> --
> 梅劲松
> 
> _______________________________________________
> python-chinese list
> python-chinese at lists.python.cn
> http://python.cn/mailman/listinfo/python-chinese
> 
> 
> 
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号