473,508 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

When to use memcache?

4 New Member
I am looking around and I am very interested in memcached and it's php extension. After looking around on the net I can't get myself acquainted with it. My website is written in php and uses MySQL as the database. It is a fairly small site for linux distros. Having so many people connect to the site creates a major load on apache and MySQL.

Since I've read that using memcache will decrease your server load significantly I'm basically looking for some examples how/when to use it.
Nov 10 '07 #1
1 2239
Atli
5,058 Recognized Expert Expert
Hi.

As I understand it, this is used to "buffer" database results for a set amount of time (a few seconds, usually), so that not every request needs to query the database. On a high traffic web this will of course reduce the database overhead.

Check out the memcached web for more info and Memcache Functions for info on how to use this in PHP.
Nov 10 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
19923
by: sql-db2-dba | last post by:
Does DB2 just fudge it when it is an empty table? Is there a "formula" for average row size when you have variable length records. Or you really have to know what your application is packing into...
4
5901
by: Peter Row | last post by:
Hi, I have created a UserControl which is subsequently hosted on a standard form. My control has a TabControl on it but it has no TabPages configured. At runtime I create X pages and put a...
5
555
by: AAguiar | last post by:
I have an asp.net project where the code behind the aspx page calls a c# class which makes calls to a managed static C++ class. The C# class works fine when the asp net worker process starts, when...
8
2543
by: Galina | last post by:
Hello I have 6 dependent list boxes on my ASP page:  Faculty;  Lecturer;  Course;  Course occurrence;  Group;  Week commencing date. When faculty is selected, lists of lecturers and...
4
2687
by: Fraser Tweedale | last post by:
Do you suppose / does anyone know whether it would be faster to use the default 'files' session handler, or to define new session handlers that interact with a memcache process running on the same...
0
1193
by: write2ashokkumar | last post by:
hi... How to handle memcache with Mysql trigger? Reffer : http://mysqlblog.lenoxway.net/index.php?/archives/3-MySQL-triggers-and-memcache.html Regards, S.Ashokkumar.
1
1947
by: tushar deshpande | last post by:
i have configured memcache and libevent support for php4, but still not working. how can we configure this in php4. plz tell.
3
7374
by: pedalpete | last post by:
Hi Linux Masters, I've run into a bit of an issue getting memcache to run on my linux server. I can test run using memcached -m 512 -u nobody -vv but running the daemon with
3
6593
by: Ravi | last post by:
Hi all, I installed memcache extension in windows. but when i am running the example then i am getting Fatal error: Class 'Memcache'
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.