Patent ID: 8583871

Claim:
A method, comprising: referencing a serialization cache by a server to determine if one or more serializations of one or more referenced objects are stored by the serialization cache; and retrieving referenced objects from an object cache for which the serialization cache stores a serialization for the referenced object; when the serialization cache does not store the one or more referenced objects performing at least one of: deserializing the one or more referenced objects; storing a serialized byte stream for the one or more referenced objects in the serialization cache; determining if one or more immutable objects are provided inline with one or more primitive objects in the serialized byte stream; and where one or more immutable objects are provided inline with one or more primitive objects in the serialized byte stream performing at least one of: storing a first form of the serialized byte stream in the serialization cache in which the one or more immutable objects are inline with the one or more primitive objects; and storing a second form of the serialized byte stream in the serialization cache in which the one or more immutable objects are cached separately from the one or more primitive objects.