Remove Bytes Remove Scala Remove Systems
article thumbnail

A guide to UDP in Scala with FS2

Rock the JVM

The UDP header is fixed at 8 bytes and contains a source port, destination port, the checksum used to verify packet integrity by the receiving device, and the length of the packet which equates to the sum of the payload and header. Setting Up Let’s create a new Scala 3 project and add the following to your build.sbt file. isOpen ()) {.

Scala 90
article thumbnail

Two-Factor Authentication in Scala with Http4s

Rock the JVM

If you want to master the Typelevel Scala libraries (including Http4s) with real-life practice, check out the Typelevel Rite of Passage course, a full-stack project-based course. HOTP scala implementation HOTP generation is quite tedious, therefore for simplicity, we will use a java library, otp-java by Bastiaan Jansen.

Scala 92
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Modern Data Engineering: Free Spark to Snowpark Migration Accelerator for Faster, Cheaper Pipelines in Snowflake

Snowflake

Designed for processing large data sets, Spark has been a popular solution, yet it is one that can be challenging to manage, especially for users who are new to big data processing or distributed systems. The assessment is built by scanning any codebase written in Python or Scala and outputting a readiness score for conversion to Snowpark.

article thumbnail

Why We Do Scala in Zalando

Zalando Engineering

Leveraging the full power of a functional programming language In Zalando Dublin, you will find that most engineering teams are writing their applications using Scala. We will try to explain why that is the case and the reasons we love Scala. How I came to use Scala I have been working with JVM for the last 18 years.

Scala 40
article thumbnail

Apache Spark vs MapReduce: A Detailed Comparison

Knowledge Hut

quintillion bytes of data are created every single day, and it’s only going to grow from there. To store and process even only a fraction of this amount of data, we need Big Data frameworks as traditional Databases would not be able to store so much data nor traditional processing systems would be able to process this data quickly.

Hadoop 96
article thumbnail

The Ultimate Guide to Java Virtual Threads

Rock the JVM

Riccardo is a proud alumnus of Rock the JVM, now a senior engineer working on critical systems written in Java, Scala and Kotlin. Therefore, the initial memory footprint of a virtual thread tends to be very small, a few hundred bytes instead of megabytes. Another tour de force by Riccardo Cardin.

Java 145
article thumbnail

Better streaming layouts for frontend microservices with Tailor

Zalando Engineering

Ensure a fast Time to First Byte: Request fragments in parallel and stream them as soon as possible, without blocking the rest of the page. Gulp is a fast-streaming build tool, because it allows to transform the files in a stream without writing any intermediate results to the file system. with streams from the core library.

Bytes 52