30
World ® ’1 6 Tech Talk: Want to Get in on the Secret? How Fast is Your Directory? Greg Vickery – Principal Services Consultant – CA Technologies SCT45T SECURITY

Tech Talk: Want to get in on the Secret? How fast is your Directory?

Embed Size (px)

Citation preview

Page 1: Tech Talk: Want to get in on the Secret? How fast is your Directory?

World®’16

TechTalk:WanttoGetinontheSecret?HowFastisYourDirectory?GregVickery– PrincipalServicesConsultant– CATechnologies

SCT45T

SECURITY

Page 2: Tech Talk: Want to get in on the Secret? How fast is your Directory?

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

Page 3: Tech Talk: Want to get in on the Secret? How fast is your Directory?

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

CADirectoryhasconsistentlyoutperformedleadingdirectoryserviceswhentestedagainstotherthird-partyproducts.Howfastisyourdirectory?Whysettleforgoodperformancewhenyoucanhavegreatperformance.Comebyandlearnmore.

GregVickery

CATechnologiesPrincipalServicesConsultant

Page 4: Tech Talk: Want to get in on the Secret? How fast is your Directory?

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

WHATISPERFORMANCE?

WHYISPERFORMANCEIMPORTANT?

OPERATIONSMADEEASIER

MORETHANJUSTSEARCH

REPLICATIONPERFORMANCENOTJUSTUPDATEPERFORMANCE

OPTIMIZETHECONFIGURATION

1

2

3

4

5

6

Page 5: Tech Talk: Want to get in on the Secret? How fast is your Directory?

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DirectoryReview

§ Applicationcommunicatingwithadatastore– Viaprotocol- LDAP

§ Performance:– Howquicklyisdataavailable– Howquicklyisdatareplicated

LevelSettheConversation

LDAP

ApplicationLayer

Page 6: Tech Talk: Want to get in on the Secret? How fast is your Directory?

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhyIsPerformanceImportant?

Page 7: Tech Talk: Want to get in on the Secret? How fast is your Directory?

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CADirectoryPerformance

§ SupportIncreasedOnlinePresence

§ DirectoryPerformancetranslatesintoUserExperience

§ AnApplicationTransactionmaybeseveralDirectoryrequests

– CASSOTransactionoftenincludes3+Searches,aBindandanUpdateforeveryauthentication

– Justafewextramillisecondsoneachcanadduptoslowresponsetimes

ConsiderApplicationBehavior

Page 8: Tech Talk: Want to get in on the Secret? How fast is your Directory?

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CADirectoryPerformance

§ BusinessUnitsoftenDriveDevTeams– Developersmaynothavetimetointegratetootherapplications– TightTimelinesoftenmeaninefficientApplications

CaseStudy:Asingleuserauthenticationcausesupto15requestsonthedirectory

§ NottheDevTeamsfault– DirectoryInfrastructuremustsupportthisFact.

PerformancetoOffsetApplicationInefficiencies

Page 9: Tech Talk: Want to get in on the Secret? How fast is your Directory?

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Let’sTalkPerformance!

Page 10: Tech Talk: Want to get in on the Secret? How fast is your Directory?

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CADirectoryPerformance

§ Performance– Rawthrough-put- FastSearch/AuthN/Updates/Replication

§ Smallfootprint– Verylargeenvironmentsw/fewerservers– Lesstomanageandmonitor

§ OperationalAdvantages(easytomanage)– NoTuningRequired(nomaintenance)– Veryfastbackupandrestore

Expandthe‘Performance’Discussion

Page 11: Tech Talk: Want to get in on the Secret? How fast is your Directory?

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CADirectoryPerformanceCustomerTesting(WithOnly4DirectoryServers)

61,795Operations/Second

147,432Operations/Second

2,125Operations/Second

Performance(Alltestsforaperiodof30minutes– overSSL)

UserSearchandAuthentication

(bind)UserSearches Modify(~17ms

replicationtoall)

Page 12: Tech Talk: Want to get in on the Secret? How fast is your Directory?

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AMemoryMappingApproachIsMuchFasterThanItsDatabase-DrivenCounterparts

LDAPCache+Database Memory-Mapping

Results§ 10,000reads/sec§ 10,000writes/sec

Results*§ 1000reads/sec§ 100writes/sec

LDAP Database

Cache

CADirectory Disk

DiskI/O

MemoryFile

MemoryMapI/O

vs

*Resultsbasedoninternaltesting

Page 13: Tech Talk: Want to get in on the Secret? How fast is your Directory?

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ImportanceofFastReplication

Page 14: Tech Talk: Want to get in on the Secret? How fast is your Directory?

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CADirectoryReplication– DirectoryServertoDirectoryServer

Page 15: Tech Talk: Want to get in on the Secret? How fast is your Directory?

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DataCenterBDataCenterA

CADirectoryHasAdvancedReplicationFeaturesThatEnsureDataIsinSynchAcrossServers

AdvancedReplication

Details

§ Truemulti-masterreplication§ AnyServercanacceptanupdaterequest

§ Flexiblereplicationstrategy§ Synchronousorasynchronousreplication§ Alldatareplicatedbeforeclientupdateis

confirmed§ Canmixandmatchsynchronousand

asynchronousservers(synchronouswithinthedatacenterandasynchronoustootherdatacenters)

§ SynchronousMulti-writereplication§ AllDSAsareupdatedatthesametime§ WriteThrough(Sync)vs.WriteBehind

(Async/changelogs)

Server#1

Server#2

Server#3

Server#4

LDAPClient

Synchronous

Asynchronous

