Code Monkey home page Code Monkey logo

smiklos.github.io's Introduction

My blog

Upcoming posts

  • The real cost of spark UDF

    • A look at what code gets genearted for udf vs expressions
    • What we should look for with regards to nullability
    • Should we roll our own expression? Considerations vs udf
  • Operator fusion in different technologies

    • Spark
    • Flink
    • Kafka Streams
    • Reactor
    • Akka Streams
  • Spark code gen deep dive

    • Physical stages
    • Expressions
  • Spark sql execution with example for each stage

    • Parsed plan
    • Logical plan
    • Optimized plan
    • Physical plan
    • Executed plan
  • Error handling patterns

    • Regular try catch
    • Error code, double return value in go
    • Functional types in scala like Try and IO monads
    • Supervisor strategy in Akka/Erlang
    • Streaming error handling with reactor/akka streams
  • Cumulative subaggregation elimination

    • Problem statement
    • Naive solution with double shuffle
    • Better solution with nesting (what if it's too much data or we can't control the structure?)
    • Handmade solution with foreach partition
    • Custom subexpression like min of avg, max of avg
    • Query optimizer to automate this and eliminate nested aggregation (collapse)
  • Map side join techniques in structured streaming

    • Brodcasted join in spark streaming (static to stream)
    • Kafka global and local table example to show
    • udf mapper with reused brodcast and update on batch etc.
    • Hollow based udf mapper for spark. In general, a solution for small tables without change support
    • Kafka streaming update with based approach
  • Functional evolution

    • regular functions
    • Monads as upgrade
    • Monad transformers
  • ZIO

    • More on imperative vs high level code, parallelism, exception handling, fail fast, pass through
    • Digaram of app dependencies and interraction with side effecting stuff. like a hierarchy
    • Fork, repeat etc.
    • PArallel to reactive streams (threading, api. )
    • Compare to reactive libs like reactor/rxjava

smiklos.github.io's People

Contributors

smiklos avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.