web analytics

More optimization

Written By: - Date published: 1:47 pm, November 16th, 2008 - 14 comments
Categories: admin - Tags:

Sysop

Sysop

I’ve just put another round of optimizations into the system. In this case caching the p-code generated by php into shared memory This should usually result in faster page display where content is changing rapidly. Posts with fast growing comments should get the major benefit from this. This should allow the site to run on its existing hardware for quite a while without the trauma of hardware upgrades.

This should be the last of the back-end optimization updates. The next round of updates will concentrate more on usability.

14 comments on “More optimization ”

  1. lprent_test 1

    Test new ajax re-edit plugin copied in ok

    Yep looked like it did. This has had some updates for javascript compatibility that should reduce soem of the issues with it not working on all systems.

    It also fixed a problem with the display of the timeout (however I think we skipped that version)

  2. Anita 2

    Will this stop the funny behaviour of the latest comments bar? Or just help the hardware bear up? 🙂

  3. Anita 3

    I still have re-edit btw.

  4. lprent 4

    Haven’t looked at the comments bar behaviour. I suspect that has something to do with page caching handling when multiple people are updating at the same time. It stores a page copy made by someone else.

    However this p-code caching should in some small measure alleviate this simply because the system doesn’t have to recompile the php. There should be less time for cross-over effects for the pages cache.

    Good to hear about the re-edit. I tested this on my own systems this morning with no effects. But I always get a bit worried about the ajax stuff. It is so susceptible to client side configuration.

    Finally got over my cold (by spending yesterday asleep). I caught the damn thing two days before the election, which made it one of the worst elections ever (even without the result). Now I feel reinvigorated. So it is sunday play-time again.

  5. lprent 5

    It will be a bit slow for 20 minutes or so. Updated the search engine and I’m reindexing it now.

  6. randal 6

    hell yeah lp
    optimisation eh
    I like that
    things here seem to be someones bright idea that is made to work
    if ya get my drift
    nothing is ever followed through on
    put ya left foot in
    take ya right foot out
    but
    now is the time to really scrutinise nationals performance
    make sure there are no changes without a firm theoretical base
    focussing on the money market is not neccessarily the primary objective
    can national really do the right deals to boost the economy without ruining everything else
    are they smart enough
    or just postmodern turkeys
    jet fighter design 1949-2008
    an object lesson in optimisation
    and business capacity
    and orgy of consumption
    that only now shows some signs of abating
    if one looks at the big picture
    so much to do and so little time
    the question is
    how to make the right decisons

    I could start naming names but that comes under looking for business
    and putting companies into play as they say
    we have to do better
    so does national know how to do better or do they only know how to rort the budget
    we shall see

  7. Anita 7

    The comments bar stuff is still happening, right now the top most comment showing on this page is randal’s one on this thread (directly above this). If I look at the main page I can see three comments above randal’s (Ag, Anita, John BT).

    I think you were probably supposed to hold off the cold until 7pm on the 8th. Clinging to ones health while stressed and underslept is traditional IT industry isn’t it? 🙂 Then again, working long last minute days while sick is equally traditional.

    [edit – now I’ve posted the comments bar on this page has caught up. I wonder if the predictable wonkiness is showing the contents of the bar the last time the page was updated by a new comment]

    [edit again – yep that looks likely, the C|T thread page has the most recent comments on that page as the top-most in the comments bar]

  8. randal 8

    anita
    aw shucks
    I can handle that
    being no1all the time is hard
    lol

  9. Scalia 9

    How much did that cost the taxpayer?

    [lprent: Ok – so you have now proven yourself to be an ignorant and particularly stupid fruitloop. You obviously haven’t read the About.

    Tell me, why do you think I do this on a sunday? But of course thinking would probably strain the fruitcake that makes up your (alleged) brain. Adding you to moderation where you can stay until you can prove to me that you’re a human worthy of commenting here.]

  10. Chris S 10

    Careful, Scalia, you keep up those lies and you won’t be posting here much longer.

    If you’re going to keep bringing up thoroughly debunked and disproved rumors, I suggest you keep it for your own blog.

    By the way, National control the treasury benches now… you think they would fund The Standard? Thought not.

  11. lprent 11

    Anita: Yeah I know. Got a bad case of headaches on Wednesday night. Fever on thursday morning. Sucked up the panadol, dressed warm, and stayed home thursday. Got the sore throat friday along with a drippy nose, and had a hacking cough saturday.

    Fortunately all of my major work for the election had been completed on the prior monday. So on saturday all I had to do was monitor the systems running (and they worked perfectly). But going to the election do on Saturday night to see Helen resign was not a good idea. Suffered the cold at work for all of last week to get the project out of the way.

    I hate summer colds…

  12. lprent 12

    tev reported this

    Sorry to be off topic here but I can’t link to the “first cut” post I get a lot of garbage.

    [lprent: Interesting. It looks like I’ve found the source of the KB garbage problem. No – not the posted content, the occasional flurry of binary it sends. Looks like it is the accelerator cache…]

    If anyone else notices it, then let me know here.

  13. Anita 13

    lprent,

    I was getting the flurry of garbage occasionally last week and the week before. At the time I thought it was something to do with the network connection I have when I’m in Palmerston North (which is slower and more temperamental than at home or any other working-away venue I’ve been at recently).

    I’ll keep an eye out for it and stop assuming it’s the net gods punishing me for going to an inland town 🙂

    Yeah, spring/summer colds are awful, they lull you into a false sense of security and then leap on you. Good on you for working through it tho, keeping systems up through piles of tissues is a definite plus on the ledger 🙂

    [edit – the garbage just came back and I’m in sunny Wellington on a good net connection, I shall email you a screenshot (cos what you really want is garbage 🙂 ]

  14. lprent 14

    Ok that looks like WP Super Cache (installed 5 weeks ago). I’ll have a read of the code later in the week. It usually goes away after a wee while.

    In the meantime I’ll dial back the params ie trade CPU for reliability and see if that makes a difference.

Recent Comments

Recent Posts

  • Health Indicators will track better care for all NZers
    The Government’s reform of the health system took a big step forward today with the unveiling of the system that will be used to hold it accountable and ensure it delivers more equitable healthcare for all New Zealanders. Health Minister Andrew Little has already announced the 20 district health boards ...
    BeehiveBy beehive.govt.nz
    2 hours ago
  • Govt congratulates Lisa Carrington on becoming NZ’s most decorated Olympian
    Sport and Recreation Minister Grant Robertson has today congratulated New Zealand Olympic kayaker Lisa Carrington on her exceptional performance at the Tokyo Olympics which has led to her becoming the most decorated New Zealand Olympian. “Lisa is a phenomenal athlete. To win the K1 200m three Olympics in a row, ...
    BeehiveBy beehive.govt.nz
    19 hours ago
  • Construction sector transformation continues with Network launch
    Housing Minister Hon Dr Megan Woods and Building and Construction Minister Hon Poto Williams today launched the Construction Sector Accord Network. Designed to bring the sector together to lift performance and drive change, the Network is a collective of businesses, government agencies and other organisations committed to a higher performing ...
    BeehiveBy beehive.govt.nz
    20 hours ago
  • The ‘Tulī Takes Flight’ scholarships announced
    The Associate Minister of Education, Aupito William Sio, has today announced the establishment of the ‘Tulī Takes Flight’ scholarships as part of the goodwill gesture of reconciliation to accompany the Government’s apology to Pacific families and communities impacted by the Dawn Raids. “Education is the key to unlocking success, opportunity, ...
    BeehiveBy beehive.govt.nz
    22 hours ago
  • 8,000 additional public housing places delivered in major Government milestone 
    New Zealanders now have an extra 8,000 warm, dry public housing places to call home, under a Government public housing programme that is full steam ahead, says Prime Minister, Jacinda Ardern. “Of the 74,337 households now being supported in public housing places, more than six thousand (6,503) are living in ...
    BeehiveBy beehive.govt.nz
    23 hours ago
  • New classrooms and building improvements for central and lower North Island schools
    Six schools across Wellington, Manawatū-Whanganui and Taranaki are getting a funding boost so projects can enter construction and deliver much needed works sooner, Education Minister Chris Hipkins announced today. While visiting Cannons Creek School in Porirua, Chris Hipkins also announced 10 schools in the central and lower North Island that ...
    BeehiveBy beehive.govt.nz
    23 hours ago
  • Restoring the richness of the Rangitata river
    A major Jobs for Nature project to protect and enhance some of the South Island’s most unique habitats and restore the health of the Rangitata River highlights the important role farmers have in caring for the land, Conservation Minister Kiri Allan says. “Canterbury’s braided rivers are an iconic part of ...
    BeehiveBy beehive.govt.nz
    23 hours ago
  • Foreign Minister to take part in ASEAN-related meetings
    Foreign Minister Nanaia Mahuta will today begin a suite of meetings with her ASEAN and East Asia Summit counterparts, starting with the 11th East Asia Summit (EAS) Foreign Ministers’ Meeting tonight. That will be followed by the ASEAN-New Zealand Ministerial Meeting on Thursday 5 August and the 28th ASEAN Regional ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Arts and heritage venues get helping hand
    A new round of funding to support capital projects will help keep our arts and heritage sector alive and vibrant, Associate Minister for Arts, Culture and Heritage Kiri Allan announced today.  “Communities work hard to raise funds for arts, culture and heritage related capital projects as they add significant value ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Foreign Ministers welcome opening of New Zealand High Commission in Colombo
    New Zealand and Sri Lanka’s Foreign Ministers, Nanaia Mahuta and Dinesh Gunawardena, have welcomed the opening of the New Zealand High Commission in Colombo next week. The Foreign Ministers, who met virtually yesterday, spoke about the opening of the High Commission as a major milestone in the bilateral relationship. Both ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • New Zealand to increase NZDF commitment to the United Nations Command, Republic of Korea
      The New Zealand Defence Force (NZDF) will deploy three additional personnel to the Republic of Korea, increasing the size of its contribution to the United Nations Command and its Military Armistice Commission from nine to 12 personnel. “Increasing the size of our deployment to the Republic of Korea ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Wages up, unemployment down
    The Government’s efforts to secure the recovery has seen more Kiwis in jobs and higher wages, with unemployment falling to pre-COVID levels and more people in work. Stats NZ figures show unemployment rate fell to 4 percent in the June quarter from 4.6 percent in the March quarter, the lowest ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Poroporoaki: Dr Kihi Ngatai OSM
    Mauao tiketike tūmokemoke mai ana ra koe, papakitia ana e ngā tai kawenga roimata o te motu. E Ngāti Ranginui, mo tō manuhuia kua tīkapea i te rangi. E Ngai Te Rangi, mo tō manutaki kua riro i te hau o Aitū kikini, E Ngāti Pukenga mo tō manutaiko, kua ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Government support screen industry with funding for sound stages in West Auckland
    Auckland Film Studios in West Auckland has received funding for a major expansion through the Government’s Infrastructure Reference Group’s (IRG) COVID-19 Response Fund. The Government is investing $30 million of a total $35 million project to construct two 2,000sqm sound stages and development of further workshops and offices, to expand ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Protecting unique land for generation next
    The Government is boosting legal protection for critically important natural habitats on private land, Minister of Conservation Kiri Allan says. “An $8 million investment over four years will see Queen Elizabeth II National Trust Ngā Kairauhī Papa (QEII) work with government agencies, councils and others to provide legal protection of ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • New Zealand’s support for Fiji’s COVID-19 response continues with vaccine delivery, operational ...
    Foreign Minister Nanaia Mahuta has announced further support for Fiji, including funding support for nursing staff and 100,000 doses of vaccines due to arrive in country today. “Our thoughts remain with Fiji during this incredibly challenging period,” Nanaia Mahuta said. “New Zealand has funded 100,000 doses of the AstraZeneca vaccine ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Poroporoaki: Dr Hōhepa (Joe) Mason
    Ko koe tēnā e te hurumanu e Hōhepa, te tōwenetanga a te iti, te māpihi herenga mahara o te tini, ka tauawhi tonuhia koe e to iwi ki te uma pupuri ai. Me pēhea he kupu kia koutou kua puta i nga ākinga a nga tau kua hori, kua waia ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Finance Minister and RBNZ Governor agree to update MOU on macro-prudential policy
    Finance Minister Grant Robertson and Reserve Bank Governor Adrian Orr have updated the Memorandum of Understanding (MoU) on macro-prudential policy to further protect the financial system and support the Government’s housing objectives. “This change will ensure that the Reserve Bank has the flexibility to respond to emerging financial stability risks ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Government commits further assistance for drought and flood-affected rural communities
    Farmers and growers affected by this year’s drought or floods in Marlborough, Tasman, West Coat, Canterbury, Otago and the Chatham Islands will have access to Rural Assistance Payments (RAPs) from today, Social Development and Employment Minister Carmel Sepuloni has announced. “The Government is committed to easing the financial pressures on ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Cook Islands youth lead Language Week
    The Cook Islands Language Week theme for 2021 highlights the vital role language plays in maintaining young people’s links to their Pacific home, said Minister for Pacific Peoples Aupito William Sio.  “The Epetoma o te reo Māori Kūki ‘Āirani – Cook Islands Language Week – theme is ‘Ātuitui’ia au ki ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Government offers formal apology for Dawn Raids
    A formal and unreserved apology for the Dawn Raids The Government will offer education scholarships as part of the apology Manaaki New Zealand Short Term Scholarship Training courses Support Pacific artists and historians to develop a comprehensive written and oral account of the Dawn Raids Prime Minister Jacinda Ardern has ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Speech to Dawn Raids Apology
    Tēnā koutou katoa, Kia orana kotou katoatoa, Fakaalofa lahi atu ki mutolu oti, Tālofa nī, Mālō nī koutou, Ni sa bula vinaka, Fakatalofa atu, Noa'ia 'e mauri, Kam na mauri, Malo e lelei, Sioto'ofa, Mālō lava le lagi e mamā ma le soifua maua, Oue tulou, tulou atu, tulouna lava ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Bridging the gap – last piece of Northcote Safe Cycle Route now complete
    The opening of two bridges over Auckland’s Northern Motorway is the last link of a cycling and walking route which provides a safe, active alternative for students and commuters, Transport Minister Michael Wood said today. Michael Wood cut the ribbon for the completion of the Northcote Safe Cycle Route, at ...
    BeehiveBy beehive.govt.nz
    5 days ago
  • Progress in establishment of Aged Care Commissioner
    Recruitment for an Aged Care Commissioner will start next month, to ensure greater oversight of New Zealand’s aged care sector. “This sector is responsible for supporting a large and often vulnerable population. While most people are able to access quality care, there have been cases where that care has fallen ...
    BeehiveBy beehive.govt.nz
    6 days ago
  • New record number of homes consented
    In the year ended June 2021, the actual number of new dwellings consented was 44,299, up 18 percent from the June 2020 year. In June 2021, the seasonally adjusted number of new dwellings consented rose 3.8 percent. In June 2021, 4,310 new dwellings were consented, an increase of 3.8 per ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Communities backed to tackle wilding pines
    Twelve community projects across New Zealand will receive a share of $2 million to carry out wilding pine control, Biosecurity Minister Damien O’Connor announced as part of Biosecurity Week. “Wilding pines are a serious problem that threaten many of the unique landscapes that New Zealanders value. Community groups and trusts ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Health Minister Andrew Little responding to the New Zealand Nurses Organisation's rejection of ...
    I was advised last night that the result of the ballot of Tōpūtanga Tapuhi Kaitiaki o Aotearoa New Zealand Nurses Organisation members have rejected the latest proposal to settle their collective agreement. Let me be clear: the proposal was one they put to the Government. The Nurses Organisation rejected their ...
    BeehiveBy beehive.govt.nz
    7 days ago
  • Conversion Practices Prohibition Legislation introduced to Parliament
    Legislation has been introduced to Parliament to protect against practices intended to change or suppress someone’s sexual orientation, gender identity, or gender expression. Introducing the Conversion Practices Prohibition Legislation Bill, Minister of Justice, Kris Faafoi, said the measures proposed were aimed at ending conversion practices which don’t work, are widely ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • New kaupapa Māori mental health and addiction services to support people in central North Island
    New mental health and addiction services rolling out across the central North Island will improve outcomes and equity for Māori, Associate Minister of Health (Māori Health) Peeni Henare says. Today the Minister met with providers of the new kaupapa Māori primary mental health and addiction service, Poutama Ora, which will ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • New kaupapa Māori mental health and addiction services to support people in central North Island
    New mental health and addiction services rolling out across the central North Island will improve outcomes and equity for Māori, Associate Minister of Health (Māori Health) Peeni Henare says. Today the Minister met with providers of the new kaupapa Māori primary mental health and addiction service, Poutama Ora, which will ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • New school site for booming West Auckland
    The Government will build on a new school site in West Auckland to cope with rapid population growth in the area, Education Minister Chris Hipkins says. The Ministry is working with existing local schools to determine how the 1.5-hectare site at 279 Hobsonville Point Road will be used to support ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Trans-Tasman travel window to close at midnight tomorrow
    A further 500 MIQ rooms released for managed returnees from NSW Further Government actions announced today are balanced to provide more certainty for Kiwis wanting to return from Australia, while continuing to protect New Zealand from COVID-19, acting Minister for COVID-19 Response Ayesha Verrall says. The actions were foreshadowed last ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Govt investing millions in Hawke's Bay and Tairāwhiti schools
    Napier Boys’ and Girls’ High Schools are among those set to benefit from a $16.5 million investment in the Hawke's Bay and Tairāwhiti region, Economic and Regional Development Minister Stuart Nash announced today. The Government has set aside money in Budget 2021 to accelerate five projects in Napier, Hastings, Havelock North ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Game changing Jobs for Nature investment for Northland
    Conservation Minister Kiri Allan has announced Jobs for Nature funding for a portfolio of projects that will create ‘game changing’ gains for nature and communities across Northland/Te Tai Tokerau as part of the Government’s acceleration of the economic recovery from COVID. “This portfolio of 12 projects will see over $20 ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Third COVID-19 vaccine receives provisional approval
    New Zealand’s regulatory authority Medsafe has granted provisional approval of the AstraZeneca COVID-19 vaccine for individuals 18 years of age and older, Acting Minister for COVID-19 Response Dr Ayesha Verrall announced today. New Zealand secured 7.6 million doses (enough for 3.8 million people) of the AstraZeneca COVID-19 vaccine through an ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Bowel-cancer screening programme is saving lives
    More than 1000 New Zealanders have had bowel cancer – New Zealand’s second-most-common cause of death from cancer - detected under the Government’s National Bowel Screening Programme, Health Minister Andrew Little said today. More than 1200 New Zealanders died from bowel cancer in 2017. The screening programme aims to save ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Govt welcomes draft report on the retail grocery sector
    The Commerce Commission’s draft report into the retail grocery sector is being welcomed by Government as a major milestone. “I asked the Commerce Commission to look at whether this sector is as competitive as it could be and today it has released its draft report for consultation,” Commerce and Consumer ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Christchurch’s Youth Hub ‘set to go’ thanks to further Government funding
    Construction of New Zealand’s first, purpose-built centre for youth well-being is ready to get underway thanks to an extra $2.5 million of COVID-19 response funding, Housing Minister and Associate Minister of Finance, Megan Woods announced today.  “The Christchurch Youth Hub is about bringing together all the things young people need ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Next step to protect Milford Sound Piopiotahi
    Expert group lays out plan to better protect iconic UNESCO World Heritage site Milford Sound Piopiotahi and its surrounds Funding confirmed for dedicated unit and Establishment Board to assess the recommendations and provide oversight of the process from here Milford Opportunities Project a test case for transformational change in tourism ...
    BeehiveBy beehive.govt.nz
    1 week ago
  • Funding for projects to reduce waste from construction and demolition
    The Government has announced funding for projects in Auckland and the lower North Island to help reduce construction and demolition waste. “Construction is the main source of waste sent to landfill, and much of this could be reduced, reused and recovered,” Environment Minister David Parker said. “The Government is funding ...
    BeehiveBy beehive.govt.nz
    1 week ago