Saved in:
Bibliographic Details
Main Author: Hoyt, Berwyn
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.08206
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • Elegance of a database API matters. Frequently, database APIs suit the database designer, rather than the programmer's desire for elegance and efficiency. This article pursues both: firstly, by comparing the Lua APIs for two separate databases, Redis and YottaDB. Secondly, it looks under the API covers at how object orientation can help to retain API efficiency. Finally, it benchmarks both databases using each API to implement a 3n+1 sequence generator (of Collatz Conjecture fame). It covers the eccentricities of the Lua APIs, the databases, and the nifty choice of benchmark tool, presenting benchmark results of each database's unique design.