Recent Posts

Writing C Code in Java

The Foreign Function & Memory API (also called Project Panama) has come a long way since it started. You can find the latest version implemented in JDK 21 as a preview feature (use –enable-preview to enable it) which is specified by the JEP 454: By efficiently invoking foreign functions (i.e., code outside the JVM), and by safely accessing foreign memory …

Read More »

Benchmark JDBC connectors and Java 21 virtual threads

Why should Java and database developers care about Virtual Threads? Developers can write faster and more resource efficient applications without having to refactor synchronous code a.k.a. “imperative”) JDBC code into asynchronous (a.k.a “reactive”) code that is hard to create, debug and maintain. Writing scalable network code is always difficult. Synchronous APIs can’t be scaled beyond a certain point because they …

Read More »

Canary Releases with Apache APISIX

In a few words, the idea of canary releases is to deliver a new software version to only a fraction of the users, analyze the results, and decide whether to proceed further or not. If results are not aligned with expectations, roll back; if they are, increase the number of users exposed until all users benefit from the new version. …

Read More »