amazon-simpledb

bigtable vs cassandra vs simpledb vs dynamo vs couchdb vs hypertable vs riak vs hbase, what do they have in common?

被刻印的时光 ゝ 提交于 2019-12-20 08:43:14
问题 Sorry if this question is somewhat subjective. I am new to 'could store', 'distributed store' or some concepts like this. I really wonder what do they have in common and want to get an overview on all of them. What do I need to prepare if I want to write a product similar to this? 回答1: The NoSQL Database site summarizes the concept like this: Next Generation Databases mostly address some of the points: being non-relational, distributed, open-source and horizontal scalable. The original

Amazon SimpleDB

落爺英雄遲暮 提交于 2019-12-18 13:00:43
问题 Has anyone considered using something along the lines of the Amazon SimpleDB data store as their backend database? SQL Server hosting (at least in the UK) is expensive so could something like this along with cloud file storage (S3) be used for building apps that could grow with your application. Great in theory but would anyone consider using it. In fact is anyone actually using it now for real production software as I would love to read your comments. 回答1: This is a good analysis of Amazon

Looping through a SimpleXML object, or turning the whole thing into an array

橙三吉。 提交于 2019-12-17 15:57:10
问题 I'm trying to work out how to iterate though a returned SimpleXML object. I'm using a toolkit called Tarzan AWS, which connects to Amazon Web Services (SimpleDB, S3, EC2, etc). I'm specifically using SimpleDB. I can put data into the Amazon SimpleDB service, and I can get it back. I just don't know how to handle the SimpleXML object that is returned. The Tarzan AWS documentation says this: Look at the response to navigate through the headers and body of the response. Note that this is an

NSXMLparser errorcode 5

喜夏-厌秋 提交于 2019-12-14 02:05:46
问题 I'm using Amazon's simpledb in my app. When parsing xml it gives an error with the code 5. ie. NSXMLParserErrorDomain error 5. Sometimes it works fine and without any significant change in the navigation is gives that error. Again it works fine when i restart the app several times without doing any changes to the code or navigation in the system. I cant figure out the reason why this happens. thanks 回答1: Debugging 101: look at the headers to find what errors mean. If you look at NSXMLParser.h

how can I create an image gallery from a list of image URLs?

牧云@^-^@ 提交于 2019-12-11 06:38:34
问题 I'm able to get a bunch of image URLs using Amazon SimpleDB. I'm trying to understand the best way to bind the URL's to a Repeater and create a photo gallery. Repeater may not be the best Data control, so I'm open to suggestions if you can think of a better way. List<string> imgURLS = new List<string>(); String selectExpression = "Select * From Gallery Where Category = 'imgurls'"; SelectRequest selectRequestAction = new SelectRequest().WithSelectExpression(selectExpression); SelectResponse

Spatial queries on AWS SimpleDB

放肆的年华 提交于 2019-12-09 12:33:34
问题 I would like to know what people suggest as efficient ways of doing a spatial query in an Amazon Web Services SimpleDB? By spatial query I mean finding objects in a given radius of a latitude and longitude. 回答1: SimpleDB doesn't currently offer any built-in spatial search operations but that doesn't mean it can't be done. There's several methods of implementing geospatial searches in non-geospatially aware databases such as SimpleDB and all of them center around the idea of using the database

Best way to keyword search Amazon SimpleDB using EC2 and Asp.Net?

99封情书 提交于 2019-12-09 06:30:24
问题 I am wondering if anyone has any thoughts on the best way to perform keyword searches on Amazon SimpleDB from an EC2 Asp.Net application. A couple options I am considering are: 1) Add keywords to a multi-value attribute and search with a query like: select id from keywordTable where keyword ='firstword' intersection keyword='secondword' intersection keyword = 'thirdword' Amazon Query Example 2) Create a webservice frontend to Katta: Katta on EC2 3) A queued Lucene.Net update service that

How can I protect Amazon SimpleDB from SQL Injection?

ぃ、小莉子 提交于 2019-12-08 15:40:54
问题 Under the principle of "if it walks like a duck and it sounds like a duck," it sure seems like the SQL-flavored queries that Amazon's SimpleDB supports should be susceptible to SQL injection-type attacks. Here's a simple example that assumes the attacker's input is going into the variable $category, and that he can guess a column name: $category = "Clothes' OR Category LIKE '%"; $results = $sdb->select("SELECT * FROM `{$domain}` WHERE Category = '$category'"); If you're playing the home game,

Creating Domain with AWS SimpleDB from Java Servlet

99封情书 提交于 2019-12-08 02:41:51
问题 I am a university student working on a research project that involves migrating a web application to Amazon's cloud. I spent the last semester working with servlets and was able to get the majority of the app's functionality working using a java servlet running in Tomcat. I am now trying to integrate Amazon Web Services such as the SimpleDB and E-mail service. I develop using the Eclipse Java EE for Web Developers Indigo IDE. I have the AWS plugin installed and am able to run sample code that

Amazon SimpeDB - apps - data protection

白昼怎懂夜的黑 提交于 2019-12-07 12:05:12
问题 I have been using AWS (Amazon Web services) and in particular simpleDB for a couple of smartphone apps using their iOS/android client libraries. So far, the data was very benign so I didn't worry too much about data protection. My next app project will require a "users" table/domain containing usernames and passwords. What I'm worried about is that someone reverse-engineer the Android java version of the app, then it will be easy to get all the simpleDB data, including all the passwords. the