cyberciti.biz: Install Memcached Server For Python and PHP Apps

cyberciti.biz: Install Memcached Server For Python and PHP Apps

Memcached is a general-purpose distributed memory caching system. It is usually used to speed up dynamic database-driven webapps or websites by caching objects in RAM. It is often result into reducing database load. You need to install the following packages:

  1. memcached – A high-performance memory object caching server
  2. php5-memcache – Memcache extension module for PHP5
  3. php5-memcached – Memcached extension module for PHP5, uses libmemcached
  4. python-memcache – Pure python memcached client

Let us add a key called foo with value BAR, enter:

echo -e 'add foo 0 300 3\r\nBAR\r' | nc localhost 11211

Sample outputs:

STORED
Advertisements

arstechnica.com: Hands-on with Canonical’s Orange Box and a peek into cloud nirvana. Ten Intel NUCs in a custom enclosure make for a compelling cloud-in-a-box.

arstechnica.com: Hands-on with Canonical’s Orange Box and a peek into cloud nirvana. Ten Intel NUCs in a custom enclosure make for a compelling cloud-in-a-box.

Orange Box

Take ten high-end Intel NUCs, a gigabit Ethernet switch, a couple of terabytes of storage, and cram it all into a fancy custom enclosure. What does that spell? Orange Box.

Inside the custom orange chassis are ten stripped Intel Ivy Bridge D53427RKE NUCs. Each comes with 16GB of RAM and a 120GB SSD, and they’re all connected to a gigabit Ethernet switch. One of the NUCs is the control node; its USB and HDMI ports are wired to the Orange Box’s rear panel, and that particular node also runs Canonical’s MAAS software. Its single unified internal 320W power supply runs on a single 110v outlet—even when all ten nodes are going flat-out, it doesn’t require a second power plug.

Juju is a complex tool that can do a whole lot of stuff, but the simplest way to think of it is as “apt-get but for services.” Put another way, if you wanted to install a Web server on Ubuntu, you could use apt-get; if you want to deploy an entire Web application stack, you could do it with Juju.

Servers, Kirkland explained, shouldn’t be special pets—servers should be cattle. In the Canonical universe, if you have MAAS in your data center, you should be able to deploy a Hadoop Juju charm out to four MAAS servers that fit your desired performance criteria and start work rather than requiring bespoke hardware. Further, you should be able to scale up and down as needed; if your Hadoop workload is low, you can destroy two of the four boxes and retask them to something else by deploying a different charm to them. If your Hadoop workload goes up dramatically, you can reclaim them or even spin up additional ones.

Dustin Kirkland: The Orange Box: Cloud for the Free Man

Dustin Kirkland: The Orange Box: Cloud for the Free Man

Orange Box

Conceived by Canonical and custom built by TranquilPC, the Orange Box is a 10-node cluster computer, that fits in a suitcase.

Ubuntu, MAAS, Juju, Landscape, OpenStack, Hadoop, CloudFoundry, and more!

The Orange Box provides a spectacular development platform, showcasing in mere minutes the power of hardware provisioning and service orchestration with Ubuntu, MAAS, Juju, and Landscape. OpenStack, Hadoop, CloudFoundry, and hundreds of other workloads deploy in minutes, to real hardware — not just instances in AWS! It also makes one hell of a Steam server.

Each Orange Box chassis contains:

  • 10x Intel NUCs
  • Specifically, the Ivy Bridge D53427RKE model, chosen for its support of Intel AMT
  • All 10x Intel NUCs contain
    • i5-3427U CPU
    • Intel HD Graphics 4000 GPU
    • 16GB of DDR3 RAM
    • 120GB SSD root disk
    • Intel Gigabit ethernet
  • D-Link DGS-1100-16 managed gigabit switch with 802.1q VLAN support
    • All 10 nodes are internally connected to this gigabit switch
    • 100-240V AC/DC power supply
    • Adapter supplied for US, UK, and EU plug types
    • 19V DC power supplied to each NUC
    • 5V DC power supplied to internal network switch

Most planes fly in clouds…this cloud flies in planes!

blog.dustinkirkland.com: From the Canyon Edge – :-Dustin Kirkland

blog.dustinkirkland.com: From the Canyon Edge – :-Dustin Kirkland
Dustin Kirkland is Canonical’s Cloud Solutions Product Manager, leading the technical product strategy, road map, and life cycle of the Ubuntu Cloud commercial offerings. Formerly the CTO of Gazzang, a venture funded start-up, Dustin designed and implemented an innovative key management system for the cloud, called zTrustee, and delivered comprehensive security for cloud and big data platforms with eCryptfs and other encryption technologies. Dustin is an active Core Developer of the Ubuntu Linux distribution, maintainer of 20+ open source projects, and the creator of Byobu, DivItUp.com, and LinuxSearch.org. A Fightin’ Texas Aggie Class of 2001 graduate, Dustin lives in Austin, Texas, with his wife Kim, daughters, and his Australian Shepherds, Aggie and Tiger. Dustin is also an avid home brewer.

Phoronix.com: The Performance Impact Of Linux Disk Encryption On Ubuntu 14.04 LTS

Phoronix.com: The Performance Impact Of Linux Disk Encryption On Ubuntu 14.04 LTS
When looking at the CPU usage overall for all of the tests, the standard install without any form of disk encryption averaged out to 26% for this Intel Core i7 Ultrabook while in the end for the LUKS on LVM and eCryptfs encryption the cost both averaged out to be about 30~31%. From these results, I would continue to highly recommend using full-disk encryption via LUKS on LVM as opposed to just the eCryptfs-based home directory solution where the performance actually seemed worse and you’re then also not protecting /tmp and other areas of the disk.

Interesting facts about Ubuntu Linux – Linux FAQ

Interesting facts about Ubuntu Linux – Linux FAQ
The largest desktop migration to Ubuntu is the upgrade of 85,000 desktop PCs from Microsoft operating system to Ubuntu by La Gendarmerie Nationale’s IT team, under the French police force. 14. According to Ubuntu popularity contest, dpkg package is ranked first in terms of the number of people who use the package regularly, and ncurses-base package is number one in terms of the number of people who installed the package. 15. The best selling Ubuntu app of July 2013 was filebot, which is TV/movie renamer and subtitle downloader software. It sold 48 copies during the month. 16. Since late 2008, the Wikipedia infrastructure has been powered by LAMP stack running on Ubuntu servers. 17. Ubuntu Font Family, which is used in the official Ubuntu wordmark, is the 8th most popular font used in the Google Web Font directory. 18. Google’s self driving car is powered by a stripped version of Ubuntu. 19. Google is known to be a customer of Ubuntu Advantage, Ubuntu’s enterprise services, in man