Search Results for: Concurrency
-
Core Java
Object-based micro-locking for concurrent applications by using Guava
One of the presumably most annoying problems with writing concurrent Java applications is the handling of resources that are shared…
Read More » -
Software Development
Humble architects
Humility is not a very common trait with software architects. After having worked with a few awful architects and recently…
Read More » -
Enterprise Java
Spring Security – Behind the scenes
Security tasks such as authentication of user and authorization of a user to view application resources are usually handled by…
Read More » -
Enterprise Java
Optimistic locking retry with MongoDB
In my previous post I talked about the benefit of employing optimistic locking for MongoDB batch processors. As I wrote…
Read More » -
Core Java
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Software Development
Multi-tier application + database deadlock or why databases aren’t queues (part1)
Databases aren’t queues. And despite the ubiquitous presence of queuing technology out there (ActiveMQ, MSMQ, MSSQL Service Broker, Oracle Advanced…
Read More » -
Core Java
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Software Development
MongoDB optimistic locking
When moving from JPA to MongoDb you start to realize how many JPA features you’ve previously taken for granted. JPA…
Read More » -
Core Java
Java final fields on x86 a no-op?
I have always enjoyed digging in to the details of multi-threaded programming, and always enjoy that despite reading for years…
Read More »