Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
architecture
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jmartins  
View profile  
 More options Nov 17 2010, 8:21 am
From: jmartins <jcmart...@gmail.com>
Date: Wed, 17 Nov 2010 05:21:50 -0800 (PST)
Local: Wed, Nov 17 2010 8:21 am
Subject: architecture

Hi,
Like it's a new project I have same sugestions:

1-) Change MySql to MongoDB see the site below about MongoDB and E-
commerce:

http://kylebanker.com/blog/2010/04/30/mongodb-and-ecommerce/

http://mongomatic.com/

2-) Remove the Memcahed

3-) Use a Test Framework

4-) Integration with Open ID (social network).

5-) Module Integration with Fedex, DHL, EMS, others

6-) Make a graphic report sales audit module  ( like products more
sales, never sales, top ten products, etc...)

regards,
Joao Martins


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Henner  
View profile  
 More options Nov 17 2010, 10:35 am
From: David Henner <drhen...@gmail.com>
Date: Wed, 17 Nov 2010 15:35:05 +0000
Local: Wed, Nov 17 2010 10:35 am
Subject: Re: architecture

Joao

1)  Mongo DB can never be used for financial information.  So knowing that I
can not use mongo DB for the whole project.  The good news... I will create
several rack apps that use mongo DB.  One will be for the cart.  The rack
app will replace the current cart with a cart that uses mongo DB.

2) I need memcached or raik or mongo session store. You can easily change
the session store to the cache-store you like best.  I can not use the
cookie store or DBstore because the admin cart was design emm  differently.

3)  I have over 400 unit tests working and passing with rspec.  Not sure
what you mean by this.  I do need to add controller tests.

4) integrating with open ID will be yet any other Rack app that will extend
functionality.

5) Integration with Fedex, DHL, EMS...  Explain?  I will link to the
Shipment sites but any further integration will be yet another Rack app.

6) Reports will be added as a rack app soon.  I am starting with an enhanced
product view using mongo DB then I will create a reporting rack app.

Thanks for the feedback.  The more feedback the better I can make this
project.

Dave


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joćo Martins  
View profile  
 More options Nov 17 2010, 12:18 pm
From: Joćo Martins <jcmart...@gmail.com>
Date: Wed, 17 Nov 2010 15:18:56 -0200
Local: Wed, Nov 17 2010 12:18 pm
Subject: Re: architecture

Dave,

1-) Mongo DB can never be used for financial information.
*Is it because ACID in supported for only a single document and cannot span
multiples ?*
But think about when I need real ACID in a E-commerce transation ? If all
transaction use a gw paymanet and it's a webservice/json ?
And financial information never can be write in a database. It's security
principals.
Mongodb is a very good database to have products imagem files and videos !!!

2-) less is more, if you use a rack app with mongodb so the logical think is
use mongo session store not memcached

3-) I like rspec!

4-) Use Open ID in rack app, it's good!

5-) Maybe it's another rack app but is important have a crosssales module.

regards,
Joao


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Henner  
View profile  
 More options Nov 17 2010, 12:49 pm
From: David Henner <drhen...@gmail.com>
Date: Wed, 17 Nov 2010 17:49:35 +0000
Local: Wed, Nov 17 2010 12:49 pm
Subject: Re: architecture

1)  Mongo cant be used because if the power fails (or something else goes
buggy) you can lose data.  No this doesn't happen often but it does happen.

SENARIO:  I write to mongo.  Mongo immediately stores the request in memory
and replies OK.  Now mongo writes to disk.  The problem happens if something
un-expected happens between the OK reply and the writing to disk.

videos/images in the DB is bad IMO, if you plan on becoming a big app images
will not scale.  Plus if multiple documents need to point to the same image
your DB will be huge quickly.

2)  The Rack app is independent.  Eventually I will have a riak based rack
apps and redis based rack apps.  My plan is to make rack apps that allow the
base app to scale.  It is one line of code to change the session store.

3)  me too.

4) agreed.  I might have 2 or 3 rack apps with several different solutions.

5) agreed.  It should be ready within a couple months.

2010/11/17 Joćo Martins <jcmart...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jmartins  
View profile  
 More options Nov 18 2010, 9:18 am
From: jmartins <jcmart...@gmail.com>
Date: Thu, 18 Nov 2010 06:18:20 -0800 (PST)
Local: Thurs, Nov 18 2010 9:18 am
Subject: Re: architecture

> 5) Integration with Fedex, DHL, EMS...  Explain?  I will link to the
> Shipment sites but any further integration will be yet another Rack app.

I'm talked about this feature :

Real time rate lookup (UPS, USPS, FedEx, Correios(Brazil): the
functionality to request rates from UPS, USPS, or FedEx during
checkout for more accurate rate pricing rather than using a flat
shipping rate.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Henner  
View profile  
 More options Nov 18 2010, 10:05 am
From: David Henner <drhen...@gmail.com>
Date: Thu, 18 Nov 2010 15:05:07 +0000
Local: Thurs, Nov 18 2010 10:05 am
Subject: Re: architecture

good idea


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joćo Martins  
View profile  
 More options Nov 18 2010, 12:13 pm
From: Joćo Martins <jcmart...@gmail.com>
Date: Thu, 18 Nov 2010 15:13:13 -0200
Local: Thurs, Nov 18 2010 12:13 pm
Subject: Re: architecture

On Wed, Nov 17, 2010 at 3:49 PM, David Henner <drhen...@gmail.com> wrote:
> 1)  Mongo cant be used because if the power fails (or something else goes
> buggy) you can lose data.  No this doesn't happen often but it does happen.

> SENARIO:  I write to mongo.  Mongo immediately stores the request in memory
> and replies OK.  Now mongo writes to disk.  The problem happens if something
> un-expected happens between the OK reply and the writing to disk.

Dave,

for this Senario see this
http://www.thebuzzmedia.com/mongodb-single-server-data-durability-guide/

And in the new version of MongoDB v1.8 this problem is revolved see the
ticket http://jira.mongodb.org/browse/SERVER-980

regards,
Joao


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »