<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WILD ARTIST &#187; Optimization</title>
	<atom:link href="http://www.wildartist.org/archives/tag/optimization/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wildartist.org</link>
	<description>All about LIFE</description>
	<lastBuildDate>Tue, 07 Feb 2012 10:00:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Introduction of RDMS Optimization</title>
		<link>http://www.wildartist.org/archives/1590</link>
		<comments>http://www.wildartist.org/archives/1590#comments</comments>
		<pubDate>Thu, 16 Dec 2010 08:24:06 +0000</pubDate>
		<dc:creator>Chris Allo</dc:creator>
				<category><![CDATA[DEVELOPMENT]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Optimization]]></category>

		<guid isPermaLink="false">http://www.wildartist.org/?p=1590</guid>
		<description><![CDATA[Almost all online services are using database. However, not-optimized database scheme causes disaster. The service would be slow down and sometimes get down with data requests overflown. Here I give a brief guideline on how to optimize database scheme. Most database &#8230; <a href="http://www.wildartist.org/archives/1590">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Almost all online services are using database. However, not-optimized database scheme causes disaster. The service would be slow down and sometimes get down with data requests overflown. Here I give a brief guideline on how to optimize database scheme.</p>
<p>Most database management system enacted on RDBMS(Relational Database Management System) base. The keyword is &#8220;Relational.&#8221; The way how to make relations mostly determines the whole performance.</p>
<p>There are 3 types of relation &#8211; 1:1, 1:n and n:m. Let&#8217;s take a look for each.</p>
<p><strong>One-to-One(1:1) relation</strong><br />
Although it is rarely used as all 1:1 relations can be expressed as one composite dataset, understanding the concept would help to see the connections more clear. A student and his student ID match is an example. One student has one ID and one ID is possessed by one student.</p>
<p><strong>One-to-Many(1:n) relation</strong><br />
It is the most common relation that most hierarchical structure can be represented with it. For example, suppose that 16 full-time employees are working in a company. Then the company has 16 employees, and each employee belong to one company.</p>
<p><strong>Many-to-Many(n:m) relation</strong><br />
This relation is the most complicated structure among relations so it requires the performance overhead. It traverses N*M times to search for data while One-to-Many relation does it N times. One of good examples is the relation between class and student. Students take many classes and each class has many students.</p>
<p>The key is that, avoid Many-to-Many relation to maximize performance. If it is inevitable, count the number of data records and control it with discussion. The performance is not to be ignored in web service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wildartist.org/archives/1590/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What You Should Do Right Before Deploying Your Web Site</title>
		<link>http://www.wildartist.org/archives/1252</link>
		<comments>http://www.wildartist.org/archives/1252#comments</comments>
		<pubDate>Fri, 09 Jul 2010 06:32:33 +0000</pubDate>
		<dc:creator>Chris Allo</dc:creator>
				<category><![CDATA[PROJECT]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[SECURITY]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Web service]]></category>

		<guid isPermaLink="false">http://www.wildartist.org/?p=1252</guid>
		<description><![CDATA[Web grows fast and delivers the colossal impact in modern life. And many service providers are preparing for web service relating to other industries. If you are one of them, however, you need to check a few things before you launch the &#8230; <a href="http://www.wildartist.org/archives/1252">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Web grows fast and delivers the colossal impact in modern life. And many service providers are preparing for web service relating to other industries. If you are one of them, however, you need to check a few things before you launch the service. I mention three things to check here and will explicate why you should keep each of them in mind.</p>
<p><a href="http://www.wildartist.org/wp-content/uploads/2010/07/w3c.jpg"><img class="alignnone size-medium wp-image-1255" title="w3c" src="http://www.wildartist.org/wp-content/uploads/2010/07/w3c-300x127.jpg" alt="" width="300" height="127" /></a></p>
<p><strong>Validation of Web Standard (W3C Validation)</strong><br />
The main reason of this phase is that many browser vendors have made their programs so differently. Keeping web standard may help your service shown identically regardless of browser environment. W3C, who enacts the web standard offers a service to validate online. (<a href="http://validator.w3.org">http://validator.w3.org</a>) Insert your site address and click Check button to conduct validation. If you meet some errors or warnings, you&#8217;d better remove them all.</p>
<p><strong>Optimization</strong><br />
Optimization is important to improve the performance of the service. According to the statistics from Amazon.com, 0.1 second speed-up brings 1% revenue increment. There are some issues about the method so you can consider them. Here is a list of optimizing stuffs.</p>
<p>- Locating inline script and stylesheet(CSS) properly.<br />
- Deferred script.<br />
- Gzip compression.<br />
- Seeing how CSS selector operates in browser.<br />
- Optimization of images (GIF, JPEG, PNG, etc)</p>
<p><strong>Security Manners</strong><br />
It is essential to sanitize user&#8217;s input. You&#8217;ll get a big trouble by hackers who targets at the core information in your site unless missing security managing process. That is, the personal data and information could be divulged or manipulated. The range of security is broad but you can see the following issues primarily.</p>
<p>- XSS (Cross-site script) attack.<br />
- SQL injection.<br />
- Intercepting user session.<br />
- Exploiting vulnerabilities of browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wildartist.org/archives/1252/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

