Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory SSD Caching, how its done, right choice? Post 302905594 by Sergiu-IT on Thursday 12th of June 2014 09:27:40 AM
Old 06-12-2014
I assume that your client was talking about bcache or something similar.
 

7 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Hard Disk parameters (caching/dma)

Linux uses hdparm to set these parameters, my question is: what tool uses BSD systems (FreeBSD/OpenBSD/NetBSD)? There is another thing which FreeBSD implements on their filesystems: softupdates. If I forgot to enable this option when I partitioned the disk, how could I enable it at a later time? (1 Reply)
Discussion started by: eNTer
1 Replies

2. UNIX for Dummies Questions & Answers

Squid not caching properly

Hi guys, Not sure if this post is in the right thread, if not please let me know and I'll ask for it to be moved ) : I've set up the Squid proxy on my linux box (SuSE 10.1). About 4 people connect to the Internet via the proxy at the moment, and it's working fine. However - in the... (0 Replies)
Discussion started by: Aeros
0 Replies

3. UNIX for Dummies Questions & Answers

Caching while spliting a large file

Hi The scenario is like this. I need to split 5 files having size 3GB, 2GB, 4GB, 30GB and 20 GB respectively. The machine has 15GB heap space. Before starting split proces it was showing 15gb free space. Once the split process completed it showed 100 mb free and around 12GB cached. My... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

4. Linux

caching in squid

hi, i installed fedora core 12, and i installed squid v 3, i need to know how can i cache everything. anyone can help me please (1 Reply)
Discussion started by: zazoo
1 Replies

5. Shell Programming and Scripting

Caching find command

Hi, Is there a command which caches the results of the find, so the subsequent searches for file/file-pat are faster. Thanks, Nagarajan G (2 Replies)
Discussion started by: ennstate
2 Replies

6. Red Hat

Squid Caching Issue

Hi frnds I recently configured Squid 2.5 stable version on my redhat machine.Caches are storing in my disk (/var/spool/squid) but my access.log file always shows tcp_miss for every site i access as well as store.log file shows release on every action. some of the records of my... (6 Replies)
Discussion started by: Vaibhav.T
6 Replies

7. Solaris

Is there disk-level caching in Solaris 11?

I have an iSCSI disk at /dev/rdsk/c5t6d0 I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0 Now I write some data to the slice: echo "xyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxy" >/text dd if=/text of=/dev/dsk/c5t6d0s0 If I dump the disk contents I... (2 Replies)
Discussion started by: dorbaruch
2 Replies
Jifty::DBI::Record::Memcached(3pm)			User Contributed Perl Documentation			Jifty::DBI::Record::Memcached(3pm)

NAME
Jifty::DBI::Record::Memcached - records with caching behavior SYNOPSIS
package Myrecord; use base qw/Jifty::DBI::Record::Memcached/; DESCRIPTION
This module subclasses the main Jifty::DBI::Record package to add a caching layer. The public interface remains the same, except that records which have been loaded in the last few seconds may be reused by subsequent get or load methods without retrieving them from the database. METHODS
load_from_hash Overrides the implementation from Jifty::DBI::Record to add support for caching. load_by_cols Overrides the implementation from Jifty::DBI::Record to add support for caching. _cache_config You can override this method to change the duration of the caching from the default of 5 seconds. For example, to cache records for up to 30 seconds, add the following method to your class: sub _cache_config { { 'cache_for_sec' => 30 } } memcached_config Returns a hash containing arguments to pass to Cache::Memcached during construction. The defaults are like: ( services => [ '127.0.0.1:11211' ], debug => 0, ) You may want to override this method if you want a customized cache configuration: sub memcached_config { ( servers => [ '10.0.0.15:11211', '10.0.0.15:11212', '10.0.0.17:11211', [ '10.0.0.17:11211', 3 ] ], debug => 0, compress_threshold => 10_000, ); } cache_key_prefix Returns the prefix we should prepend to all cache keys. If you're using one memcached for multiple applications, you want this to be different for each application or they might end up mingling data. AUTHOR
Matt Knopp <mhat@netlag.com> SEE ALSO
Jifty::DBI, Jifty::DBI::Record perl v5.14.2 2010-09-21 Jifty::DBI::Record::Memcached(3pm)
All times are GMT -4. The time now is 02:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy