Question : Is there a shared hosting running memcached ?
22 June 2012 : Hostgator Level 5 VPS or higher supports memcache, contact them for more information.
Introduction :-
memcached (pronunciation: mem-cache-dee.) is a general-purpose distributed memory caching system that was originally developed by Danga Interactive for LiveJournal, but is now used by many other sites. It is often used to speed up dynamic database-driven websites by caching data and objects in memory to reduce the number of times the database must be read.
Memcached lacks authentication and security features, meaning it should only be used on servers with a firewall set up appropriately. By default, memcached uses the port 11211.
see more at http://en.wikipedia.org/wiki/Memcached
Now back to the question, Is there a shared hosting offer memcached pre-installed ?
There could be shared hosts offering memcached but it doesn’t make sense. If your application utilize memcache, that would probably means that your website is large and create many dynamic pages on the fly, so websites like this usually will not host on shared hosting. And secondly, memcached lacks of authentication which mean other user on the shared hosting is able to retrieve information from memcached if keys is correct.
You should look for a VPS or dedictaed if you want to utilize memcache – and honestly, that is where it makes more sense. If you legitimately need memcache, then typically you are out of the realm of shared hosting. Typical file caching methods are more then adequate for shared hosting.
By Pascal on
Actually, one of the conveniences of memcaching is that you can store resources like result sets. If you wanted to do this with file storage, you would need to take each row of the result set, turn it into an array, serialize it and store it. Then do all that in reverse to get it out again.
By Martijn on
Well, of course memcache(d) is used for more larger(or read heavier) applications.
Very handy when it comes to object caching resultset’s and so on.
File storage could also be used but:
– it’s VERY slow when u look at the performance compared to memcache(d)
– u should make a good file locking mechanisme when u push/pull to/from 1 file
Sometimes in small applications u need HIGH performence and easy access for low traffic applications.
Like:
JS Ajax chat that push and pulls messages.(wich i made)
An problem appears when u would like the chat-messages to exists like 3 seconds.
I just build it to use the file handler (mysql). But when u install the chat on a server that uses memcache(d), it automaticly uses memcache(d).
But u can assign memcache(d) to a “user”… right ^^
By Snowcore` on
I am using simple file caching on the shared hosting. But only for small projects. Really, big project needs dedicated, or at least virtual server 🙂
By Nacho on
Honestly, I think you’re wrong. The reason I want to use memcached in my shared hosting is as simple as the fact that, by using it, I can avoid paying for a more powerful (and expensive) dedicated hosting.
By Techmafia on
Even i agree with Nacho
Memcached reduces server load by a considerable amount
i got 2 solutions for u
Either buy a VPS and install memcached urself
or else
contact some of the trustworty(those who u trust) hosting companies and get memcached installed on the server u will be sharing on shared hosting
i think there are many who offer that 🙂
By Christian on
http://www.bcphosting.com has memcached included in enterprise plan