+ All Categories
Home > Documents > Handle Server Performance Tuning · Not likely to improve handle server performance Better for...

Handle Server Performance Tuning · Not likely to improve handle server performance Better for...

Date post: 01-Aug-2020
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
33
Handle Server Performance Tuning Jason Petrone <[email protected]> Corporation for National Research Initiatives Handle System Workshop ’2 – p. 1/14 Full Screen ___________
Transcript
Page 1: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Handle Server Performance Tuning

Jason Petrone

<[email protected]>

Corporation for National Research Initiatives

Handle System Workshop ’2 – p. 1/14Full Screen___________

Page 2: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

� �� �� � � �� ����� �� � �

����

Handle System Workshop ’2 – p. 2/14

Page 3: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

NA Resolution

� �� �� �� �� ����� �� ��

���

Handle System Workshop ’2 – p. 2/14

Page 4: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

NA Resolution

NA Perms

� �� �� �� �� ����� �� ��

���

Handle System Workshop ’2 – p. 2/14

Page 5: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

NA Resolution

NA Perms

Pub Key

� �� �� �� �� ����� �� ��

���

Handle System Workshop ’2 – p. 2/14

Page 6: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

NA Resolution

NA Perms

Pub Key

� �� �� � � �� ����� �� � �

���

420ms × 3 = 1.26s

Handle System Workshop ’2 – p. 2/14

Page 7: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

Keep public keys on local server, not global

Handle System Workshop ’2 – p. 3/14

Page 8: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

Keep public keys on local server, not global

Disable NA admins

Handle System Workshop ’2 – p. 3/14

Page 9: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

Keep public keys on local server, not global

Disable NA admins

Give server admins full access

Handle System Workshop ’2 – p. 3/14

Page 10: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

Keep public keys on local server, not global

Disable NA admins

Give server admins full access

Enable trace_resolution on server to verify

Handle System Workshop ’2 – p. 3/14

Page 11: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Reducing Trips to Global

Keep public keys on local server, not global

Disable NA admins

Give server admins full access

Enable trace_resolution on server to verify

Configure client for local NAs (undocumented)

Handle System Workshop ’2 – p. 3/14

Page 12: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Setting a Preferred Global

Multiple global servers(2 in Reston, 2 in Los Angeles)ping 209.225.25.25 avg:35.096ms

ping 198.32.1.37 avg:86.807ms

ping 198.32.1.73 avg:87.091ms

ping 132.151.1.179 avg:0.717ms

Handle System Workshop ’2 – p. 4/14

Page 13: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Setting a Preferred Global

Multiple global servers(2 in Reston, 2 in Los Angeles)ping 209.225.25.25 avg:35.096ms

ping 198.32.1.37 avg:86.807ms

ping 198.32.1.73 avg:87.091ms

ping 132.151.1.179 avg:0.717ms

Set via Java properties:java -Dhdllib.preferredGlobal=132.151.1.179

orSystem.setProperty("preferredGlobal", "132.151.1.179");

Handle System Workshop ’2 – p. 4/14

Page 14: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Using a Caching Server

System

Handle

Handle System Workshop ’2 – p. 5/14

Page 15: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Using a Caching Server

Stripped down handle server

Handle System Workshop ’2 – p. 6/14

Page 16: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Using a Caching Server

Stripped down handle server

Improves resolution for many clients

Handle System Workshop ’2 – p. 6/14

Page 17: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Using a Caching Server

Stripped down handle server

Improves resolution for many clients

Can be used for localization/appropriate copy

Handle System Workshop ’2 – p. 6/14

Page 18: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Using a Caching Server

Stripped down handle server

Improves resolution for many clients

Can be used for localization/appropriate copy

Configuration setting for every client

Handle System Workshop ’2 – p. 6/14

Page 19: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Storage

Stock Handle Server Storage(jdb)

Fast for resolution and administration on smalldatabases

Handle System Workshop ’2 – p. 7/14

Page 20: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Storage

Stock Handle Server Storage(jdb)

Fast for resolution and administration on smalldatabases

Administration begins to slow down around 300,000handles

Handle System Workshop ’2 – p. 7/14

Page 21: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

JDB Storage - Handle Creation

0

0.2

0.4

0.6

0.8

1

0 200000 400000 600000 800000 1e+06

Sec

onds

Records

’jdb’

Handle System Workshop ’2 – p. 8/14

Page 22: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Custom Storage

But Its Okay Because. . . You can do it your way!

Handle System Workshop ’2 – p. 9/14

Page 23: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Custom Storage

But Its Okay Because. . . You can do it your way!

In config.dct set:storage type = "custom"

storage class = "MyHdlDB"

Handle System Workshop ’2 – p. 9/14

Page 24: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Custom Storage

But Its Okay Because. . . You can do it your way!

In config.dct set:storage type = "custom"

storage class = "MyHdlDB"

Write MyHdlDB, implementing thenet.handle.hdllib.HandleStorage interface

Handle System Workshop ’2 – p. 9/14

Page 25: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

BSD DB Storage

Fast, Free, Proven

Handle System Workshop ’2 – p. 10/14

Page 26: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

BSD DB Storage

Fast, Free, Proven

What we use for the DOI handle servers

Handle System Workshop ’2 – p. 10/14

Page 27: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

BSD DB Storage

Fast, Free, Proven

What we use for the DOI handle servers

But... Written in C and hard to install

Handle System Workshop ’2 – p. 10/14

Page 28: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

BSD DB Storage - Handle Creation

0

0.2

0.4

0.6

0.8

1

0 200000 400000 600000 800000 1e+06

Sec

onds

Records

’jdb’’bsd’

Handle System Workshop ’2 – p. 11/14

Page 29: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

RDBMS Storage

Still in development

Handle System Workshop ’2 – p. 12/14

Page 30: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

RDBMS Storage

Still in development

Not likely to improve handle server performance

Handle System Workshop ’2 – p. 12/14

Page 31: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

RDBMS Storage

Still in development

Not likely to improve handle server performance

Better for offline administration and query

Handle System Workshop ’2 – p. 12/14

Page 32: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

RDBMS Storage

0

0.2

0.4

0.6

0.8

1

0 100000 200000 300000 400000 500000 600000 700000 800000 900000

Sec

onds

Records

’jdb’’bsd’

’mysql’’oracle’

Handle System Workshop ’2 – p. 13/14

Page 33: Handle Server Performance Tuning · Not likely to improve handle server performance Better for offline administration and query Handle System Workshop ’2 – p. 12/14. RDBMS Storage

Summary

Reducing trips to global

Setting a preferred global

Using a caching server

Using alternate storage

Handle System Workshop ’2 – p. 14/14


Recommended