O'Reilly logo

Infinispan Data Grid Platform Definitive Guide by Wagner Roberto dos Santos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Improving the serialization process using externalizers

If something is clear at this point of the book, it is that when you put some object in the cache, the object will be serialized into a stream of bytes to be sent across the network into the target node, and then replicated between peers of the grid. And when you get an object from the grid, the cache entry needs to be deserialized back into a live object.

The process of serializing and deserializing an object can be time consuming; in normal configurations, this process can take around 20 percent of the time (it's important to note that Infinispan doesn't use the standard serialization mechanism due to performance reasons). Throughout the default Java serialization process, several reflection ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required