Welcome Guest, Not a member yet? Register   Sign In
Performance - XML parsing or database calls
#4

[eluser]xwero[/eluser]
[quote author="dpgtfc" date="1228594456"]Anyway, right now, on every load of a page there is a database call. I think this would open my application up to a DOS attack, no? Even so, for performance issues, I have considered using XML.
[/quote]
You are describing a clear cut case of premature optimization.

There is nothing wrong with wanting to make as less database queries as possible but if you are afraid to get data out the database you better make static pages. And about the DOS attack, that is FUD. The database is not the only resource that is affected by a DOS attack.

About the performance, first benchmark your queries and you can always use cache if your site has a lot of traffic. Caching is much faster than parsing xml or json.


Messages In This Thread
Performance - XML parsing or database calls - by El Forum - 12-06-2008, 08:14 AM
Performance - XML parsing or database calls - by El Forum - 12-06-2008, 08:56 AM
Performance - XML parsing or database calls - by El Forum - 12-06-2008, 09:01 AM
Performance - XML parsing or database calls - by El Forum - 12-07-2008, 05:23 AM
Performance - XML parsing or database calls - by El Forum - 12-07-2008, 07:18 AM
Performance - XML parsing or database calls - by El Forum - 12-07-2008, 08:04 AM
Performance - XML parsing or database calls - by El Forum - 12-07-2008, 10:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB