Rootconf 2017 Monitoring Meetup Event

Rootconf run-up event at Gojek Bangalore

As a run up to Rootconf, India’s principal conference where systems and operations engineers share real world knowledge about building reliable systems, we’re organizing a meetup on ‘Monitoring’ at GoJek, Bangalore.

Time: 11:00 AM to 1:00 PM
Venue: GoJek Bangalore (https://goo.gl/maps/E3anKKJXf1U2)

Hosted by

Rootconf is a community-funded platform for activities and discussions on the following topics: Site Reliability Engineering (SRE). Infrastructure costs, including Cloud Costs - and optimization. Security - including Cloud Security. more
Gopal S Akshintala

Gopal S Akshintala

@gopalakshintala

Fight Complexity with Functional Programming

Submitted Nov 4, 2019

This talk attempts to familiarize Function Programming (FP) and how it can improve your code quality by turning it more expressive and testable with minimum accidental complexity. This talk is agnostic of programming language and is applicable to anyone who codes, be it a developer or a devops engineer.

This talk discusses the design scenarios where FP fits the best and why is it the first choice for domains like Machine Learning, Reactive, Big Data etc. Let’s demystify the dreaded Monad and its application in Enterprise software. Let’s go through a demo, based on real events, on how to solve a complex design problem of building a Batch-validation framework for REST services, using Monads, that is 3D Scalable, with dimensions as - Request Batch size, Validation count and No.of Services.

Outline

  • This talk has 2 stories embedded. In the first part, it explains the differences between Imperative and Declarative styles and demonstrates the Core:Context philosophy behind the declarative style, which helps in separating out How-to-do from What-to-do, using Java Streams.
  • Then the talk transitions to the second part with a crash course on Monads and Functional Composition.
  • The second part takes the Core:Context philosophy to the next level, by applying it to solve a real-world design problem, which is common across many REST services, Batch-Validation.
  • The talk demonstrates, how batch validation can quickly get complex when done imperatively, mixing what-to-do(Validations), with how-to-do(Validation Orchestration) and how it can’t be scaled with any of these three dimensions - Request Batch size, Validation count and No.of Services.
  • Then the talk offers a Functional Programming (FP) solution, using Monads and Lambdas, which minimizes the accidental complexity without compromising Time complexity, and can seamlessly scale across all the dimensions.
  • Throughout this talk, various types of Monads are introduced and how they fit in the context of the problem.
  • This talk attempts to slowly ramp-up the audience on functional programming and towards the end, we touch upon advanced concepts like Function Lifting, Dozen FP Operations for daily Programming like foldLeft etc.
  • This is a fun-filled, code-driven Talk and without getting into definitions (which can be read through books), the attempt is to portray hands-on experience about how FP can help us become better developers.

Requirements

This is a proposal for Root Conf Hyderabad, submitted here as CFP closed there. Please transfer.

Speaker bio

Gopal S Akshintala is a Software Engineer at Salesforce, building a scalable B2C Payments Platform. He started as an Android Developer and switched to server-side as a Full-Stack Developer (Java for Backend, React Js for Frontend). Wearing multiple hats, aided him to perceive Patterns, Solutions and Trade-offs.

He believes Expressive Code is fun and profitable, which enthused him towards Functional Programming. He’s language geek, currently dabbling with other JVM languages like Kotlin and Scala, lifting their goodies into his daily Java programming.

He loves being on Stage, as a Singer(http://bit.ly/agssc) and a Tech-Speaker. He gave tech-talks at Google developer Conference, Java User Group Hyderabad, Salesforce etc. He also blogs about Nature (http://leafOnTheWind.ga) and Programming (https://overfullstack.github.io)

    • The code examples for this talk can be found here:
  • - http://bit.ly/imp-vs-dec
    
  • - http://bit.ly/ro-validation
    

Slides

http://bit.ly/fcwfp-slides

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

Rootconf is a community-funded platform for activities and discussions on the following topics: Site Reliability Engineering (SRE). Infrastructure costs, including Cloud Costs - and optimization. Security - including Cloud Security. more