简体   繁体   English

Firebird 云应用?

[英]Firebird for cloud application?

I will start a POS (point of sale) system that will begin as a regular intranet system (in his initial-beta stage) but I want to scale later to a cloud offering.我将启动一个 POS(销售点)系统,该系统将作为一个常规的 Intranet 系统(在他的初始测试阶段)开始,但我想稍后扩展到云产品。 I will offer it as a hybrid solution.我将其作为混合解决方案提供。

I want it to use firebird, because the easier deployment, minimal footprint and the ability to use a embedded multithread server.我希望它使用 firebird,因为它更容易部署,占用空间最少,并且能够使用嵌入式多线程服务器。 However, I worry if firebird could be used for a cloud service with fault-tolerance, data replication, etc... to be reliable enough to small companies put his business on it (similar to the service of freshbooks).但是,我担心 firebird 是否可以用于具有容错、数据复制等功能的云服务......是否足够可靠以供小公司开展业务(类似于freshbooks 的服务)。

My other option is use Postgress, but I have not experience with it.我的另一个选择是使用 Postgress,但我没有使用它的经验。

Is FB good enough to be use as SAAS backend? FB 是否足以用作 SAAS 后端? Any successfully implementation?有没有成功实施?

PD: I thinking on deploy it on GoGrid or Rackspace... PD:我正在考虑将它部署在 GoGrid 或 Rackspace 上......

You should code your POS application without any knowledge of the SQL backend. 您应该在不了解SQL后端的情况下编写POS应用程序代码。 That way you can switch backends at any time. 这样你就可以随时切换后端。 It's also advantageous that application code not understand the innards of the persistence code, otherwise you have a layer violation. 应用程序代码无法理解持久性代码的内部结构也是有利的,否则您将遇到层违规。

A common way to do this is to use an Object Relational Mapping (ORM) library. 执行此操作的常用方法是使用对象关系映射(ORM)库。 This Firebird FAQ recommends some ORMs that work with Firebird. Firebird FAQ推荐了一些与Firebird配合使用的ORM。

FB is a great option and it can handle large data sets and has the ability to span a db across multiple files . FB是一个很好的选择,它可以处理大型数据集,并且能够跨多个文件跨越数据库。 I've been using it in a couple of web projects most recently on inmobiapp.com. 我最近在inmobiapp.com的一些网络项目中使用过它。 But the one thing I see lacking is replication, so far the only solution I've used is called ibpreplicator it's a very good rep. 但我看到的缺点是复制,到目前为止,我使用的唯一解决方案是ibpreplicator,它是一个非常好的代表。 tool if configured properly. 工具配置正确。 You can try it for free but you have to buy a license. 您可以免费试用,但必须购买许可证。

Also consider driver support for the programming language you will use. 还要考虑驱动程序对您将使用的编程语言的支持。 Last time I checked FB on Rails support is not that good on the other hand PHP has great support for FB. 上次我在Rails上检查FB支持并不是那么好用另一方面PHP对FB有很大的支持。

Excuse me sounding a little harsh here, but hybrid is bullshit. 不好意思,这里听起来有点刺耳,但是杂交是胡说八道。 I like the idea of a SaaS POS but don't spoil the fun for yourself by going down the long and windy path of on site software maintenance support. 我喜欢SaaS POS的想法,但不要通过现场软件维护支持的漫长而多风的路径来破坏自己的乐趣。

No on site maintenance is the single most attractive reason for a SaaS solution for both, the customer and you! 对于客户和您而言,现场维护不是SaaS解决方案最具吸引力的原因!

Make it a pure SaaS app from the beginning with proper full screen browser support, streamlined usability and SSL encryption. 从一开始就使其成为纯粹的SaaS应用程序,提供适当的全屏浏览器支持,简化的可用性和SSL加密。 Also think about competitors especially Square, because your system will rather attract small merchants and Square is all over them. 还要考虑竞争对手特别是Square,因为你的系统宁愿吸引小商家,而Square也在他们身边。

If you don't do on site in the first place go with a proper web framework and ORM right from the start. 如果您不首先在现场进行,请从一开始就使用适当的Web框架和ORM。 You can optimize things later, when you have a reason and the experience to do so. 当您有理由和经验时,您可以稍后优化。

Now this is only my opinion, but think about what I just said and especially think about it not purely from a technology point of view. 现在这只是我的意见,但想想我刚才所说的内容,特别是从技术的角度来看它并不是纯粹的想法。

Firebird is a good RDBMS but unfortunately not very wide spread in either web-applications or hosting companies. Firebird是一个很好的RDBMS,但不幸的是在网络应用程序或托管公司中都没有广泛传播。

Personally I like the FB software, but not too keen on the community around it. 我个人喜欢FB软件,但不太热衷于它周围的社区。

And making UTF8 work with locale case-insensitive ordering... That's what made me give up on it.. 并使UTF8使用区域设置不区分大小写的顺序...这就是让我放弃它的原因..

I'd recommend postgres, mysql (or mariadb). 我推荐postgres,mysql(或mariadb)。

Some people still thinks mysql is unstable, I've never had any problems, but not worked with data larger than 1GB. 有些人仍然认为mysql不稳定,我从来没有遇到任何问题,但是不能处理大于1GB的数据。

Whatever you choose, schedule backups. 无论您选择什么,都可以安排备份。

UPDATE Someone downvoted my answer. 更新有人低估了我的答案。 Sharing my bad experiences with the FB Foundation and to be precise, with H. Borrie doesn't make this answer "not useful". 与FB基金会分享我的糟糕经历,确切地说,与H. Borrie一起,并没有让这个答案“无用”。 If the attitude has improved from the docwriters, I sincerely congratulate FB. 如果医生的态度有所改善,我真诚地祝贺FB。

Honestamente, seleccionaría otra BD como PostgreSQL, MySQL o CockroachDB, está última la recomiendo. Honestamente, seleccionaría otra BD como PostgreSQL, MySQL o CockroachDB, está última la recomiendo。 Si quieres seguir con Firebird te sugiero HQbird: Advanced FirebirdSQL, que es un servicio en la Nube de Firebird mejorado con repliación, backup y otras cosas interesantes. Si quieres seguir con Firebird te sugiero HQbird:高级 FirebirdSQL,que es un servicio en la Nube de Firebird mejorado con repliacion,备份 y otras cosas interesantes。 https://ib-aid.com/en/hqbird https://ib-aid.com/en/hqbird

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM