Hi,

Reviewing /people is a good idea; we'll see and discuss how you
envision introducing memcache support in the code.

(A priori I think that memcache'd data need to be properly
encapsulated (getter+setter) to avoid differences between MySQL and
the memcache, and update the memcache whenever the data changes.)


For the most often used queries: I enabled $sys_debug_sqlprofiler (as
seen in include/database.php) at Savannah. The results are viewable
through https://savannah.gnu.org/xcache/?type=1 (sort by 'Hits').

-- 
Sylvain

On Tue, Apr 29, 2008 at 06:42:57PM +0200, Sahid Ferdjaoui wrote:
> Hello Sylvain
> 
> OK, I can try reduce MySQL load
> 
> for begin, i try reviewing "/people", OK ?
> or you can tell me, what are the primaries modules load MySQL.
> 
> 
> On Tue, Apr 29, 2008 at 12:29 AM, Sahid Ferdjaoui <[EMAIL PROTECTED]> wrote:
> > OK Sylvain thank,
> >
> >  I try to install savannah and i try understand the actualy code :)
> >
> >  good night
> >
> >
> >
> >
> >
> >
> >  On Mon, Apr 28, 2008 at 8:30 PM, Sylvain Beucler <[EMAIL PROTECTED]> wrote:
> >  > Hi,
> >  >
> >  >  Thanks for contributing to GNU :)
> >  >
> >  >  We've assembled a list of "help needed" tasks at:
> >  >  http://savannah.gnu.org/maintenance/SavaneTasks
> >  >
> >  >  Can you read it and tell us what you are interested in?
> >  >
> >  >
> >  >  Since you already used memcached, here's another idea just for you:
> >  >  we'd like Savane to use memcached to reduce the MySQL load; the
> >  >  criticil points are (IMHO):
> >  >  - the code is not well encapsulated
> >  >  - a lot of queries use JOINs, which I believe won't be easy to replace
> >  >   with similar memcached calls
> >  >  Suggestions/code appreciated ;)
> >  >
> >  >  Hear from you soon,
> >  >
> >  >  --
> >  >  Sylvain
> >  >
> >  >  > Subject: [gnu.org #360924] PHP developer for savanah
> >  >  > From: Sahid Ferdjaoui via RT <[EMAIL PROTECTED]>
> >  >  > Date: Sun, 27 Apr 2008 08:21:26 -0400
> >  >  > Hello,
> >  >  >
> >  >  > I'm french, i'm 23 years, i'm passionte by open sources projects in
> >  >  > particulary gnu project.
> >  >  > Currently i'm computer programmer for comunity web site, developed
> >  >  > with PHP, Apache, MySQL and Memcached.
> >  >  > i have developed for this web site, a MySQL and Memcached abstracts
> >  >  > classes,  a secure payment's API with GUI's admin, SOAP and REST web
> >  >  > services.
> >  >  >
> >  >  > if you want my CV contact me.
> >  >  > you can see my french blog http://sahid.funraill.org
> >  >  >
> >  >  > Thanks
> >  >
> >
> >
> >
> >  --
> >  ~sahid
> >
> >  http://sahid.funraill.org
> >
> 
> 
> 
> -- 
> ~sahid
> 
> http://sahid.funraill.org


Reply via email to