使用HSQLDB进行生产是否安全? (JBoss AS5.1) [英] Is is safe to use HSQLDB for production? (JBoss AS5.1)

查看:105
本文介绍了使用HSQLDB进行生产是否安全? (JBoss AS5.1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JBoss开发人员警告不要将HSQLDB用作持久性存储(请参见 JBoss Wiki ).不过我很困惑,因为HSQLDB在生产中似乎被大量使用.

The JBoss developers warn against the use of HSQLDB as a persistent storage (see JBoss wiki). I am confused though, because HSQLDB appears to be used heavily in production.

尤其是,上面提到的页面似乎警告完全禁止使用HSQLDB,而不是禁止与JBoss一起使用.

Especially, the above mentioned page seems to warn against the use of HSQLDB entirely and not against the use in conjunction with JBoss.

是否仍然不建议在JBoss中使用HSQLDB(特别是Community JBoss 5.1中捆绑的默认数据源)?

Is it still not recommendable to use HSQLDB in JBoss (particularly, the bundled default datasource in Community JBoss 5.1)?

*:我们计划在内存模式下使用它.

*:We plan to use it in in-memory mode.

推荐答案

如果您自己的链接无法说服您,请考虑在内存模式下使用它会在备份JMS队列时导致不良后果- JBoss将开始尝试将消息持久保存到后备存储以释放堆空间,但这实际上无济于事.很快,您将进入GC或抛出OOM异常.

If your own link doesn't convince you, then consider that using it in in-memory mode can lead to undesirable effects when JMS queues get backed up -- JBoss will start trying to persist the messages to the backing store to free heap space, but that won't actually help. Soon, you're spinning in GC or throwing OOM exceptions.

这篇关于使用HSQLDB进行生产是否安全? (JBoss AS5.1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