Question:
Can you help me with these assumptions about programming?
Big John Studd
2009-06-17 08:37:05 UTC
1. A client program running on a remote machine accesses the database much faster with a physical connection (cable) to the modem than with a wireless connection. Why? Is this really the case?

2. Xml config files are not completely necessary. I feel more comfortable getting config info (e.g., connection string) from a simple text file located in the same place than an XML file. I also see that PHP and Apache and other systems have .ini files (in text format, not .xml)

3. It is faster to do all data manipulation in SQL Server, and do business operations like on client machines.

4. It is faster to access a database on the web (or intranet) than to access it with a client app on a remote machine.

IF my assumptions are wrong, PLEASE enlighten me.

Thanks
Three answers:
2009-06-17 08:52:23 UTC
1. True sometimes. Ethernet connections are nearly always faster than wireless. Ethernet also has the luxury of being able to resend things like fragmented packets faster. There's less latency and less chance of the signal dropping or weakening because of distance (as long as the cable is solidly connected).



2. Well, I don't know what you're assumption is, but XML config files are just one way to save configurations. XML is text; there's nothing binary about it. If the system parsing the XML file has the ability to do so (IOW, it understands how to read XML, which is a standard), it could read an XML file just as fast as a text file. The reason Apache and PHP use ini files (which are just text files) is because that's how they were originally designed, and there's no need to "fix" something that works fine. If reading XML were part of the construction of those two engines, they might have used XML instead.



The K Desktop System (KDE) used on Linux distributions keeps nearly all of it's configurations in XML files.



3. Apples and oranges. You're asking about two possibly different functions on two different kinds of machines. The only true way to compare the two is to perform the fame functions on both machines using different methods.



4. Again, apples and oranges. The bandwidth on the web varies considerably from site to site. That affects access time. When you say "remote machine", what do you mean? Remote in the next room, the next building, on the opposite coast? You're trying to build your assumptions based on generalizations, which is always a bad thing to do.
?
2016-11-14 16:00:48 UTC
in basic terms arithmetic operates below sequence of proofs, and proofs relax on assumptions. technological expertise and theology attempt to accumulate info quite than to make proofs. we are able to of course assemble info that something would not exist. as an occasion, we are able to benefit photographic info of UFOs or fairies and practice that there are greater probably motives for those photos. many human beings attempt to coach that God would not exist, yet they're working into some roadblocks. as an occasion, there's no existence like selection clarification for the abrupt explosion of the universe into existence interior the enormous Bang. This journey happened from a single mathematical element on the initiating of time, which regulations out any organic reason "previously" time. although, it would not rule out a private reason, the strikes of a undying, nonmaterial smart dressmaker. a matching roadblock exists interior the attempt to think of inanimate chemical compounds spontaneously producing micro organism. Cheers, Bruce
manish j
2009-06-17 10:24:23 UTC
i dont know abt others

but ur 4th assumption is wrong


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...