Search

bbPress Showcase » plugin Plugins by _ck_

user track plugin

RSS

  1. andersson
    User has not uploaded an avatar

    new member
    Joined: Apr '08
    Posts: 3

    offline

    I was wondering whether or not you were to release your user track plugin sometime soon?

    I use a user track myself but could very well do with a more optimized version.

    My version works like so:

    Catch the session_id. Save it db if not exist, else update timestamp.
    This is done for every request. A delete occurs with every request for rows with timestamp older than X minutes. (10 minutes in my case).
    Members have a user_id > 0 so it's possible to distinguish between visitors and members. bots are stored in code (array).

    Needless to say in an environment where I get about 50,000+ hits a day it becomes a bit straneous on the Db.

    Would you care to give a walkthrough of your plugin or better yet send me a copy of it.

    Thanks.

    Posted 7 months ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 330

    online

    Unfortunately I'm still working the kinks out of User-Track. It's a bit too early to release it for public use but shouldn't be too long, perhaps early May.

    I don't use sessions and I never delete data to keep site and db speed as fast as possible. I use keys to force db row replacements for certain visitors, guests vs members. Daily statistics are compiled into the db so old data can be periodically purged (weekly/monthly). I've learned a few tricks from other tracking programs over time and I'm trying to avoid their performance pitfalls and tracking limitations.

    I've recently started coding some graphs and statistics functions as you can see here:
    http://bbshowcase.org/forums/?user_track

    Posted 7 months ago #
  3. andersson
    User has not uploaded an avatar

    new member
    Joined: Apr '08
    Posts: 3

    offline

    Really cool.

    I'd love to try it out.

    I'll check back to see how it goes a little further into this year then.

    Btw, would you know where to start with using an opcache like xcache for bbpress? I'm on a VPS now and the file I/O isn't the fastest and memory usage is straneous, probably coming from extensive mysql usage.

    So any tip or threads you can point to in using that is much appreciated.

    I use cache_lite (PEAR) today for parts of my includes in order to ease up on the php compilation but that still reads from files and thus suffer from poor I/O performance still.

    Thanks again.

    Posted 7 months ago #
  4. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 330

    online

    If you are getting 50,000+ views a day an opcode cache is an absolute must. Instead of xcache I recommend eaccelerator because it's easier to setup and is far more stable and compatible with a variety of environments (xcache is slightly faster but not worth the hassle IMHO).

    If you are running a fairly standard apache/PHP setup there are some instant install scripts around for eaccelerator including this nice one for anyone who uses CPANEL:
    http://www.webhostingtalk.com/showthread.php?t=549666

    I've taken the eaccelerator configuration to the next level by adding the (fairly easy) options to use 64megs of ram instead of the typical kernel limit of 32megs and re-building it to enable session support (session tracking by PHP is then done in the shared ram instead of disk which reduces the load even more). But first get it going for yourself with the standard install before trying such tweaks. You'll see an immediate performance/load improvement even with the default settings.

    I am assuming your VPS has at least 32megs of ram to spare and is not one of those micro 128meg VPS?

    Posted 7 months ago #
  5. andersson
    User has not uploaded an avatar

    new member
    Joined: Apr '08
    Posts: 3

    offline

    I'll give it a try.
    I use cPanel today and the load on my server is quite heavy.

    I'll look into using eAccelerator immediately, starting by checking the wht-link you provided.

    Posted 7 months ago #
  6. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 330

    online

    By the way, you've inadvertently helped me spot (yet another) bug with User-Track in that it did not see you online as a member for some reason (though I see you in the logs as a guest).

    I'll have to try catching you online next to see if I somehow fixed the issue with a little fiddling but I suspect not. See if you notice the "online" indicator lighting up when you are actually signed in and looking at this topic (next to your posts) or if it thinks you are offline?

    What's strange is my tests with a test alternate user works fine. But that's why I've got it in testing here with some real-world activity to process. Definitely not ready for public release.

    Posted 7 months ago #
  7. Stromb
    User has not uploaded an avatar

    new member
    Joined: Apr '08
    Posts: 1

    offline

    Hi

    Very nice and useful plugin. I hope you'll be able to release it soon

    Posted 6 months ago #
  8. Zoszko
    Zoszko

    new member
    Joined: May '08
    Posts: 1

    offline

    _ck_ - 1 month ago  » 
    Unfortunately I'm still working the kinks out of User-Track. It's a bit too early to release it for public use but shouldn't be too long, perhaps early May.
    I don't use sessions and I never delete data to keep site and db speed as fast as possible. I use keys to force db row replacements for certain visitors, guests vs members. Daily statistics are compiled into the db so old data can be periodically purged (weekly/monthly). I've learned a few tricks from other tracking programs over time and I'm trying to avoid their performance pitfalls and tracking limitations.
    I've recently started coding some graphs and statistics functions as you can see here:
    http://bbshowcase.org/forums/?user_track

    Hi i'm new here!
    But I have a big question... :S Can Anybody send me the user track module? Please _ck_ send me this plugin.. It's very very important to me.
    (sorry my bad english I'm a student but the lazyest type :D)
    Zoszko

    Posted 6 months ago #
  9. emmegildo
    emmegildo

    junior member
    Joined: Jun '08
    Posts: 5

    offline

    wonderful plugin!! can't wait for the release!!

    Posted 5 months ago #
  10. Phayze
    User has not uploaded an avatar

    new member
    Joined: Aug '08
    Posts: 1

    offline

    Any update on this plugin? (It's well past May ) It would be very well recieved by a lot of people I'm sure...
    Thanks,

    Posted 3 months ago #

RSS feed for this topic

Post a reply to “user track plugin” »

You must log in to post.

keep _ck_ coding >> donate $1 <<     Theme Switcher:
12 users online from  US  IT in the past 30 minutes. 6 bots 5 guests 1 members: _ck_
467 views today 2798 yesterday 3411 ever. Most at once 19 today 24 yesterday 19 ever. Visited today: _ck_
724 posts in 106 topics over 19 months by 146 of 676 members. Latest: nicoosuna, Wish, insightdesigns