no node expert by a long shot but I concur totally, am developing international logistics solutions for others and also running them in my own businesses since the 90ties and you've *got to play it safe* in this area or (apart from your MD, CEO or whatnot) the first fiscal inspection will pluck you to pieces as various taxes are directly affected. They just *love* to detect incorrect inventory statements on your sheet so they can e$timat€... You need to think very hard how to maintain the database accurate in an async environment with multiusers and you have to carefully design the statements or transactions that need to be executed in a certain sequence if you want your app to scale correctly. Sorry for ranting and raving like this but Adam is right. :-)

      On 12/09/13 13:12, Adam Reynolds wrote:
The customer will care when the last item in stock is sold twice. You are right, in the initial work, it's all about the pretty stuff, but the backend implementation should be scalable as the customer grows. 

The last thing a customer wants to hear is that the solution works as long as you don't have too much business.

Seriously this ability to track stock accurately is the most important thing to a business. Having spent a lot of my 13+ years in e-commerce development, this stuff is absolutely critical. The 'design' is irrelevant when the MD of a company wants to know precisely how much stock is in the warehouse, and in your case, why we've sold 3 times as many products than we have in stock, just because the site got busy after they ran an advert on TV last night.

ACID compliance has serious financial implications and is why people keep harping on about it. It's really really really important.



On Thu, Sep 12, 2013 at 11:56 AM, Alexey Petrushin <alexey.petrus...@gmail.com> wrote:
Customers doesn't care if there's MongoDB, CouchDB, MySQL inside this e-commerce stuff.

Also, as soon as the goal is to build widely used open source e-commerce - it won't be a huge million user a day site (nobody uses simple open source shops at such scale), it will be a small, simple and easy to use shop. And on such a small scale - it's totally irrelevant how you implement it, it probably will works fine even if you decide to not use any DB at all and store all stuff in plain files.

So, this discussion about DB choice is pointless. Would be more interesting to see what set of features it's supposed to have and where to get a cool design (the thing that unlike DB is really important) for it.


On Thursday, September 12, 2013 2:38:19 PM UTC+4, Adam Reynolds wrote:
Lol "SQL is boring" 

Think you're doing it wrong :)


On Thu, Sep 12, 2013 at 11:04 AM, klrumpf <klr...@gmail.com> wrote:
if you do go sql because of the ACID issues there's also non blocking MariaDB  https://npmjs.org/package/mariasql
for node and see https://mariadb.com/blog/mariadb-non-blocking-client-api-and-nodejs
Karl-L. Rumpf
klr...@gmail.com
Málaga, Spain
On 12/09/13 00:19, Lucas Schmidt wrote:
I think it should be fine using MongoDB if you use something like REDIS and their lua scripts as transactions.

Or, if Mongo + Lua is not the best option, I would use Neo4j, since its ACID but has the plus of being a graph. (Actually, I would still use Neo4j, even if I were using Mongo + Redis)

SQL is boring, and if you are really going to develop using SQL, just do it in Java or some other language that can provide you a lot of transactions support. You could still develop all your e-commerce using Node, but a few specific Micro Services using a Java Spring as a Restful Webservice.

But good luck ... e-commerce is crazy difficult I would say. 

Em quinta-feira, 10 de maio de 2012 15h55min51s UTC-3, guzelgoz escreveu:
Hi all,

I've been searching and searching but couldn't find any project/open source node e-commerce platform. As I am running some e-commerce websites using the PhP prestashop solution, I was really hoping to find some sort of e-commerce project but Nada!

Ideally, I would like to use Expressjs and MongoDB. Do you know any e-commerce project that I could participate?

If not, I would like to invite anybody to start a project. I think it would have great interest and at least I would participate to it - as a novice node programmer ;) but a serious user that may help on what is needed.

Looking forward to your feedbacks!
Thanks,
Hakan
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com

To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com

To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to