Sponsored Content
The Lounge What is on Your Mind? Similar Threads for Man Pages - In Development Post 303042585 by vbe on Tuesday 31st of December 2019 03:33:57 AM
Old 12-31-2019
Hi Neo,
my 2 cents:
You maybe did so but if not, knowing the type of process it involves, I would have chosen as you did a calm period for the task, and to not waste proc time due to the different caches, try to optimize what I can/ where I can e.g. not sure you can change the cache ration of the FS or underlying storage ( I suppose that is more the provider's duty...) but you have access to your RDBMS kernel I would reduce its cache working storage to force the reading of the true data) this is efficient for big batch processes when you know you are after data not often read ( so no chance of finding them in caches), of course, it impacts ordinary online interactive work but as you have fewer requests thrown by online users its acceptable... it should improve a bit your step 4...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Man pages

Hello , I just installed openssh in my system . I actually tried to man sshd but it says no entry , though there is a man directory in the installation which have the man pages for sshd . Can anyone tell me how should i install these man pages . DP (2 Replies)
Discussion started by: DPAI
2 Replies

2. UNIX for Dummies Questions & Answers

man pages

Hi, I've written now a man pages, but I don't knwo how to get 'man' to view them. Where have I to put this files, which directories are allowed?? THX Bensky (3 Replies)
Discussion started by: bensky
3 Replies

3. UNIX for Dummies Questions & Answers

man pages

Hi folks, I want to know all the commands for which man pages are available. How do i get it? Cheers, Nisha (4 Replies)
Discussion started by: Nisha
4 Replies

4. UNIX for Dummies Questions & Answers

man pages

When reading man pages, I notice that sometimes commands are follwed by a number enclosed in parenthesis. such as: mkdir calls the mkdir(2) system call. What exactly does this mean? (4 Replies)
Discussion started by: dangral
4 Replies

5. UNIX for Dummies Questions & Answers

how to read man pages

can anybody explain me how to read unix man pages? for example when i want to get information about ps command man ps gives me this output: *********************************** Reformatting page. Please wait... completed ps(1) ... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

6. UNIX for Dummies Questions & Answers

Man pages on Solaris 10

Hi, I want to install man pages package from solaris 10. Solaris 10 has already been installed on my servor but I have to add the man pages packages. I search for a long time on internet this package but I didn't find a compatible one... So I downloaded Solaris 10 from Sun site to get this... (1 Reply)
Discussion started by: MasterapocA
1 Replies

7. Fedora

why do we have .1 extension in MAN PAGES?

Hello sir, I am using FEDORA 9. I wanted to know why do we have ".1" extension in the archives of man pages. I know we are giving format. I want to know the importance or purpose of this format. Can you please tell me :confused: (2 Replies)
Discussion started by: nsharath
2 Replies

8. Solaris

MAN PAGES

Hi everyone, I have a small query, in solaris the man pages get displayed on half of the terminal , can i get a full terminal or full screen display ?:) (2 Replies)
Discussion started by: M.Choudhury
2 Replies

9. HP-UX

Looking for some man pages.

Can anyone supply me with the man pages for: omnidatalist omnibarlist omnisap.exe I prefer the source man pages in nroff format. A clue about the software bundles which supply these man pages is fine as well. OS: HP-UX TIA (11 Replies)
Discussion started by: sb008
11 Replies

10. Shell Programming and Scripting

Commands for man pages

what command should i use for displaying the manual pages for the socket, read and connect system calls? (1 Reply)
Discussion started by: Nabeel Nazir
1 Replies
cache::async(n) 						 In-memory caches						   cache::async(n)

__________________________________________________________________________________________________________________________________________________

NAME
cache::async - Asynchronous in-memory cache SYNOPSIS
package require Tcl 8.4 package require cache::async ?0.3? ::cache::async objectName commandprefix ?options...? objectName get key donecmdprefix objectName set key value objectName unset key objectName exists key objectName clear ?key? _________________________________________________________________ DESCRIPTION
This package provides objects which cache data in memory, and operate asynchronously with regard to request and responses. The objects are agnostic with regard to cache keys and values, and unknown methods are delegated to the provider of cached data. These two properties make it easy to use caches as a facade for any data provider. API
The package exports a class, cache::async, as specified below. ::cache::async objectName commandprefix ?options...? The command creates a new cache object with an associated global Tcl command whose name is objectName. This command may be used to invoke various operations on the object. The commandprefix is the action to perform when an user asks for data in the cache and the cache doesn't yet know about the key. When run the commandprefix is given three additional arguments, the string get, the key requested, and the cache object itself, in the form of its object command, in this order. The execution of the action is done in an idle-handler, decoupling it from the origi- nal request. The only supported option is -full-async-results This option defines the behaviour of the cache for when requested keys are known to the cache at the time of get request. By default such requeste are responded to asynchronously as well. Setting this option to false forces the cache to respond to them synchronuously, although still through the specified callback. The object commands created by the class commands above have the form: objectName get key donecmdprefix This method requests the data for the key from the cache. If the data is not yet known the command prefix specified during construc- tion of the cache object is used to ask for this information. Whenever the information is/becomes available the donecmdprefix will be run to transfer the result to the caller. This command pre- fix is invoked with either 2 or 3 arguments, i.e. [1] The string set, the key, and the value. [2] The string unset, and the key. These two possibilities are used to either signal the value for the key, or that the key has no value defined for it. The latter is dis- tinct from the cache not knowing about the key. For a cache object configured to be fully asynchronous (default) the donecmdprefix is always run in an idle-handler, decoupling it from the request. Otherwise the callback will be invoked synchronously when the key is known to the cache at the time of the invokation. Another important part of the cache's behaviour, as it is asynchronous it is possible that multiple get requests are issued for the same key before it can respond. In that case the cache will issue only one data request to the provider, for the first of these, and suspend the others, and then notify all of them when the data becomes available. objectName set key value objectName unset key These two methods are provided to allow users of the cache to make keys known to the cache, as either having a value, or as unde- fined. It is expected that the data provider (see commandprefix of the constructor) uses them in response to data requests for unknown keys. Note how this matches the cache's own API towards its caller, calling the donecmd of get-requests issued to itself with either "set key value" or "unset key", versus issuing get-requests to its own provider with itself in the place of the donecmd, expecting to be called with either "set key value" or "unset key". This also means that these methods invoke the donecmd of all get-requests waiting for information about the modified key. objectName exists key This method queries the cache for knowledge about the key and returns a boolean value. The result is true if the key is known, and false otherwise. objectName clear ?key? This method resets the state of either the specified key or of all keys known to the cache, making it unkown. This forces future get-requests to reload the information from the provider. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category cache of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
asynchronous, cache, callback, synchronous COPYRIGHT
Copyright (c) 2008 Andreas Kupries <andreas_kupries@users.sourceforge.net> cache 0.3 cache::async(n)
All times are GMT -4. The time now is 09:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy