Re: VB6 Winsock action on Server
- From: "Schmidt" <sss@xxxxxxxxx>
- Date: Fri, 2 Jun 2006 22:09:34 +0200
"jerry_ys" <jerryys@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:E0340CB3-4FCE-4536-B621-B3405FFE3B67@xxxxxxxxxxxxxxxx
Let me clarify a bit more. While VB is not my forte it atHow are you coming to this conclusion?
least appeared after some scrutiny to contain the technology
for reasonably clean client/server apps only using features of
the product and not having to fudge and patch critical areas.
The more we discuss, with due respect, it seems this is not
the case.
My recommendation, to use ADO for your solution, is caused
by the fact, that VB and its Controls were designed with ADO
in mind.
All of VBs enhanced RAD-features shine a bit brighter in
combination with ADO, building DataAccess-Applications
with very few lines of code.
For example - you can visualize the Content of an ADO-
Recordset inside a VB-Datagrid (and open it for edit) with
only one single line of code:
Set Datagrid.Datasource = Rs
The system is for a non-profit club, which I having knowledgePlease, don't bother with the term "homegrown" - I just tried to
in the main frame environment volunteered to put together for
it's members.
Clearly the route of using VB and a medium price range server
without too much OS goodies seemed like a doable solution.
(yes home grown, reinventing the wheel, etc., whatever is
indeed the case here)
make clear, that there are tools out there, that come with the
OS (ADO) or are free to download (DB-Servers), wich can
shorten your development-time significantly.
The "homegrown" alternative (Winsock-Arrays + implementing
locking/transaction mechanisms yourself (wich allow secure and
concurrent file-access of multiple clients), needs much more effort
until you reach the point, where you visualize your first Data-
Record inside a VB-GUI.
That doesn't mean, that the additional effort for such a solution
couldn't be worthwhile, because there are scenarios, there you
expect more than the usual data-transfers and transactions, wich
actual DB-Servers already have to offer.
What do you expect from your own implementation besides the
data-access?
I do not understand why the Winsock control and basic accessThere is no problem with this approach - but you will have a much
methods that I describe , which by the way are the same
rudimentary building blocks used for any non- home grown
DBMS) in Windows and basic access methods that I describe,
would have a problem handling 100 clients.
greater effort, to handle the concurrent access to your large file.
Also, unless I totally misunderstood you, your free program thatOur RPC-Server (from the link you've mentioned) is of course able, to
I obtained through the link provided in your first response to my
question, appears based on timing estimates to be able to very
easily accomplish this task. (did I miss that there was a DBMS
supporting anything here?)
handle thousands of COM-Calls per second (requests against Public
Classes inside ActiveX-Dlls) from multiple Clients in parallel, but it was
not built, to replace a DBMS "out of the box". Its main-purpose is, to
act as an additional layer *before* the DBMS, retrieving disconnected
Recordsets from a DB-Server using ADO inside the RPCs and do
additional processing at the server-side, before returning the results
back to the client.
If you want to use our solution, then you can skip the implementation
of your own server (based on Winsock-Arrays) and you can also skip
the development of your own WorkerThread-Pool, wich should be
able, to handle incoming requests in parallel.
But what is left, is the IMO huge effort, to implement a proper, and
transactional safe handling of multiple Read/Write-Requests against
the Records sitting inside a huge FlatFile.
And this effort is (let me say it again) IMO not sustainable, as long as
there are no good reasons, to do so.
As already said in my last posting - let me know, what those reasons
are.
Olaf
.
- Follow-Ups:
- Re: VB6 Winsock action on Server
- From: jerry_ys
- Re: VB6 Winsock action on Server
- References:
- Re: VB6 Winsock action on Server
- From: jerry_ys
- Re: VB6 Winsock action on Server
- From: Schmidt
- Re: VB6 Winsock action on Server
- From: jerry_ys
- Re: VB6 Winsock action on Server
- Prev by Date: Re: MS Flex Grid control, controlling keyboard
- Next by Date: Re: VB Reference Site
- Previous by thread: Re: VB6 Winsock action on Server
- Next by thread: Re: VB6 Winsock action on Server
- Index(es):
Relevant Pages
|