Skip to:
Content
Pages
Categories
Search
Top
Bottom

Tried HipHop ?

  • Avatar of Devrim
    Devrim
    Participant

    @devrim

    has anyone tried facebook’s new hiphop and compiled buddypress to c++ ? if yes, can you share your experience?

    as we are suffering from wp-blog-header.php load times, i may be the first to try it, and i will share my experience here.

    if you already know that it doesn’t work, or it works weird, please let me know.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    I had no idea what you were talking about at first!

    But a quick Google search led to it:

    http://developers.facebook.com/news.php?blog=1&story=358

    Sounds interesting!

    I’m not brave enough to try it yet, but do let us know!

    Avatar of Devrim
    Devrim
    Participant

    @devrim

    well i tried it costed me 4 hours, here is what you can start with on a centos 5.4

    yum install cmake gcc-c++ boost flex bison libmysql libxml2 libmcrypt libicu libcap gd zlib tbb oniguruma curl-devel.x86_64 libevent

    it will give you

    No package tbb available.

    No package oniguruma available.

    No package libmysql available.

    then u should go ahead and install this;

    http://www.threadingbuildingblocks.org/documentation.php

    and this

    http://www.angry-fly.com/post.cfm/installing-git-on-centos-5

    and still being unable to compile this stupid device.

    on their documentation, it’s simple,

    http://wiki.github.com/facebook/hiphop-php/building-and-installing

    after all; you will get:

    CMake Error: The source directory “/home/user/hiphop” does not appear to contain CMakeLists.txt.

    according to facebook, it should have just worked.

    maybe i should give it a try on Fedora. I give up for today.

    Avatar of Devrim
    Devrim
    Participant

    @devrim

    I have now a working hiphop server at http://hip.kodingen.com

    If someone wants to take the next step and compile buddypress with it, contact me I will give you root access.

    Avatar of Windhamdavid
    Windhamdavid
    Participant

    @windhamdavid

    Wow, that’s a really impressive setup you got going at http://kodingen.com. Thank you for posting this ~ I wouldn’t know where to start with hiphop yet, but I registered and noticed that the activation email is missing a backslash. I had read this statement from @rasmus and figured it’s performance gains and high scaleability would also depend on a series of other configurations like memcached and sql optimization. But something like this could prove to be as Rasmus puts it, escape from ‘framework soup’. Although wordpress.com seems to be running top notch on top of Nginx, but I’m sure they got all kinds of hardware and configuration tweaks going on.. ;) // all the same thanks for for the experimenting and good luck with it.

    Avatar of Devrim
    Devrim
    Participant

    @devrim

    Hi David..

    Thanks, I don’t really know the reason wordpress/buddypress is slow. Although we have all sorts of optimizations (memcache,cdn,minifications) in place, wp-blog-header.php is not running under 0,3 secs, page loads are well around 1 sec. I have never dived into bp functions and investigated them thoroughly to comment on where the biggest impact on performance occurs.

    Since we are really busy on our project launch hassles, i’m trying to get this on the side as much as I can.

    If i anybody could help me out on testing the performance of buddypress using hiphop, or at least find out if it can compile or not, that can benefit this community a great deal too.

    Avatar of Windhamdavid
    Windhamdavid
    Participant

    @windhamdavid

    I highly agree on a benefit the community ~ i’d love to say that I could set aside some time to help you with benchmarking, but I’m afraid I’d be a bit out of my comfort zone and strapped to other projects, which unfortunately don’t require the scalability. But I’m sure someone of similar interest will come along to help with testing and compiling it though… if not me in a couple months.

    Avatar of kapil
    kapil
    Participant

    @techkapil

    This looks interesting…I will definitely try my hand on this soon and try to contribute here…as heavy weight buddypress Apps do have speed issue, I have come across situations where loading time is an issue and this will help…

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.