DataFly Lib

DataFly Lib

Simple lib for async I/O made originally for Adrenaline mod

by
269 Downloads
forgelibraryutility
Rent Server with this Mod

About this Mod

Datafly

A shared async I/O library for Fly's Minecraft mods providing centralized, high-performance disk persistence.

Features

  • One shared thread pool across all mods — no wasted threads, no duplicated I/O code
  • Write data from any thread and get a result via DataTask — no blocking, no callback hell
  • Read-your-writes guarantee — reads always return the latest submitted value even before it hits disk
  • Coalesces burst writes to the same key — only the last value in a time window actually writes to disk
  • Atomic writes via tmp → fsync → rename — no half-written or corrupted files on crash
  • Emergency gzip compression when buffer memory runs low — trades CPU for heap headroom
  • Spill oversized writes to a temp spool directory instead of blocking or dropping data
  • Crash recovery — leftover spool files are re-drained to their destinations on next startup
  • Pluggable codec system — JSON, NBT, TOML, YAML, raw bytes, or bring your own
  • Per-mod writer configuration — each mod controls its own heap limit, codec, coalesce window, and cache size
  • Optional LRU read cache — skip disk entirely for hot keys
  • update() — atomic read-modify-write with the write lock held for the full cycle
  • computeIfAbsent() — create-or-update in one atomic call
  • World-agnostic — works from the main menu, client-side, dedicated server, anywhere

Available Versions

DataFly Lib 1.0.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6forge
March 30, 2026

How to Install DataFly Lib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.6).

3

Install Mod

Open the mod browser in the dashboard and search for "DataFly Lib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.6, 1.20.5, 1.20.4 (+3 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

DataFly Lib server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.

Is DataFly Lib compatible with forge?

DataFly Lib officially supports forge for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with DataFly Lib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if DataFly Lib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install DataFly Lib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.20.61.20.51.20.41.20.31.20.21.20.1