What Is XML?

What Is XML?

What is XML?

What is XML? XML or Extensible Markup Language is a language that states rules for document encoding in a format that is both readable by humans and machines. It is designed to be simple and useable, and because of that design, many application-programming interfaces were developed to take advantage of the XML format. On the other hand, some languages were even created to make use of XML, a few of them are WSDL, WAP, WML, RDF, OWL, SMIL, XHTML,  SOAP, Atom, and RSS. As of now, XML has become as important as HTML on the World Wide Web.

xmlOn web development, XML is used to store and transport data. Before new web developers tackle this topic, they must have some basic knowledge on JavaScript and HTML. Knowledge on those subjects is essentially needed since knowing XML will be useless if the developer does not know how he can use it. This is mainly true because, XML is only made to transport data, and not display it. On the other hand, even though XML is a markup language just like HTML, the tags used on XML are not predefined, and it is up to the developer to create his own tags.

In addition, there is no way that XML can replace HTML. In actuality, XML is unusable on its own. Even if you create many lines on an XML document, as long as there is no HTML document that will display and manipulate it, it will remain useless to anybody. To be more precise, XML is a data transportation tool that is dependent on the software and hardware that will use it.

Many developers liked this language since it allows them to save time when they decide to upgrade or change their systems, whether that change is software or hardware. When XML is not yet prevalent, most of those people would often convert large amounts of data, which is a very taxing task. Moreover, when the data they have are incompatible for their new systems, it will only lead to two things. They will either discard or rewrite the data they have, and that is definitely a waste of time. In addition, since XML is just written in plain text, getting operating system upgrades, using different applications, and installing new browsers will never be a problem. Furthermore, because of the popularity of XML, many applications were developed for it.

In case that you are advancing in web development, you absolutely need to learn this. However, if you are not yet familiar with JavaScript or even HTML, always remember that XML is useless on its own. Learning how to create an XML file is very easy, and the only difficult part is for you to know how you will use it. Nevertheless, when the time comes that you already know how to code JavaScript and HTML, XML knowledge can certainly help you a lot. In addition, after you learn how to use XML, it is best for you to learn other data storage and transport languages. It is advisable that you learn S-Expressions, YAML, and JSON.

{ 0 comments }

Understanding About Overselling In The Web Hosting Business

Understanding About Overselling In The Web Hosting Business

Have you ever heard about overselling in web hosting business? Generally, overselling means too much selling something, which can be the opposed of overstock. Okay, enough for scrubby talk, let’s get serious.

I maybe cannot explain deeply about this overselling business, but i can tell you this, when you have server that suppose to create or serve only 100 accounts or clients but you push it to create or serve for 200 accounts or clients, that is overselling. For instance, with the specification such 3.00GHz Processor, 4GB Memory, 120GB Disk Space, and 1000GB Data transfer, you can only sell or divide this server for maximum 60 clients. With these kind of spec divided by 60, each client will get (approximately):

1500MB Disk Space
15GB Data Transfer
60MB Memory Usage
40MHz CPU Usage

*I’m not counting this spec allocation with full resource, i assume the residual resource is reserve for server’s system.

So from my explanations above, you maybe do overselling by creating for example 200 accounts with that kind of server. You are expecting that your clients don’t use all of their resource, especially disk space and data transfer. And to prevent your client for using full resource of your package that you promised, you restrict them with general TOS like: prohibited to use for file hosting, peer to peer application, cpu large consume script such as CGI, Proxy, etc. Those kinds of TOS is very common and understandable in the web hosting business, but the disaster thing will come to you overselling provider when the client’s website is not use the restricted script or service but their website get about a thousand unique visitor a day and accidentally the website is full with large size of images, or simultaneously receive a thousand request. With the normal 60 clients, that kind of condition can overwhelmed the server, what about if you do overselling and you accidentally experiencing that kind of circumstances? Can be worst!

What would happens? Bandwidth limit exceed, fatal out of memory, slow response to the website (long time process), etc. Your email inbox will be full by your client’s tickets, complains, refunds, invectives, and another unpleasant emails. Is that good? Of course not! In my experience, good service provider will do response all of those ticket with good manner and resolve all of those problems, maybe upgrade the server spec or do refunds. But the bad or evil or terrible provider will not response all of the tickets, not do refunds, keep overselling until the server’s blow up and then dissapeared like they swallowed by the earth.

More about overselling, i will illustrate with these images below:

Non Oversold

Oversold

Non oversold server will stil be safe if their clients use maximum resource simultaneously, but in most case cpu and memory usage will sometimes exceed or boost to the top of your server’s spec limit, you just need to reboot your server to refresh cpu and memory, or maybe upgrade both cpu or memory. For the oversold server, you probably can also do reboot to refresh cpu and memory, but what about disk space and data transfer? Could you press reboot and refresh them? Haha… lol.

Is it good to do overselling? Or is it good to buy web hosting from the overselling provider? Overselling of course is good to maximize profit and it is not prohibited, but you service providers must keep in mind that you need to be ready to upgrade your server, especially disk space and data transfer in case your server is not enough no more to serve your client’s disk space and data transfer, if you don’t have problem with that, then you are a good overselling provider. For the customer, if you want to go with the overselling provider, then you must be looking for some good spec with very affordable price. You need to do research about the service provider candidate before you decide to go with them. Check how long they have been in business, testimonials, etc. Find all of those information in a community or forum which the provider sell their service, so if there is some trouble you can easily contact them in the forum or if in the worst case they do not respond your query, just post in the forum your testimonial about them with the proof or evidence like maybe screenshot.

One last important thing, i want to tell you that there is no such thing “Unlimited Disk Space” or “Unlimited Data Transfer”.

{ 0 comments }