English 中文(简体)
Best logging option on Amazon Cloud. RDS or SimpleDB?
原标题:

My site s architecture includes ASP.Net & MySQL. I am planning to deploy it on Amazon Cloud. This would mean EC2 instance(s) and RDS. My query is regarding logging.

I m ensuring that my application is stateless, so logging on application tier is ruled out. All state/persistence goes into RDS. When it comes to logging, I am not sure if RDS is a good choice (just speculating). Since it is new and I d be logging database exceptions also, logging into RDS my not be correct. I guess the best option at my disposal is SimpleDB.

I m looking for recommendations to choose between RDS and SimpleDB for the purpose of logging.

最佳回答

I was also figuring out where to log in Amazon cloud and decided to do it into SimpleDB, because relational database is much too complicated for logging purposes. I use Java in this case and there s a ready-made log appender for SimpleDB. I tried to google for something similar for .net but didn t find any :(

So, I recommend SimpleDB over RDS.


UPDATE 2010-03-02:

SimpleDB has an attribute value length restriction of 1024 bytes. So, if you get longer log messages, this has to be somehow taken care of. One solution is to split the log message to multiple attributes (i.e. columns). There can be 256 attribute name-value pairs, which gives us plenty of room.

问题回答

暂无回答




相关问题
Best logging approach for composite app?

I am creating a Composite WPF (Prism) app with several different projects (Shell, modules, and so on). I am getting ready to implement logging, using Log4Net. It seems there are two ways to set up the ...

How to make logging.debug work on Appengine?

I m having a tough time getting the logging on Appengine working. the statement import logging is flagged as an unrecognized import in my PyDev Appengine project. I suspected that this was just an ...

How to validate Java logging properties files?

I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured ...

Logging SAS scripts

I ve been developing a lot of Java, PHP and Python. All of which offer great logging packages (Log4J, Log or logging respectively). This is a great help when debugging applications. Especially if the ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

热门标签