Spring Data in Spring Boot ( spring-boot-starter-data-jpa ) simplifies data access by abstracting the persistence layer and automatically implementing common repository patterns using JPA (typically Hibernate). This article is my attempt to go through what runs underneath and what boilerplate indeed spring data abstracts way for us. To make things easier I divided the demonstration in 3 parts 1. Make our own Data Access layer the old fashioned way with spring+hibernate. 2. Duplicate the same Data Access layer using spring boot. 3. How they both relate and how spring boot helps. 1. The Spring+Hibernate way The plane spring/hibernate way starts much like spring-boot way, that is with an entity layer. ...
The official Postgres documentation is in my opinion the most succinct documentation ever. It’s one of the list of things that got me interested in postgres as my defacto RDB of choice. I am always on the lookout for new additions to postgres. There's details on the enhancements on the upcoming version 18 here . I made this list of improvements on the upcoming Postgres 18 release that seemed interesting (or things amongst my realm of understanding). I thought It would be nice to share without going into too much technical details: 1. Async I/O Current Capability : PostgreSQL traditionally uses background processes like WAL writer, Checkpointer to help batch I/O tasks, but all these are synchronous under the hood. This can lead to higher latency, especially under heavy load. There’s no built-in native async I/O like you might find in some modern databases. Postgres 18 : Azure OSS team have now introduced true async on all read streams. In future this will inevitably lead to writes ...
It's been cloudy all day. Actual rain clouds, not one of those generic fluffy ones that aimlessly float around.I think they are called Cumulus or whatever. Saw a really pretty patch of bright blue on the way back home. So the blue was hidden away over a Cumulus, then two different dark layers of stratus clouds maybe. I've tried to study different types of clouds before, but it's just so difficult to identify. The blue patch made me think how huge those clouds must be. Like a thousand or millions of kilograms of molecules just speeding through space. Chaotic order at it's finest I guess.
Comments
Post a Comment