![]() | |
#41
| |||
| |||
|
|
On Mar 9, 5:32*am, Kevin Powick <kpow... (AT) gmail (DOT) com> wrote: On Mar 9, 3:44*am, Chairpotato <chairpot... (AT) gmail (DOT) com> wrote: Which is why all the web jobs are either using LAMP or AJAX structures, and not Pascal or Lisp right? You do realize that the "M" in LAMP is for MySQL. *Good luck supplanting that. I think you are looking to solve a problem that isn't there. Yes mySQL is an SQL database, and yes it can live on the same web server as the PHP interpreter, so you'd think they'd be fast working together. *I'm however talking about the creation of a Pick-style database, not another SQL database. Web apps are already horribly slow in the best cases Really? *How so? *Most web apps are a GUI to a back end doing all the heaving lifting. *Any slowness is likely the pipeline, over which you have no control. That's right. That's why the addition of a few *slow* database lookups won't make any difference to the web-app user. *The speed issue is more tied to the speed of the user-connection, not the intra-process speed between local components on the server. adding a few slow but local database lookups won't be noticed in all that. Yes, they will. No they won't. Fine but that doesn't negate the advantage of having a database and application all written using the same language. True, or we all wouldn't be using MV. *However, PHP is a terrible choice to write a database engine. Says you ![]() Lots of people are using PHP to do database lookups already. It's just that their only reasonable choices are flat file or mySQL. Now they'll have a third choice. *That's it. |
#42
| |||
| |||
|
#43
| |||
| |||
|
|
Why would you want to write a database in php ??? any database not just a pick style one. (actually why would you write anything new in php - oh lets not go there tho ). |
#44
| |||
| |||
|
|
we'd port the entire O/S to a memory stick... -- frosty |
#45
| ||||||
| ||||||
|
|
There's a HUGE difference in write an interface to an existing database that has its own DBMS and writing the DBMS itself in PHP. *I would say that PHP is quite possibly the worst language to write a DBMS in. |
|
Doing lookups it exactly what it is meant for, handling all the back end of a DBMS is not. *There's a ton of overhead in any DBMS, record locking, file locking, multi-user access control, physical storage and access of the data, encryption, decryption, etc. |
|
You add all that in and write it in PHP and it will be the slowest thing you have ever seen in you entire life. |
|
PHP is not an executable (machine) language, it is interpreted and by it's very nature it is slow at doing I/O. *I/O is the life blood of and good DBMS. *Something that takes milliseconds in executable (machine) code can take whole seconds even minutes in an interpreted language. |
|
Just to aswage the barage of complaints that Pick Basic is typical only compiled to pseudo code, I offer the fact that all the I/O is actually execute in machine code. *When you READ a record from a file you do not have to write the low-level, read a sector off of disk and parse into a set of records code. *All of that is handled at the machine level, not the interpreted pseudo-code level |
|
I started to write something similar in Perl one time, then I woke up! *What nightmare! *Just not the correct tool for the job. *The fact is, that connecting to an existing DBMS and requesting data is what PHP and Perl are more suited to, not writing the DBMS itself. |
#46
| |||
| |||
|
|
If you know of any web application that is processing a thousand records a minute or something, let me know. *Otherwise I just don't see the problem here. |
|
I don't see what's so hard. |
#47
| |||
| |||
|
|
On Mar 12, 5:12 am, wjhonson <wjhon... (AT) aol (DOT) com> wrote: If you know of any web application that is processing a thousand records a minute or something, let me know. Otherwise I just don't see the problem here. Umm.... Even at today's lowliest website one thinks in terms of transactions per second, not minute. As for examples of websites certainly processing more than a thousand records per minute, lets try sites like Google, Amazon, Yahoo, etc. Ever heard of them? I don't see what's so hard. Dunning-Kruger effect? ;-) obviously wrongly named - should be CDP effect. |
|
-- Kevin Powick |
#48
| |||
| |||
|
|
On Mar 12, 5:12*am, wjhonson <wjhon... (AT) aol (DOT) com> wrote: If you know of any web application that is processing a thousand records a minute or something, let me know. *Otherwise I just don't see the problem here. |
#49
| |||
| |||
|
#50
| |||
| |||
|
|
..I'm talking about bridging the great leap from flat file to SQL-type databases, in PHP. Right now PHP programmers only have limited file support. I'm only talking about giving them an option here. Not trying to build something that scales into the millions of transactions. If we can introduce those non-MV PHP programmers *slowly* to the idea of multivalue, that would help the entire marketplace, in my opinion. Then if they want to "improve" their speed by using some "better" mv database, it won't be a huge jump. It will seem natural. |
![]() |
| Thread Tools | |
| Display Modes | |
| |