You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Nagy Attila (JIRA)" <ji...@apache.org> on 2009/02/17 11:12:59 UTC
[jira] Created: (SHINDIG-921) CacheMemcache replace dynamic
connection with static?
CacheMemcache replace dynamic connection with static?
-----------------------------------------------------
Key: SHINDIG-921
URL: https://issues.apache.org/jira/browse/SHINDIG-921
Project: Shindig
Issue Type: Improvement
Components: PHP
Affects Versions: 1.0.x-incubating
Reporter: Nagy Attila
Priority: Minor
Fix For: 1.0.x-incubating
Attachments: shindig_cachememcache_static.patch
Class CacheMemcache stores the open memcache connection in the internal $connection variable.
I propose this should be replaced with a class static variable, thus elliminating multiple calls to memcache_pconnect() during one run. This could be very usefull also if one wants to replace pconnect with standard connect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-921) CacheMemcache replace dynamic
connection with static?
Posted by "Nagy Attila (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nagy Attila updated SHINDIG-921:
--------------------------------
Attachment: shindig_cachememcache_static.patch
Patch against branch 1.0.x-incubating attached
> CacheMemcache replace dynamic connection with static?
> -----------------------------------------------------
>
> Key: SHINDIG-921
> URL: https://issues.apache.org/jira/browse/SHINDIG-921
> Project: Shindig
> Issue Type: Improvement
> Components: PHP
> Affects Versions: 1.0.x-incubating
> Reporter: Nagy Attila
> Priority: Minor
> Fix For: 1.0.x-incubating
>
> Attachments: shindig_cachememcache_static.patch
>
>
> Class CacheMemcache stores the open memcache connection in the internal $connection variable.
> I propose this should be replaced with a class static variable, thus elliminating multiple calls to memcache_pconnect() during one run. This could be very usefull also if one wants to replace pconnect with standard connect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHINDIG-921) CacheMemcache replace dynamic
connection with static?
Posted by "Chris Chabot (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Chabot resolved SHINDIG-921.
----------------------------------
Resolution: Fixed
Fix Version/s: trunk
Assignee: Chris Chabot
Ah nice catch! Indeed that does make a lot more sense.
I'll do the actual committing of the patch once apache's svn server's maintenance is done (it's in read only mode at the moment).
> CacheMemcache replace dynamic connection with static?
> -----------------------------------------------------
>
> Key: SHINDIG-921
> URL: https://issues.apache.org/jira/browse/SHINDIG-921
> Project: Shindig
> Issue Type: Improvement
> Components: PHP
> Affects Versions: 1.0.x-incubating
> Reporter: Nagy Attila
> Assignee: Chris Chabot
> Priority: Minor
> Fix For: trunk, 1.0.x-incubating
>
> Attachments: shindig_cachememcache_static.patch
>
>
> Class CacheMemcache stores the open memcache connection in the internal $connection variable.
> I propose this should be replaced with a class static variable, thus elliminating multiple calls to memcache_pconnect() during one run. This could be very usefull also if one wants to replace pconnect with standard connect.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.