keep payments running

17

Upload: cake-labs

Post on 12-Jan-2017

126 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Keep Payments Running
Page 2: Keep Payments Running

Keep PaymentsRunning

Page 3: Keep Payments Running

•Being a payment Facilitator•Nginx as a Shield•Simulating Production Load•Monitoring and Alerting

Contents

Page 4: Keep Payments Running

•Facilitate payments•Onboard merchants with third parties.(worldpay,vantiv Litle, vantiv PWS)•Payments with POS (swipe/keyed In) •Online payments•Payments adjustments (refund,partial refunds,Reaurth.....)•Ledgering and billing

•Support services•Administration tools•Finance tools•Warning and Alerting

•Reporting•ReportNG reports•Finance reports

What We Do.......

Page 5: Keep Payments Running

Challenges

•Depend on few third parties (Magensa, Idology, WorldPay, Vantiv Litle, Vantiv PWS)•High responsibility•Security•Variation in traffic

Page 6: Keep Payments Running

•Security•Provide TLS 1.2 protection•avoid clickjacking•content-type sniffing•Cross-site scripting•Secure supporting applications

•Routing•Throttling

•IP wise throttling•API wise throttling

Nginx as a Shield

Page 7: Keep Payments Running

•Find the breaking point of payment gateway

•Test effectiveness of remedies•throttle with IPs and APIs

•Find bottlenecks•Mono•Nginx•Gateway•Operating system

Simulating Production Load

Page 8: Keep Payments Running

Available Approaches•Use Load testing tool (Jmeter, Locust)

•uses one IP•network and performance limitation

•Use online distributed loading testing services (Apica LoadTest, loader.io, loadfocus)

•High cost.

•Write our own testing tool •Much dev effort

Page 9: Keep Payments Running

Redline 13

Page 10: Keep Payments Running

Demonstration

Page 11: Keep Payments Running

•Pros•Low cost•Facilitate both spot instances and on-demand Instances•Can customize server regions and types.•Analytical results

•Cons•Troubles with allocating spot instances.

Page 12: Keep Payments Running

Monitoring and Alerting

Page 13: Keep Payments Running

What is Graylog ?

● Graylog is a powerful log management and analysis tool that has many use cases, from monitoring SSH logins and unusual activity to debugging applications. It is based on Elasticsearch, Java, MongoDB, and Scala.

Page 14: Keep Payments Running

Graylog vs other tools

● Other similar tools require paid subscriptions.

● Graylog is open source

Page 15: Keep Payments Running

Why we need Graylog?

● Several production servers● Many application logs - nginx,

gateway and payment scheduler

● Automated alerting system

Page 16: Keep Payments Running

Features of Graylog

● Search● Dashboards● Archive● Alerts and triggers● Users and roles● Rest API

Page 17: Keep Payments Running

Demonstration