Documente Academic
Documente Profesional
Documente Cultură
Performance
Alan Doerhoefer
Timothy Hanson
Tableau Software Inc.
All rights reserved. 2009 Tableau Software Inc.
Tableau Server
Load Balancer
Tableau
Professio
nal
Application State
Data
Sources
Web
Web
VizQL
App
App
Processes
Repository
Application
Web
Web
(WG)
App
App
Processes
Worker 1
VizQL
or
VizQL
or
VizQL
or
WG
WG
Application
Processes
Processes
Processes
Main
Load Balancer
Worker N
Application State
Repository
Worker 2
VizQL
or
VizQL
oror
VizQL
WG
WG
Application
Processes
Processes
Processes
Use 2
of server processes
Example
3 server cluster (2 workers)
8 cores per machine
Use 2 x 8 = 16 App processes on one worker
Use 2 x 8 = 16 VizQL processes on the other worker
All rights reserved. 2009 Tableau Software Inc.
Tune the OS
Windows 2003 Server (SP1 or Later)
TCP Setting
Not an issue in Windows 2008 Server
Set SynAttackProtect to zero:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\P
arameters] "SynAttackProtect"=dword:00000000
WG Session
Default is 4 hours
To change it to 1 hour add this to tabsvc.yml:
wgserver.session.idle_limit: 60
VizQL Session
Default is 2 hours
To change it to 30 minutes add this to
tabsvc.yml:
vizqlserver.session.expiry.timeout: 30
Monitor Server
Server Status
Demo
Monitor Server
Server Activity
Demo
Monitor Server
User Activity
Demo
Troubleshoot Server
Apache logs
Contains information about every request to server at the HTTP request
level
Troubleshoot Server
WG logs and VizQL logs
Contains details of each operation performed by the server
Troubleshoot Server
tabadmin ziplogs command
collects all logs even on a distributed cluster into one archive
2. Query-bound
- Slow query
- Fast Rendering
- Same as Fast once query is cached
3. CPU-bound
- Render-Intensive
- Uses the most CPU
- Example: text tables with thousands of cells
Capabilities of:
1 machine
3 machines
5 machines
* Note that these tests show results from a
specific test configuration and should not be
taken as a guarantee of client response times.
These benchmark results were returned in a
controlled lab environment, without other
applications running during execution. Actual
results will vary based on load type, hardware,
network speed, browser settings, and
database performance.
All rights reserved. 2009 Tableau Software Inc.
Effect of caching
5 servers in our
load tests served
2,250 named
users, or 225
concurrent users
Caching
- Pre-load views whenever possible to improve initial load times
Summary
Keys to Performance:
- Understand view
types
architecture
extracts