Author Archives: acrocontext

Java – Apache HttpClient to access the self signed certification and no host verification

Below code comes from https://memorynotfound.com/ignore-certificate-errors-apache-httpclient/ Advertisements

Posted in Programming, Java | Leave a comment

Java – Aspect based measuring the method execution time of function with annotation

Annotation definition. Aspect advice implementation. Example

Posted in Java, Programming | Leave a comment

Spring – CGLIB: High performance code generation library

Spring is heavily using the CGLIB for it’s framework implementation. CGLib is high performance code generation library. It is using to extend JAVA classes and implementation at runtime. More details can be found in the below. https://github.com/cglib/cglib/wiki

Posted in Java, Programming | Leave a comment

Cache – False sharing

As modern CPU shared memory architecture, false sharing is the major performance bottleneck on multi-thread application. False sharing is caused by sharing the same cache line with multiple thread. In order to avoid this problem, it is important that local … Continue reading

Posted in Performance, Programming | Leave a comment

Cassandra – Evolvement of Cassandra column oriented row

The following blog explain how Cassandra has been improved the column oriented row. https://www.datastax.com/dev/blog/cql3-for-cassandra-experts

Posted in cassandra, Programming | Leave a comment

Java – Spring to inject multiple service instances having same interface

Create service for multiple name providers NameService class can inject multiple NameProviders with the following constructor injection.

Posted in Java, Programming | Leave a comment

Java – Importance of final fields for immutable object

Java will guarantee that all thread will see correct values of final fields that were set by the constructor, regardless of how object is published.

Posted in Java, Programming | Leave a comment