LDAP

Page 16: Tech Talk: Want to get in on the Secret? How fast is your Directory?

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

FactorsofPerformance

§ DataPartitioning(InternaltoCADirectory)

– Applicationsviewasone‘OU’

– IncreasesUpdate/ReplicationPerformance§ MoreCPUsinvolvedmeansmorespeed!§ 3Partitionscanincreasewriteperformanceby~3times§ RealCustomerrunningnearly10,000replicatedupdates/second

ConfigurationandEnvironment

Page 17: Tech Talk: Want to get in on the Secret? How fast is your Directory?

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CADirectoryPerformanceMoreRecentCustomerTesting(8Servers)

9,700+Updates/Second

PerformanceUpdateNumbers– WithPartitioning

ReplicatedModification

• PartitionedData

• AllDirectoryServersupdatedin~15ms

Page 18: Tech Talk: Want to get in on the Secret? How fast is your Directory?

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Replication

§ HighReplicationPerformanceAllows

– AccurateLoadSharing

– Fail-overwithconfidence

– Noconfusiononwhichisthe‘Gold’copyincaseofanoutage

ApplicationsUpdatetheDirectoryMoreThanEver

Page 19: Tech Talk: Want to get in on the Secret? How fast is your Directory?

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

PerformanceTuningandOperations

Page 20: Tech Talk: Want to get in on the Secret? How fast is your Directory?

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

FactorsofPerformance

§ HardwareFactors

§ CPU– ThefastertheClockSpeed,thefastertheDirectoryServer

§ RAM– CADirectoryrequiresappropriateRAM§ DataandIndexesexistentirelyinmemory§ CADirectorycanleverageadditionalhardwareforbetterperformance§ MoreCPUsormorePhysicalServersallowDataPartitioning

ConfigurationandEnvironment

Page 21: Tech Talk: Want to get in on the Secret? How fast is your Directory?

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

FactorsofPerformance

§ Physicalvs.Virtual

– Wehaveseeninconsistentperformanceonvirtualservers§ RollerCoasterperformanceprofile

– Remember- TheDirectoryistheDataLayer§ Importantpieceoftheinfrastructure

– DirectoryServersmustworktogetherduringreplication§ OneslowDirectoryServerhasanimpactonothers

ConfigurationandEnvironment

Page 22: Tech Talk: Want to get in on the Secret? How fast is your Directory?

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

FactorsofPerformance

§ BuiltinLoad-SharingCapability

§ OptimizeIndexesforUpdatePerformance

§ Optimizethe‘TransactionLog’– Protectionintheeventofahardshutdown– Writtentodiskforauto-recovery– CanmakeDirectoryServerI/Obound– SANfortheTLgivesbothperformanceandreliability!

ConfigurationandEnvironment

Page 23: Tech Talk: Want to get in on the Secret? How fast is your Directory?

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

OperationsMadeEasy

§ On-linebackups– On-linebackupsaretakeninjustsecondsw/ointerruptionofservice– Fast,Fast– noneedforincremental(fullsnapshot)– OnDemandorScheduled– daily,hourly,wheneverneeded– Producesa‘zdb’filewhichisportableforrestoringotherDSAs

§ Justmovethezdb filetotheotherserverandrenameto‘<DSAname>.db’andstartthedirectory

§ DataFile(.db)requiresnomaintenance– Neverneedto‘tune’thedb.

VeryLowMaintenance

Page 24: Tech Talk: Want to get in on the Secret? How fast is your Directory?

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

QuickRecap

§ SearchPerformanceisImportant§ Update/Replicationismoreimportant§ OptimizeConfigurationtomeettheHighestRequirements§ CADirectorycantakeadvantageofavailableHW§ Operationsmadeeasier(lessmovingparts)

– Increaseupdate(andremove)performance– Managememoryrequirement

§ TransactionLog– Protectionintheeventofahardshutdown– Writtentodiskforauto-recovery– CanmakeDirectoryServerI/Obound– SANfortheTLgivesbothperformanceandreliability!

PerformanceisMeasuredinManyWays

Page 25: Tech Talk: Want to get in on the Secret? How fast is your Directory?

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessions

SESSION# TITLE DATE/TIME

SCX12E FiveEasyStepsforMigratingtoCADirectory 11/15/2016at3:30pm

SCX305 BestPracticesforUpgradingSSO 11/15/2016at9:00am

SCT44T WAM&Federation(TechTalk) 11/17/2016at4:30pm

Page 26: Tech Talk: Want to get in on the Secret? How fast is your Directory?

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Don’tMissOurINTERACTIVESecurityDemoExperience!

SNEAKPEEK!

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Page 27: Tech Talk: Want to get in on the Secret? How fast is your Directory?

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Wewanttohearfromyou!

§ ITCentralisaleadingtechnologyreviewsite.CAhasthemtohelpgenerateproductreviewsforourSecurityproducts.

§ ITCSstaffwillbeatmostsessions.Ifyouwouldliketoofferaproductreview,pleaseaskthemaftertheclass,orgobytheirbooth.

Note:§ Onlytakes5-7mins§ Youhavetotalcontroloverthereview§ Itcanbeanonymous,ifrequired

Page 28: Tech Talk: Want to get in on the Secret? How fast is your Directory?

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 29: Tech Talk: Want to get in on the Secret? How fast is your Directory?

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Stayconnectedatcommunities.ca.com

Thankyou.

Page 30: Tech Talk: Want to get in on the Secret? How fast is your Directory?

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Security

FormoreinformationonSecurity,pleasevisit:http://cainc.to/EtfYyw