Upload
sqlservercoil
View
774
Download
1
Embed Size (px)
Citation preview
Vladi VexlerFounder & [email protected]
January 5, 2010
SafePeak: Reducing Latency and Bottlenecks to Micro Second Response Time
DCF Technologies Ltd.
tm
Corporate ProfileCompanyDCF Technologies Ltd. Founded in 2007
Management Team Aki Ratner, Chairman - (President, Precise Software; CEO, Attunity)
David Leichner, CEO - (CMO, BluePhoenix; VP, Unipier; VP, Magic Software)
Vladi Vexler, Founder & COO - (R&D Manager, Scepia; MS Architecture Speaker)
Uri Margalit, Co-founder & CTO - (R&D Manager, Precise)
Alon Lubin, VP R&D - (R&D Manager, Precise; Exanet; Tabula)
2
What We Provide
3
Plug & Play Software: No changes to database or app
Immediate resolution of data bottlenecks and latency
Significantly improved performance and throughput
100% data credibility and continuous high availability
Unexpected Demand Does Not Have To Mean Unexpected Downtime
Top Web Retailers: “88% of Transactions SufferAvailability Problems”
Study by UK NCC Group : March ‘09
Aberdeen: Dec. ‘08
Effect Of Download Page Delay From 5 Seconds To 6
Sales Conversions
7% Customer Satisfaction
16%Page Views
11%
4
Large Enterprises: “Suffer an Average of 61 Hours of Annual Downtime, Costs Exceeding $1 million per Hour”
Enterprise Management Associates Analyst and Consulting Firm: March ‘09
Background
Metadata Analysis
Traffic Queries Caching Patterns
Identification of Repetitive Queries
and Bottlenecks
Performance & Analytics Stats
Measurements for OptimizationMS SQL
SERVERMS SQL SERVER
MS SQL SERVER
5
Achieving Micro Second Response Time
Real-Time
Result Caching in High Speed RAM
(binary)
Response Returned in
Micro Seconds
Eviction of Cache upon DML / DDL
Failover & H/A
Real-time Data Caching & EvictionDashboard for Analytics & Tuning
SafePeak
6
(C1) Query is found to exist; result set is retrieved from the Cache Manager
(C2) Result is returned to the querying application
Flow Process – Query In Cache
7
Flow Process – Query Not In Cache & Not Update
(Q1) Query is processed on target database
(Q2) Result set is returned
(Q3) If repetitive query, result set is saved in RAM memory of the Cache Manager to be accessed upon the next instance of the identical query
8
(U1) Request is parsed and all results stored in Cache that have any connection to the affected database tables are evicted
(U2) Request is sent to target SQL Server database and executed
(U3) Result set is sent back to the querying application
Write Request (update, insert, delete)
Background Processes
9
Ensuring High Availability
10
(A1) Query is routed to Active SafePeak server, using MS NLB (VIP) technology (SafePeak Enterprise version), and then thru Network-Proxy SW to SafePeak (A2).
(A3, A4) In the rare event of software failure, processing is automatically redirected to 2nd SafePeak (A3 - optional)or directly to the database (A4).
(P1) If a HW error occurs due to a malfunctioning server, processing is automatically shifted into passive SafePeak, ensuring that the loss of the server will not impact continuous processing.
(P2) Query is then routed to 2nd SafePeak.
(P3) If error occurs, processing is redirected to the SQL Server database
Network Proxy
SafePeak
Query
Network Proxy
SafePeak
Active
Passive
ClusterVirtual IP
(A2)
(A4)(A1)
(P2)
(P3)
(P1)
(A2)
(P2)
(A3) optional
11
Let’s See SafePeak Live
SafePeak Implementation
Day 1
Installation and Routing of Traffic
via SafePeak
Automatic Meta Data Analysis
Automatic Traffic Analysis
Caching Pattern Definition
12
Day 2
Cache Pattern Activation
&
Tuning
Day 7
Performance Report
Configuration
2 Servers (2 for HA)2-4 CPU Cores
4-8G RAM2 Network CardsDisks 150G X 2
Windows 2008 64BRemote Desktop
Database Only
Sample of Results: Large Financial PortalIncrease in Throughput: 378% at Peak; 110% on Average
Improved Response Time: 371% at Peak; 126% for Read-only; 85% Overall!
13
Queries
SafePeak ExecutionsOne Week Snapshot Taken at 5 Minute Intervals