i-like-this, performance improvements

phil hassey's Avatar

phil hassey

25 Aug, 2011 04:12 PM

Hi,

I run the www.ludumdare.com 48 hour game development contest website and this past weekend we had some huge traffic and I was able to find some performance issues in i-like-this.

Here is my modified version of your code: http://code.google.com/p/ludumdare/source/browse/trunk/compo/plugin...

1 - the table you installed isn't indexed - I've fixed that, see lines 51-53

2 - on the front page of a wordpress site each post issues a query to find out if the IP has already liked something. This isn't really necessary because you already do a nice job of caching that in the browser. (And it's a huge performance hit when under heavy load!) I commented that out, see line 261.

Thanks for the cool plugin!
-Phil

  1. 1 Posted by Илья секси on 13 Oct, 2012 05:43 AM

    Илья секси's Avatar

    Извините а как добавить свою публикацию на блог ? (без регистрации)

  2. 2 Posted by levitra prezzo on 17 Dec, 2012 10:41 AM

    levitra prezzo's Avatar

    so wird der Luftzutritt und

  3. 3 Posted by latterms on 18 Mar, 2014 06:56 PM

    latterms's Avatar
  4. 4 Posted by happy wheels de... on 17 May, 2014 08:41 AM

    happy wheels demo
's Avatar

    happy wheels free Online games Online can be an on the web rushing sport. With innovative as well as good quality graphics, joined with it's enjoyment, exciting, sporting in addition to credit rating process that continues you kept entertained all day. That are part of this specific sport is a thoroughly crammed amount manager of which enables you to release your current curiosity in addition to develop by far the most strange and also unusual degrees imaginable. Delighted Added wheels Tryout quantities could be played and also enjoyed from your close friends in addition. To be able to specifically leap into your sporting voyage, pick out participate in and also select almost any degree and also persona and luxuriate in. This is a strictly reasonable physics primarily based 2d software based part scrolling game that also includes peculiar and demanding ranges that can analyze that you the particular control. Competition because planet obtains more difficult, stability, manage as well as maneuver your current heroes to create the item to the complete range in one piece. Actuality physics will probably put your own character throwing tumbling along with check just how good you're with enduring. The largest difficult task should be to prevent making your own legs and arms divided out of your body in a zillion parts. Enjoying such hilarious failures and grisly incidents filled up with gore and also super-hero dying helps make this particular activity all the more entertaining. : Notice more on

  5. 5 Posted by CatchMesah on 08 Jan, 2016 02:53 PM

    CatchMesah's Avatar

    Catch Me If You Can - Anonymous VPN Service !

    9 Euro-Month. OpenVPN/DoubleVPN/L2TP/PPTP/IpSec .

    https://bitcointalk.org/index.php?topic=143537.0

    PerfectVPN . Com

  6. 6 Posted by HornyYAsah on 24 Feb, 2016 05:49 PM

    HornyYAsah's Avatar

    Hello, Community!

    The Company - PerfectVPN . Com

    Anonymous Internet Surfing, Anonymous File Sharing Torrent-P2P, Amonymous WiFI.
    Fully Automatic and Anonymous VPN Service NO Logs , You don’t have to waste time on:

    1 - Access to all servers for just 9 EURO.
    DoubleVPN, OPENVPN and PPTP / L2TP / IpSec VPN - Access to 40 Servers in 29 Countries!
    Subscribe to All Servers of Our Service for 9 Euro Month; 3 months = 20 Euro; 6 months = 35 Euro; 1 year = 55 Euro.
    Types of VPN connections included in a single subscription - DoubleVPN and OpenVPN.
    The Speed Of All Our Servers OpenVPN = 1000 M.Bit / Unlimited Traffic !!!

    2 - Unique “VPN Client” is easy to install on All Kinds of Operating Systems: MAC / Windows / Linux / Android !!!
    Will allow you to switch easily between the VPN servers in:

    Will allow you to switch easily between the VPN Servers in:

    USA
    Germany
    Canada
    Austria
    Czech Republic
    Denmark
    Egypt
    Hong Kong
    Iceland
    India
    Italy
    Latvia
    Luxembourg
    Malaysia
    Netherlands
    Norway
    Panama
    Romania
    North Africa
    Spain
    Switzerland
    Sweden
    England
    Vietnam
    Australia

    In the near future our service will be available in Spain, Greece, Sweden, Mexico, Czech Republic, Poland, China, Belgium ...

    3 - The program features an easy configuration of a VPN connection to your Internet:
    - Automatically Block Internet Connection when Disconnected from a VPN. - Automatic connection to the VPN when you turn on the Internet.

    4 - Also,our Service has a unique N-tier, Partnership Program:
    You will get 30% of total payments of your customers!

    5 - Company Takes All Kinds Of Payments in Full Auto Mode!
    WebMoney / Visa / Master Card / PayPal / Perfect Money / BitCoin / SMS and many others.

    Our Anonymous VPN Service Is Here!

    https://bitcointalk.org/index.php?topic=143537.0

    PerfectVPN . Com

    Disguise Your Internet Connect!

    ICQ : 6850058
    Skype : In-Disguise-VPN

    Sincerely, Your Anonymous VPN Service : PerfectVPN . Com

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

24 Feb, 2016 05:49 PM
30 Nov, 2013 03:31 PM
30 Nov, 2013 03:10 PM
30 Nov, 2013 11:55 AM
30 Nov, 2013 11:24 AM

Recent Articles