GemStone-Linux-Apache-Seaside-Smalltalk.. 4GB 有多实用?

发布于 2024-08-09 19:45:51 字数 480 浏览 11 评论 0原文

我对 GLASS 非常感兴趣。免费版本的 4GB 限制让我很担心。特别是当我考虑下一个级别的价格时(7000 美元)年)。

  1. 我知道这可能是主观且可变的,但有人可以用日常用语为我描述一下 4 GB GLASS 会给您带来什么吗?也许是一个商业例子。 4 GB 可能会给我带来比我想象的更多的存储空间..而且我不必担心它。

  2. 在我的应用中,某些消息的文件附件大小最大为 5 MB。我可以通过将这些附件直接保存到操作系统上的文件而不是内部 Gemstone 来节省 4 GB Gemstone 空间吗?我想是的。

I am really interested in GLASS. The 4GB limit for the free version has me concerned. Especially when I consider the price for the next level ($7000 year).

  1. I know this can be subjective and variable, but can someone describe for me in everyday terms what 4 GB of GLASS will get you? Maybe a business example. 4 GB may get me more storage than I realize.. and I don't have to worry about it.

  2. In my app, some messages have file attachments up to 5 MB in size. Can I conserve the 4 GB of Gemstone space by saving these attachments directly to files on the operating system, instead of inside Gemstone? I'm thinking yes.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

匿名。 2024-08-16 19:45:51

我知道一个 GLASS 系统大约有 944 MB 大小,有 830 万个对象,或者每个对象大约 118 字节。按照这个速度,它可以增长到超过 3600 万个对象,并且保持在 4 GB 以下。

至于“附件”,我建议即使在 RDBMS 中,您也应该考虑在文件系统中存储更大的静态数据并从数据库引用它。如果您正在构建基于 Web 的应用程序,则应由 Web 服务器(例如 Apache)而不是通过主应用程序来提供静态内容(JPG、CSS 等)。

相比之下,Oracle 和 Microsoft SQL Server 拥有 4 GB 数据库的免费许可证。

您认为下一级别的合适价格是多少?

I'm aware of one GLASS system that is ~944 MB and has 8.3 million objects, or ~118 bytes per object. At this rate, it can grow to over 36 million objects and stay under 4 GB.

As to "attachments", I'd suggest that even in an RDBMS you should consider storing larger, static data in the file system and referencing it from the database. If you are building a web-based application, serving static content (JPG, CSS, etc.) should be done by your web server (e.g., Apache) rather than through the primary application.

By comparison, Oracle and Microsoft SQL Server have no-cost licenses for a 4-GB database.

What do you think would be a good price for the next level?

悟红尘 2024-08-16 19:45:51

4GByte 限制不久前已被取消。免费版本仅限现在只能使用两个内核和 2GByte 内存。

The 4GByte limit has been removed a while ago. The free version is limited now to the use of two cores and 2GByte ram.

美人骨 2024-08-16 19:45:51

4GB 是一个相当不错的数据库大小。之前没有使用过 gemstone,我只能推测它存储对象的效率有多高,但使用过其他一些类似的对象数据库(Mongodb、db4o)。我知道在接近该限制之前您将能够容纳几(5-10)百万条记录。实际上,有多少记录在很大程度上取决于您存储的数据类型。

举个例子,我存储了约 200 万个列表和信息。大约 100 万个事务,在 mysql 数据库中,空间<; 1GB。序列化整个对象的开销很小,但也没有那么多。

文件绝对可以存储在文件系统上。

4GB is quite a decent size database. Not having used gemstone before I can only speculate as to how efficient it is a storing objects, but having played with a few other similar object databases (Mongodb, db4o). I know that you're going to be able to fit several(5-10) million records before you even get close to that limit. In reality, how many records depends highly on the type of data you're storing.

As an example I was storing ~2million listings & ~1million transactions, in a mysql database and the space was < 1Gb. You have a small overhead serializing a whole object, but not that much.

Files can definitely can be stored on the file system.

南笙 2024-08-16 19:45:51

4GB 是个问题...我猜你认为你正在构建下一个 eBay!

4gb an issue... I guess you think you're building the next ebay!

献世佛 2024-08-16 19:45:51

如今,存储库的大小没有限制。请参阅 GemStone 的最新规格

Nowadays, there is no limit on the size of the repository. See the latest specs for GemStone

神妖 2024-08-16 19:45:51

如果您有多个并发用户且附件大小为 5MB,则无论如何您都需要为他们制定单独的策略,因为每个用户大约需要 GBit 以太网的二十分之一秒的带宽。

If you have multiple simultaneous users with attachments of 5MB you need a separate strategy for them anyway, as each takes about a twentieth second of bandwidth of a GBit ethernet network.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文