[SYMBOL]
[A]
[B]
[C]
[D]
[E]
[F]
[G]
[H]
[I]
[J]
[K]
[L]
[M]
[N]
[O]
[P]
[Q]
[R]
[S]
[T]
[U]
[V]
[W]
[X]
[Z]
sampling techniques, profilers and
savepoints
scalability asynchronous vs. synchronous processing
concurrency conflicts in EJB application
horizontal
monitoring tools
reducing resource contention to improve
sessions, distributing for
testing in simulation or skeleton system
scaling
of algorithms
CORBA vs RMI
load balancing, importance of
optimizations and
performance tests
scatter-gather operations, NIO buffer classes
schema partitioning
screen navigation in reestablished connections
search trees
digital tries
using with ternary
ternary
converting recursion to iteration
precreated pool of nodes, using
recursive ternary tree node
TernarySearchTree class
tuning
searches case-insensitive
recursive, converting to iterative
2nd
search spaces, breaking up into logically parallelized spaces
in strings
Boyer-Moore algorithm
security dispatcher decryption of requests
EJB application server
Sedgewick, Bob
seek time
SELECT statement (Oracle), optimizing
select( )
selectedKeys( ) (Selector)
selecting too many fields in database queries
Selector class
open( )
selectedKeys( )
Serializable interface
2nd
3rd
4th
serialization
change logs, using
constructors, avoiding use of
HttpSession objects
performance checklist
ServerObject class
servers application EJB, evaluating for performance and scalability
performance problems with
2nd
performance-monitoring API
persistent cache update mechanism, design of
application, web, and database, optimal configuration of
CORBA
DNS, running locally
downtime
J2EE monitors for
measuring total server-side service time
relay
RMI, enabling call tracing
ServerObjectCacher class (example)
TCP/IP
web servers performance problems caused by
2nd
Web Services, method execution time
ServerSessionPool interface
ServerSocket class
bind( )
ServerSocketChannel class accept( )
open( )
Service Locator pattern in EJB design
service providers, probing configuration and connection to
ServletContext class caching
moving session data to HttpSession
ServletOutputStream class
servlets doGet( ) and doPost( ) methods, execution times
logging capabilities for web server layer
network improvements
tuning
body tags, use of
cache tags
case study (Ace Hardware SPECmine tool)
compression, using
efficient page creation and output
HttpSession
more performance tips
performance checklist
SingleThreadModel, avoiding use of
session beans accessing entity beans from
nontransactional methods, declaring
stateless, speediness of
Session Façade in EJB design
sessions
distributing for higher scalability
HttpSession vs. stateful session beans
optimizing use of HttpSession objects
screen navigation in reestablished connections
serialization of HttpSession objects
state information, in-memory replication of
storing data in HttpSession instead of ServletContext
terminating
timing out
Set interface
set*AssertionStatus( ) methods (Classloader)
set-based processing in JDBC
setEntityContext( )
setErr( ) (System)
setLength( ) (StringBuffer)
setMaxinactiveInterval( ) (HttpSession)
setMesssageDrivenContext( )
setOut( ) (System)
setSessionContext( )
setSize( ) (Vector)
setTransactionIsolation( ) (Connection)
shared resources
connection pools
DLLs, caching
focusing on in performance prediction
locking
memory
heap tuning and
I/O performance and
parallelism
data parallelism
persistent caches
testing in simulation or skeleton system
transactions
short data type changing to ints in arithmetic operations
converting to strings
short-circuit operators for loops
signals, handling for operating systems
simulations of applications
testing
single point of failure, elimination in EJB application server
SingleThreadModel interface
singleton sorting objects
size of collection classes
size( ) (WeakHashMap)
skeleton classes
skeleton version of system, testing for performance
Socket class
connect( )
customizing for logging
SocketChannel class
2nd
sockets client, connecting with NIO package
client/server communications providing information on
tracing
load balancing and
UDP
SockInStreamLogger class (example)
SockOutStreamLogger class (example)
SockStreamLogger class (example)
SoftReference objects, flushing
Solaris, file copying tests with old and new I/O
sort( ) Arrays class
2nd
3rd
timings for
Collections class
2nd
Sortable class compareTo( )
compareToSortable( )
order fields, accessing directly in quicksort
SortableComparator class (example)
sorting
casts, avoiding with standard sort algorithm and comparison method for a class
comparisons, optimizing in
database rows, resulting in excessive transfers
faster than O(nlogn)
framework for efficient
generic vs specific
internationalized strings
merge sort
performance checklist
quicksort
spatial locality of access
SPECmine tool (Ace Hardware), case study on optimization
SpeedStart program
SQL database execution of statements
eliminating unnecessary data transfers
limiting query returns
optimizing
performance checklist
query optimization in Pet Store application
Statement vs. PreparedStatement, when to use
statements combining multiple operations
Stack class
2nd
stack traces
exception overhead and
exceptions, using without
sampling with -Xrunhprof
stacks recursion and
size per thread, setting
TCP/IP, performance of
startup of applets
of caches
from disk sweet spots
overhead for processes
responsiveness of
timings and
of VMs
with threaded class loading
stateful beans converting to stateless
pooling
session beans HttpSession vs.
prompt removal of
stateless beans converting stateful to
speediness of
stateless objects, benefits of
Statement classes, wrapping
Statement interface
execute( )
PreparedStatement vs.
when to use
statements, assert statements vs. others
static binding, methods
static methods
avoiding creation of intermediate objects
synchronization of
2nd
static pages, displaying quickly
static URL generation
static variables
2nd
3rd
class instance, storing in
enabling logging with
statically defined database queries
statistics
[See also profiling tools] analyzing from performance measurements
CPU utilization
object creation
garbage collection and
stock quoting service (Web Services)
stored procedures
performance checklist
storing of a value into a variable
strategy for performance tuning
stream classes for socket logging
streaming, for partial results
streams appending objects to
object, I/O optimization and
StreamTokenizer class
2nd
replacing for efficiency
word counter, char array vs.
strength reduction
StrictMath class
String class charAt( )
compareTo( )
equals( )
equalsIgnoreCase( )
intern( )
2nd
3rd
iterating directly on underlying char array
length( )
matches( )
replacing with your own version
substring( )
toLowercase( )
toUppercase( )
string literal referents
StringBuffer class advantages of
appending ints
disadvantages of
using instead of concatenation (+) operator
strings
C language
canonicalizing
2nd
char arrays vs.
line filter example
line filtering with regular expressions
word-counting example
comparisons and searches
compilation
compile-time vs. runtime resolution
concatenating
2nd
3rd
4th
at runtime
conversions to
bytes, shorts, chars and booleans
doubles
floats
ints
longs
objects
immutability of
internationalized, sorting
lists of, avoiding casts with
optimization of string-handling in Pet Shop code
partially matched, finding index for
performance checklist
performance effects of
advanatages
disadvantages
processing in I/O
replacing with enumerated constants
in servlet output, using efficiently
SQL statement execution
substring operation
StringWriter class
striping, disk
stubs, replacing object instance variables with
subexpressions, eliminating common
substring( ) (String)
subsystems, optimized for EJB application server
super( )
swap files
2nd
3rd
swap space, increasing
switches
array access, converting to
case statement reordering by optimizing compiler
contiguous sets of cases
converting to array access
non-contiguous values for cases
performance checklist
speedup for VMs using exception-driven loop termination
SwitchTest class (example)
Symantec development environment, I/O operations
synchronization ArrayList and Vector classes
atomic access and assignment
ordering
collection queries, avoiding in
desynchronization and synchronized wrappers
distributed caching with, EJB application server
increment( )
lockable update method
multithreaded tests, timing
overhead of
serialized execution, avoiding
performance checklist for
servlet activities
threads
counter incrementation
monitors and
unnecessary, avoiding
synchronized keyword
2nd
3rd
System class arraycopy( )
currentTimeMillis( )
2nd
3rd
gc( )
disabling
setErr( )
setOut( )
system level I/O
System.out, replacing
systems bottlenecks in load balancing example
limitations of
noting changes to
throughput, measuring in benchmarking
|