Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Technical support
»
Memcached how to
« previous
next »
Print
Pages: [
1
]
Author
Topic: Memcached how to (Read 5038 times)
timalsina
Jr. Member
Posts: 73
Memcached how to
«
on:
September 03, 2014, 06:55:46 »
The cloud hosting platform we've chosen offers Memcached for db cache. Is there an easy way to configure it for Elxis and IOSR Reservations/Hotels site?
Thanks.
«
Last Edit: September 03, 2014, 19:23:27 by timalsina
»
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Memcached how to
«
Reply #1 on:
September 03, 2014, 16:00:16 »
I suggest you to use APC instead of Memcache. As for performance ... APC will be faster because:
- APC can act as both an
opcode
and
object cache
. Memcache is just an object cache.
- APC is an in-process, single-host cache. While memcache is a separate process for distributed hosts, so adds some TCP latency even when it's running locally.
If you have many servers or want to put your object cache on a separate VPS, then memcache will work. But if you have the memory to keep everything on a single server stick with APC.
Here are some benchmarks:
1.
http://www.mysqlperformanceblog.com/2006/08/09/cache-performance-comparison/
2.
http://stackoverflow.com/questions/1794342/memcache-vs-apc-for-a-single-server-site-data-caching
Use the performance features as provided by Elxis Core and you'll see the difference. There is no need to enable whatever is provided by your hosting provider.
«
Last Edit: September 03, 2014, 16:01:52 by webgift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
timalsina
Jr. Member
Posts: 73
Re: Memcached how to
«
Reply #2 on:
September 03, 2014, 19:26:20 »
@webgift
Sounds good. Will explore into it in the future when MySql DB Query Performance becomes a bottleneck.
Thank you.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Technical support
»
Memcached how to