Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Jim Robinson
And John is beginning to think Cloud.

I think that the cloud is the way to go, because you can scale up and down your infrastructure as needed. But, presuming that the problem is indeed the database, you'll have to re-architect the database.

SQL doesn't scale easily, unless you spend a bunch of bucks for an Oracle Enterprise server. However, a NoSQL database would be easily scalable to multiple nodes, and you can add them or subtract them as necessary to meet peaks and valleys in demand.

Aside from the implementation effort, there's the cost. Amazon's EC2 cloud can do everything you want, and more -- but at a price.

94 posted on 10/30/2012 7:29:26 PM PDT by justlurking (tagline removed, as demanded by Admin Moderator)
[ Post Reply | Private Reply | To 78 | View Replies ]


To: justlurking; Jim Robinson; John Robinson; BuckeyeTexan
However, a NoSQL database

Yes, my former boss David C. mentioned this as well. There are pros and cons to this approach as well. One major one, to my mind, is there is no ACID for NoSQL (atomicity, consistency, isolation, durability). There's also little standardization in API's or Query Languages for NoSQL. Therefore, I conclude that it is an immature -- albiet promising -- technology.

SQL doesn't necessarily scale, but there are methods of writing code so that it scales a lot better:

  1. Connecting when request required, dropping connection immediately. Seems counterintuitive, but it works.
  2. No Dynamic SQL *EVER*!!!!

    On the SQL side itself:

  3. Watching carefully the number of indexes. Inserts slow down a lot for indexes.
  4. Watching cartesians!!!
  5. Good PK selection, low use of FK.
  6. Use of Profiler to see where most of your time is spent.

184 posted on 10/31/2012 7:37:37 AM PDT by Lazamataz (The Pravda Press has gone from 'biased' straight on through to 'utterly bizarre'.)
[ Post Reply | Private Reply | To 94 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson