--- Introduction and installation of memcached server (switch)

What is Memcached?

Memcached is a high performance distributed memory object caching system for dynamic Web application to reduce the database load. It does this by caching data in memory and objects to reduce the number of times to read the database to provide dynamic, database-driven Web site speed. Memcached is based on a memory key / value pairs hashmap. The daemon (daemon) is written in C, but the client can be written in any language, and by agreement with the memcached daemon communication. But it does not provide redundancy (for example, copy the hashmap entry); When a server S stops or crashes, all stored in the S on the key / value pairs are lost.
Memcached developed by the Danga Interactive for LiveJournal.com improve access speed. LJ dynamic page views per second, thousands of times, the user 7000000.
Memcached will significantly reduce the database load, and better allocation of resources, faster access.

How to use the memcached-Server-side?

In the server running: #. / Memcached-d-m 2048-l 10.0.0.40-p 11211

This will start a process that takes 2G memory, and open the 11211 port for receiving requests. Because the system can only handle 32-bit addressing 4G memory, so more than 4G memory usage on the server PAE 32-bit processes can run 2-3, and listen on different ports

http://code.jellycan.com/memcached/ download memcached-1.2.1-win32.zip package

memcached 1.2.1 for Win32 binaries
This is the Win32 memcached server latest version, downloaded directly on it;

With the source package, in accordance with the following steps
1. Unzip the file to c: \ memcached.
2. The command line, type 'c: \ memcached \ memcached.exe-d install'; or run c: \ memcached \ instalService.bat file.
3. The command line, type 'c: \ memcached \ memcached.exe-d start'; or run c: \ memcached \ memcached.exe file. (The command to start Memcached, the default port is 11211 ******)
(Note: after windows memcached as a service to automatically start each time. This server has been installed a)
By memcached.exe-h to view its help

分类:Internet 时间:2010-10-28 人气:92
分享到:
blog comments powered by Disqus

相关文章

  • Optimize website performance improve speed of web access speed of 14 practice 2009-04-24

    Believe that the Internet has become more and more an integral part of life. ajax, flex and so on rich-client application makes it more "happy" to experience a lot of the original only in C / S implementation functions. Opportunities such as Goo

  • java regular Java: Web Application timing tasks to achieve an easy way to (switch) 2010-10-15

    java regular Java: Web Application timing tasks to achieve an easy way to (switch) WEB application in the regular task to achieve an easy way to In web mode, if we are to achieve on a regular basis to perform certain tasks, then, in addition to quart

  • C # connection Access.SQL Server.Oracle.MySQL.DB2 and SyBase six different database procedure source 2010-06-17

    This article lists the C # to connect Access, SQL Server, Oracle, MySQL, DB2 and SyBase six different database programs and the need to pay attention to the point source. 1.C # Connection Access Code: using System.Data; using System.Data.OleDb; strin

  • asp.net / C # to connect sql server, oracle.access, my sql database 2010-07-06

    asp.net connect SQL SERVER -------------------------------------------------- -------------------------------------------------- ----------------- using System.Data; using System.Data.SqlClient; ... string strConnection = "user"; strConnection =

  • Oracle, MySQL, MSSQL Server and Access database statistical functions 2011-03-11

    Oracle, MySQL, MSSQL Server and Access database statistical functions Commonly used in the statistical programming functions are count, sum, maximum, minimum, averaging, variance and standard deviation. Variance (Variance) Variance is the standard de

  • Optimizing Apache Web access speed boost 2010-04-08

    In the Yahoo developer site, Yahoo proposed to optimize site performance of N rules (Best Practices for Speeding Up Your Web Site). These rules are: 1. As much as possible to reduce the number of HTTP requests (Minimize HTTP Requests) - Tag: content

  • Put out the optimized Web access speed can do 2010-08-05

    1, server optimization l Windows Series: * 64 Win2008r2 + Hpyer-V + load balancing + IIS7.5 * 64-bit Win2003 + virtual machine + load balancing + IIS6 * Ban server access outside the network. Turn off unnecessary ports. * Remove all permissions for e

  • What to do to improve site access speed optimization 2010-11-07

    What to do to improve site access speed optimization First, the server optimization l Windows Series: 64 Win2008r2 + Hpyer-V + load balancing + IIS7.5 64-bit virtual machine + Win2003 + load balancing + IIS6 Ban server access outside the network. Tur

  • Java Web Application Server Comparison 2010-12-30

    Transfer from: http://special.e800.com.cn/070902/ Case] [Editor Tomcat is an open source, run servlet and JSP Web application software application software based on Java Web container. Subprojects by the Apache-Jakarta Tomcat support from the open so

  • Ten Steps to optimize SQL Server Data Access 2011-08-24

    The story begins: You and your team through unremitting efforts, and finally make the site successful on-line, at the beginning, fewer registered users, site performance is good, but with the increase in registered users, access speeds began to slow,

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.737 (s). 12 q(s)