<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>ACE Developer - 服务器端程序开发</title>
    <link>https://ace.acejoy.com/forum-9-1.html</link>
    <description>Latest 20 threads of 服务器端程序开发</description>
    <copyright>Copyright(C) ACE Developer</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sun, 26 Apr 2026 15:14:54 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://ace.acejoy.com/static/image/common/logo_88_31.gif</url>
      <title>ACE Developer</title>
      <link>https://ace.acejoy.com/</link>
    </image>
    <item>
      <title>clean</title>
      <link>https://ace.acejoy.com/thread-7366-1-1.html</link>
      <description><![CDATA[clean,clean,clean]]></description>
      <category>服务器端程序开发</category>
      <author>winston</author>
      <pubDate>Tue, 30 Oct 2018 01:58:56 +0000</pubDate>
    </item>
    <item>
      <title>一个对Linux队列的自动监控工具</title>
      <link>https://ace.acejoy.com/thread-6132-1-1.html</link>
      <description><![CDATA[由于工作需要，需要监控所有当前Linux服务器消息队列的工具。
当消息队列超过了指定的阀值，就执行某个动作。
配置指定的XML文件消息队列属性，即可实现对消息队列的监控。
当某个消息队列超过了配置文件的阀值，自动清空消息队列。


当然，代码可以稍微增加一点， ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:56:25 +0000</pubDate>
    </item>
    <item>
      <title>Lua，CAPI自动化代码生成工具</title>
      <link>https://ace.acejoy.com/thread-6131-1-1.html</link>
      <description><![CDATA[公布一个自己写的开源项目。在github上下载。
github地址：https://github.com/freeeyes/XMLLua2Cpp
 XMLLua2Cppused XML auto create lua and C++ relevance code and test code本来想用英文来写此文档，但是实在是英文能力有限，先用中文吧，以后可以添加。功能：
[*] ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:51:30 +0000</pubDate>
    </item>
    <item>
      <title>C中的几种类型转换const_cast，static_cast和dynamic_cast</title>
      <link>https://ace.acejoy.com/thread-6130-1-1.html</link>
      <description><![CDATA[首先声明两个类用于测试

#include
using namespace std;
class Shape
{
public:
    string name;
    string *shape;
    Shape(string name){
        this-&gt;shape = new string(\&quot;a dynamic shape\&quot;);
        this-&gt;name = name;
        cout]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:50:57 +0000</pubDate>
    </item>
    <item>
      <title>一个可以自动循环大日志文件的定时脚本</title>
      <link>https://ace.acejoy.com/thread-6129-1-1.html</link>
      <description><![CDATA[#!/bin/sh
# Writed by yijian on 2012/7/22
# 本脚本功能：
# 1) 实现一个通用的按大小的日志滚动
# 2) 要求日志文件扩展名为“.log”，否则请稍修改代码
# 3) 支持处理多个目录下的日志文件，如果需要使用这个功能，
#    必须启用dirs_list参数
#
# 为何要写一个这样 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:50:11 +0000</pubDate>
    </item>
    <item>
      <title>通过C写一个服务http实现shell的远程调用并返回结果</title>
      <link>https://ace.acejoy.com/thread-6128-1-1.html</link>
      <description><![CDATA[由于某些原因，移动回收了某些服务器的运营权限，这本身没什么问题。
但是对于有些需要核对日志的工作，以及对业务的验证，查错，管理的需求。
你又不可能等移动提交审批后再说（用户等不了，所谓移动运营，你们大家都懂的）
本着没有困难创造困难的态度，移动给我们出 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:49:35 +0000</pubDate>
    </item>
    <item>
      <title>c++调用python函数</title>
      <link>https://ace.acejoy.com/thread-6127-1-1.html</link>
      <description><![CDATA[因为工作需要，调用Python脚本，在这里记录一下。
1.当取多个返回值时,如下：def mix(a, b) :  
    r1 = a + b  
    r2 = a - b  
    return (r1, r2) # (7,3)

c++代码如下：#include \&quot;python.h\&quot;
int _tmain(int argc, _TCHAR* argv[]) 
{ 
 string filename = \&quot;cal ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:48:47 +0000</pubDate>
    </item>
    <item>
      <title>C++中#define的一些注意事项</title>
      <link>https://ace.acejoy.com/thread-6126-1-1.html</link>
      <description><![CDATA[C++中#define用法#define是C语言中提供的宏定义命令，其主要目的是为程序员在编程时提供一定的方便，并能在一定程度上提高程序的运行效率，但学生在学习时往往不能理解该命令的本质，总是在此处产生一些困惑，在编程时误用该命令，使得程序的运行与预期的目的不一致，或 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:48:15 +0000</pubDate>
    </item>
    <item>
      <title>很实用的LinuTCP优化大并发短链的优化选项</title>
      <link>https://ace.acejoy.com/thread-6125-1-1.html</link>
      <description><![CDATA[相信有一定 Linux 服务器运维经验的人肯定见过这个问题：dmesg 或者 /var/log/messages 里大片地输出类似这样的日志：
同时服务器上的各种网络服务耗时大幅上升，各种 timed out，各种丢包，完全无法正常提供服务。随着我们流量的提升，最近又开始被这个问题虐了。几个 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:47:04 +0000</pubDate>
    </item>
    <item>
      <title>轻松的方式解读“臭名昭著”的DDoS工具LOIC（低轨道离子加...</title>
      <link>https://ace.acejoy.com/thread-6124-1-1.html</link>
      <description><![CDATA[本文原创作者：VillanCh声明：Loic开源，仅作学习交流用，用作任何非法攻击事件与本站和本作者无关。Loic介绍：Loic（低轨道离子加农炮）是一个叫4Chan-affiliated的团体开发的，这个工具被成千上万的匿名使用者使用，在网络环境中，造成了很多混乱，使用DDos来对一个网 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 31 Dec 2015 00:46:22 +0000</pubDate>
    </item>
    <item>
      <title>libuv的一些尝试代码，感觉还可以。</title>
      <link>https://ace.acejoy.com/thread-6120-1-1.html</link>
      <description><![CDATA[#pragma once

typedef boost::function VoidFunc;
class FuncArray
{
public:
    FuncArray(void)
    {
        funcvec.reserve(4096);
    }

    void post(VoidFunc func)
    {
        asio::detail::mutex::scoped_lock lock(mtx);
        funcvec.push_back ...]]></description>
      <category>服务器端程序开发</category>
      <author>sevencat</author>
      <pubDate>Sat, 21 Nov 2015 14:28:41 +0000</pubDate>
    </item>
    <item>
      <title>在win平台如何将select操作变成异步基于iocp的一种办法</title>
      <link>https://ace.acejoy.com/thread-6113-1-1.html</link>
      <description><![CDATA[这个巧妙的做法是取得socket底层的afd的句柄，然后将select的调用变成NtDeviceIoControlFile调用，就可以跟iocp进行关联起来了。
有人可能说这个没有用，这个的用处在于使用第三方库。
注：在xp,2003平台上无效，具体原因看代码。

int uv_poll_init_socket(uv_loop_t*  ...]]></description>
      <category>服务器端程序开发</category>
      <author>sevencat</author>
      <pubDate>Fri, 02 Oct 2015 10:26:20 +0000</pubDate>
    </item>
    <item>
      <title>条件判定的互动</title>
      <link>https://ace.acejoy.com/thread-6023-1-1.html</link>
      <description><![CDATA[最近在做业务，要求实现一个对数据进行动态条件判定的规则。
针对车辆上传的速度，根据每个用户不同的需求，动态的匹配超速规则。
比如：
有的用户，需要速度在80 -100 之间报警。
有的公户，要求在周一，三，五晚上，高度当前道路级别限速80%的时候报警。
有的用户需要 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Mon, 23 Mar 2015 05:31:55 +0000</pubDate>
    </item>
    <item>
      <title>共享内存的多进程数据共享的一致性解决</title>
      <link>https://ace.acejoy.com/thread-5892-1-1.html</link>
      <description><![CDATA[最近终于有点有时间，在自己的任务日志中添加了一项
\&quot;研究多进程下共享内存数据的一致性\&quot;
经过两天的研究，写出了测试代码，并且测试通过。
很棒，解决了困扰我我好几年的一个疑惑。
不考虑windows了，Linux是我的主要开发环境。
代码如下:

此代码在Linux下测试通过。
 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 29 Jan 2015 06:11:34 +0000</pubDate>
    </item>
    <item>
      <title>请教版主一个问题</title>
      <link>https://ace.acejoy.com/thread-5880-1-1.html</link>
      <description><![CDATA[学习linux下开发服务器，有没有什么好的资料可以介绍呢？
我以前是做windows开发服务器的，现在想用linux做，不太了解linux，但是想来底层网络通信和数据多线程处理是一个道理。但是也肯定有区别，请教下版本，能有什么好的推荐吗？或者社区推荐。 ...]]></description>
      <category>服务器端程序开发</category>
      <author>4176244</author>
      <pubDate>Tue, 16 Dec 2014 00:59:25 +0000</pubDate>
    </item>
    <item>
      <title>新作《外存》——一个面向变量的nosql内存数据库</title>
      <link>https://ace.acejoy.com/thread-5877-1-1.html</link>
      <description><![CDATA[1．什么是外存外存本质上是一个内存级别的nosql。 它提出了“面向变量”的数据访问思想，让用户只见变量，不见接口，省去了繁琐的接口调用。以此实现了逻辑与数据分离的效果,一份单结点代码自动达到分布式效果。目前提供了int8、uint8、uint64、float、double等基础类型 ...]]></description>
      <category>服务器端程序开发</category>
      <author>serverdev2012</author>
      <pubDate>Thu, 04 Dec 2014 10:47:41 +0000</pubDate>
    </item>
    <item>
      <title>支持win &amp;linux的ini读取类</title>
      <link>https://ace.acejoy.com/thread-5876-1-1.html</link>
      <description><![CDATA[在github上搜索到一个老外写的ini类，star挺多的。
于是拿来用，发现在windows下还有少许问题，于是改造了一下，让它兼容windows和linux。
其实很简单。
代码测试

修改过的源文件在这里，我比较喜欢就几个c 的文件，很好用也不用折腾。


 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 04 Dec 2014 01:11:17 +0000</pubDate>
    </item>
    <item>
      <title>git上发现一个很有趣的代码</title>
      <link>https://ace.acejoy.com/thread-5871-1-1.html</link>
      <description><![CDATA[这段代码非常有趣。
可以给printf上色，纯属娱乐，不过非常好玩。在这记录一下。]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 20 Nov 2014 06:25:13 +0000</pubDate>
    </item>
    <item>
      <title>如何设计属于自己的游戏服务器（二）</title>
      <link>https://ace.acejoy.com/thread-5863-1-1.html</link>
      <description><![CDATA[很多游戏都在花费大篇幅讲解网络模型，其实，这些对于你而言，完全不必关心，现有的模型一大把。就比如PSS，你用它就可以忽略网络IO模型，直接负责处理到达的数据和如何回应就行了。
那么，我们来说说游戏服务器的一些细节。
以端游为例，现在的端游可以说各种花哨，各 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Thu, 23 Oct 2014 05:50:20 +0000</pubDate>
    </item>
    <item>
      <title>父进程群发消息给子进程的方法</title>
      <link>https://ace.acejoy.com/thread-5862-1-1.html</link>
      <description><![CDATA[最近在研究一些功能，父进程需要通知子进程一些消息。
于是写了一个例子，借助本地socketpair。
于是实现了一个例子，测试通过。
感觉这个目前还有缺陷，当管道破裂的时候如何重建？还需要自己想想。
这部分代码只支持Linux，不考虑windows。


 ...]]></description>
      <category>服务器端程序开发</category>
      <author>freeeyes</author>
      <pubDate>Wed, 22 Oct 2014 05:36:44 +0000</pubDate>
    </item>
  </channel>
</rss>