Managing Native Memory in Java: Arenas, Malloc, and Custom Pools
Table of Contents What is the Memory APIArenasUsing ArenasCreating your own arenaNative Memory allocation methodsUsing Malloc and FreePool of reusable memoryWhy you would use themHow to use a memory poolSlicingHow to use themTL;DRConclusion What is the Memory API The Foreign ...
-
Building Reactive Data Streams with Project Reactor
Table of Contents Creating Non-Blocking Streaming Endpoints for High-Throughput ApplicationsFrom Snapshots to StreamsProject SetupDomain Model: Telemetry as a Streamable DocumentReactive RepositoryService Layer: Explicit Backpressure StrategyStreaming Endpoint with Server-Sent EventsThe Real Bottleneck: Waiting, Not WorkingThe Most Dangerous Line of CodeResource Efficiency …
-
Introducing the BoxLang Spring Boot Starter: Dynamic JVM Templating for Spring
Table of Contents 🌐 What is BoxLang?✨ Zero-Config Spring Boot IntegrationGradleGradle🚀 From Controller to Template in Minutes🌐 Full Web Scopes — Out of the Box🔥 Hot-Reload During Development⚙️ Configuration That Stays Out of Your Way🔀 Coexist With Any Other View …
-
How is Leyden improving Java Performance? Part 3 of 3
Table of Contents What is inside the Ahead of Time Cache?JVM MetadataJVM Profile and Linkage DataJVM Code and Code Management DataLeyden Training DataHow Do I Know Leyden Is Helping?Training the applicationAnalyzing the CacheAre we training the right thing?Did we load …
-
How is Leyden improving Java Performance? Part 2 of 3
Table of Contents How to use an AOT CacheHow to properly execute the Training Run?Should I start using AOT Cache in Java already?Heavy Mathematical ExampleSimple REST API In part 1 of this series of 3 blog posts we introduced the …
-
Language Learning Flashcard System – Part 1
Table of Contents Complete code exampleCreate a project using Spring InitializrAdding the MongoDB Connection URIOur logical modelOur MongoDB schemaOur model classesImproving our development cycleOur first API endpointsDecksCardsAdding empty endpoints for DecksChanging the default portTesting our endpointsRepositoriesServicesWiring up our ControllersNext steps …
-
How is Leyden improving Java Performance? Part 1 of 3
Table of Contents A Brief History of Java PerformanceWhy Java takes time to reach peak performanceHousekeeping considered harmfulLeyden Project ‘premain’ ExperimentTraining and Production Runs In this series of 3 blog posts we will explain how OpenJDK project Leyden is helping …
-
BoxLang 1.11.0 Release
Table of Contents 🚀 What’s New in 1.11.0⚡ Performance Wave — 15+ Targeted Runtime Speedups🔒 Concurrency & Lock Safety — Critical Fix🗓️ DateTime Casting Reliability🆕 enforceUDFTypeChecks Configuration Setting⏱️ getTickCount() — Nanosecond & Second Precision🗑️ New BIF: ExecutorDelete()🤖 Core Runtime Updates🏗️ …
-
Java 26 Is Here, And With It a Solid Foundation for the Future
Java 26 is here, and its main purpose seems to be to provide a solid foundation for future things to come. It comes with a few new features, some performance improvements and multiple enhancements that mention Project Valhalla as the inspiration for their existence. This post has all the info!
-
Foojay Podcast #92: Java 26 Is Here: What’s New, What’s Gone, and Why It Matters in 2026
Table of Contents YouTubePodcast AppsGuestsContent Welcome to another episode of the Foojay Podcast! In this episode, we’re talking about Java 26, released on March 17 in the year 26. Again, right on schedule with Java’s six-month release cadence. Now, Java …
-
Atlas Online Archive: Efficiently Manage the Data Lifecycle
Table of Contents Problem statementResolutionAdvantagesLimitationsPre-requisitesOnline archival configuration setupConclusion Problem statement In the production environment, in a MongoDB Atlas database, a collection contains massive amounts of data stored, including aged and current data. However, aged data is not frequently accessed through …