Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Perl and C++: Fiber Handle abstraction (not yet finished, but introdu…

…ced): an opened socket (connection) with event-driven write buffering support. Early 'fh' meant 'filehandle', now it means 'fiber handle'. :-)
latest commit 7258cf4fbf
@DmitryKoterov authored


#@ Dklab Realplexor: Comet server which handles 1000000+ parallel browser connections
#@ Author: Dmitry Koterov, dkLab (C)
#@ GitHub:
#@ Homepage:

Build dklab_realplexor binary on Ubuntu 12.04

We recommend to build dklab_realplexor binary on Ubuntu 12.04. The resulting
binary will be portable: it depends on no shared libraries, so you may copy
it to any Linux distribution (even CentOS or RHEL) and use there.

For Ubuntu 12.04, the steps are simple:

# apt-get install gcc libboost1.48 libev4 libev-dev libmemcached-dev
# bash ./

Build dklab_realplexor binary on other Linux versions

If you have other version of Linux, please play the quest.

1.  Check your GCC version: "gcc --version"
    (run "apt-get install gcc" if needed).
1a. If the version is less than 4.6 in your system, install the newest one:
    a) Build & install GCC pre-requisities: gmp, mpc, mprf
    b) Build & install GCC 4.6:
       echo "/usr/local/lib" >> /etc/ && ldconfig
       ./configure --with-mpc=/usr/local --with-gmp=/usr/local --with-mpfr=/usr/local --enable-languages=c,c++ --without-ppl --without-cloog

2.  Install Boost: "apt-get install libboost1.48"
    (run "apt-cache pkgnames|grep libboost" to see exact Boost version in your system).
2a. If Boost is not available via your package manager, try to install Boost manually:
    a) Download and unpack Boost somewhere from
    b) Build & install Boost:
       ./bjam --toolset=gcc --cxxflags=-std=gnu++0x stage
       ./bjam --toolset=gcc --cxxflags=-std=c++0x --build-type=complete --layout=tagged stage
       ./bjam -a architecture=x86 instruction-set=i686 toolset=gcc cxxflags=-std=gnu++0x build-type=complete

3.  Install libev: "apt-get install libev4 libev-dev"
3a. If not available, build libev manually: download, unpack and run  "(cd libev && make)"

4.  Install libmemcached: "apt-get install libmemcached-dev"
    (or "yum install libmemcached-devel" in RHEL).

5.  Run "bash ./"
Something went wrong with that request. Please try again.