derece Posted March 11, 2011 Posted March 11, 2011 Hi im enable memcached in my v3.1.4 like your guys write here http://community.invisionpower.com/resources/official.html?record=169 Im start memcached server on 127.0.0.1.11211 and add this info to config file$INFO['use_memcache'] = '1'; $INFO['memcache_server_1'] = '127.0.0.1'; $INFO['memcache_port_1'] = '11211'; memcache server is ok: telnet 127.0.0.1 11211 Trying 127.0.0.1... Connected to localhost.Escape character is '^]'. stats STAT pid 78884 STAT uptime 490 STAT time 1299868854 .... Im install extension=memcache.so and add it to my php.ini But i can not see any speed changes, with or without memcached, looks like it does not work and i dont know how to check it, no errors and warnings im my php logs. Can u tell me how to check it? Thanks
.Nuno. Posted March 11, 2011 Posted March 11, 2011 If you're running a single server you'll be better with APC or xCache. http://stackoverflow.com/questions/1794342/memcache-vs-apc-for-a-single-server-site-data-caching
derece Posted March 12, 2011 Author Posted March 12, 2011 If you're running a single server you'll be better with APC or xCache. [url="http://stackoverflow.com/questions/1794342/memcache-vs-apc-for-a-single-server-site-data-caching"]http://stackoverflow...te-data-caching[/url] Thanks bro, im inslall ACP and enable it, and now forum forks two times faster then before by ab tests ab -n 1000 -c 20 http://surftime.ru/ Time taken for tests: 23.010 seconds Complete requests: 1000 Failed requests: 0 Broken pipe errors: 0 Total transferred: 231563332 bytes HTML transferred: 231302071 bytes Requests per second: 43.46 [#/sec] (mean) Time per request: 460.20 [ms] (mean) Time per request: 23.01 [ms] (mean, across all concurrent requests) Transfer rate: 10063.60 [Kbytes/sec] received Without APC im have Requests per second: 24.23 [#/sec] (mean) But that is intresting for me to make tests with memcached. But i can not switch on it...
Gary. Posted March 12, 2011 Posted March 12, 2011 When you say memcache, I assume you installed the memcached engine aswell, Or it will not function. Memcache will not function without memcached and vice versa. Hope this helps.
derece Posted April 8, 2011 Author Posted April 8, 2011 When you say memcache, I assume you installed the memcached engine aswell, Or it will not function. Memcache will not function without memcached and vice versa. Hope this helps. Not really, If u read firs post, u can see how i test memcached, looks like it works. But when im put all settings to cfg file, nothing was changed. Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.