I'm faced with this project:

we have a legacy project, using hibernate, it's rather slow.

so we want to load the data from memcached  instead, but since the
objects are fairly complex,
we need to serialize them before inserting into memcached.


the problem is, that we need to make sure that the AVRO schema files that we use
strictly mirror the domain object class definition, so we need to
generate the AVRO schemas
from the existing hibernate mapping files *.hbm.xml  or from the
domain class java files.
is there such a convertor? or other existing integration approaches
between hibernate and AVRO?

(kind of off-topic below)
another way of integrating memcached and hibernate is to use a lib
someone developed to use memcached as a cache provider,
not sure it's mature enough; ehcache also has a "distributed" solution
similar to memcached, but requires enterprise license.


Thanks
Yang

Reply via email to