2016 Scala Days

Alle Videos

https://www.youtube.com/playlist?list=PLLMLOC3WM2r7kLKJPHKnyJgdiBGWaKlJf

Oderski - The Road ahead

@odersky

Dimitri Petrashko- Precise Types bring performance

@darkdimius

https://d-d.me/talks/scaladays2016-linker/#/

  • scala reduce can be very slow when working on huge lists of boxed types
  • => in future scala versions boxing can be avoided by generating specialized versions with primitive types as needed
  • Github.com/dotty-linker/dotty 
  • ScalaBlitz - Lightning-fast Scala collections framework
  • Tasty


Heather Miller - Scala Center

@heathercmiller


Mirco Dotta - Lagom

@mircodotta

 @lagom

http://www.slideshare.net/mircodotta/lightbend-lagom-microservices-just-right-scala-days-2016-berlin

  • https://www.lightbend.com/lagom
  • Microservice-Framework
  • Out of the box:
    • persistence (e.g. event sourcing & CQRS)
    • service locator
    • services
    • service gateway (proxy for services)
    • orchestration
    • incl. Circuit Breakers & Service lookups
  • ConductR
  • Docker-integration
  • Integration with services outside lagom

Michael Nash - Perfect scalability

@MichaelPNash 

  • minimize sequential portions
  • coherency delay
  • Construction
    •  avoid shared resources
  • shared state
    •  copy data & broadcast deltas
    •  state must be private
  • Communication
    •  point to point is coupling
    •  locality (the further away the more expensive
  • Avoid Ordering
    •  shared state
    •  leads to contention
    •  limits scalability
  • Avoiding System Failure
    •  large systems likely have something fail
    •  the less we share the more likely the system is to survive
  • Tuning can’t fix a bad design
  • Reactive Architecture is scalable
  • Increase capacity with increasing load
  • Use Circuit Breakers
  • Make operations idempotent

Chris Birchall - „@inline @specialized“

@cbirchall 

  • @inline
    •  wird vom Compiler eh gemacht, wo nötig
  • @specialized
    •  generate implementation for each primitive type
    •  can be restricted to certain types
  • @strictfp
    •  make sure fp operations are equal on all platforms
  • @switch
    •  use switch instead of pattern matching
  • @elidable
    • Remove method calls at compile time

Scala Goes Native

Dennys Shabalin

@den_sh

  • @struct
  • Brehm GC
  • How about Java Libraries?
    • Werden nach und nach nach Scala sortiert
    • Kein Compiler für Java oder Java Byte code


TODO