Tag Archives: performance

PHPRedBean ORM Performance issue

I am making a webservice in php witch my website will use to query for information with ajax calls.
At first i just did it the standard way with the built in php mysql lib, and wrote all the query’sContinua a leggere

Tagged , , , , | Lascia un commento

proper array use in php

It was explained to me by a more senior PHP programmer that using PHP arrays is inefficient as it results in extra data copying. He then explained that you get less memory consumption and more performance by creating classes toContinua a leggere

Tagged , , , , | Lascia un commento

Httpd slows on fedora 16 and then it takes even about 60 sec to load an easy php site in firefox

I installed apache + mysql + php. At first glance everything runs ok. Il problema è: During testing simple php website from my local server the longer I work the slower firefox operates or even freeze totally. After firefox restartContinua a leggere

Tagged , , , , | Lascia un commento

Database engine for a (grande) Python project

I have a huge project written in PHP and the data is stored in MySQL (mostly MyISAM tables and a bit of InnoDB). Because the project gets bigger and more complicated I want to rewrite it using object oriented programmingContinua a leggere

Tagged , , , , | Lascia un commento

PHP: Un modo efficace per inserire una lista al database

Merely due to the sake of being efficient I would like to hear some advises from the PHP expers here. (Actually this question goes out all developers that mess with database connections on a regular basis)
Assume you have oneContinua a leggere

Tagged , , , | 1 Come

Memcached scaling: key “grouping

As it is best practice to group related keys that are frequently retrieved together (using multiGet) on a single server for optimum performance, I have a couple questions regarding the implicit mechanics employed by the client functions built for doingContinua a leggere

Tagged , , , , | Lascia un commento

Il modo migliore per farlo stringa di formattazione in PHP CI con ramoscello installato

I know this is gonna be a very basic question, but here is my question,
I am using CodeIgniter 2.1.0 integrated with Twig 1.8.1, I basically made up
a custom language loading function just for Twig, this method works, ma… Continua a leggere

Tagged , , , | Lascia un commento

Non troppi richiede / include rallentamento PHP

I am now writing a php framework. I am wondering whether it will slow down when php require/include o require_once/include_once… too many files during a request? Continua a leggere

Tagged , | 3 Commenti

Best log database structure

MYSQL/PHP, I want to create a record of activities that people perform on the site.

Table ADDED -> EventID, UserID, Time, IP

Table DELETED -> EventID, UserID, Time, IP

Table SHARED -> EventID, UserID, Time, IP.

Is it more efficient Continua a leggere

Tagged , , , | Lascia un commento

struttura del database più efficace per registrare l'attività

MYSQL/PHP, I want to create a record of activities that people perform on the site.

Table ADDED -> EventID, UserID, Time, IP

Table DELETED -> EventID, UserID, Time, IP

Table SHARED -> EventID, UserID, Time, IP.

Is it more efficient Continua a leggere

Tagged , , , | 1 Come
21 pagine