bagri
bagri copied to clipboard
XML/Document DB on top of distributed cache
any node (JVM) can support many server roles at the same time: admin, cache, rest.
- run cache server, get it populated - start admin server, connect to cache server - open JMX console, explore active schema stats - shut down cache server - admin...
It happens rarely. The workaround is to restart VVM console, no need to restart any Bagri component. The exception is: ``` com.bagri.tools.vvm.service.ServiceException: java.rmi.ConnectException: Connection refused to host: 10.10.59.20; nested exception...
in case when client disconnects from Bagri servers because of network issue or similar it should notify its own clients about this event.
HZ queue is not perfect: - all data located on one node; - limits are not supported; can imlement what I need using HZ SPI.
- register listener in system hzInstance on DataFormat events; - forward events to local active repositories;
Use HZ ILock or a new Map with lockable entries to implement it
it can be csv, avro, ..
- trigger code should be able to add documents to another schema - it means the trigger code must get access to external schema's Repo - what about listening for...
- the same as XQuery Update, but on XDM level - would be nice to use the new API from XQuery Update then!