DPStano wrote: ↑01.05.2021, 10:54
marsupilami wrote: ↑01.05.2021, 08:35
No - what I am saying is that using transactions is better than using the cached updates feature of Zeos.
what about starting with his topology and how his users are gonna use his application.
You are free to do exactly that. Why don't you do it instead of trying to shame me? Don't push your expectations on me.
DPStano wrote: ↑01.05.2021, 10:54
marsupilami wrote: ↑01.05.2021, 08:35
Just to make that clear: Connection losses of applications have not been a concern for any of the applications I have been developing. So it seems that your experience is different from mine.
it seems so, 7? versions of lib without proper connection lost handling :/
No - we simply don't have disconnects. Our clients networks seem to be in a good condition. Even the few people who use one of my products over the internet don't experience many connection losses. Even more they don't ask me to fix connection losses. They ask me to add new features. So what do you think how much of a concern a connection loss is to them?
DPStano wrote: ↑01.05.2021, 10:54
we were begging to fix just small parts like AVs from resource releasing after connection lost, but without any response for years,
You were begging? I didn't see you beg anywhere and even more, I didn't see you supply a patch or a fix anywhere. Also I didn't see you offering anybody any pay to fix your problems for you. Basically this means you were trying to get others to fix your problems for free. Why should I care? It isn't my duty to fix your problems.
DPStano wrote: ↑01.05.2021, 10:54
so we rewrote connection and transaction handling, connection pooling, and dataset interaction.
And why should I care? Basically this means you took something that you could get for free but decided to not share the improvements with other users.
In the mean time Egonhugeist has done the work necessary to handle connection losses. I didn't see so much as a thumbs up from you anywhere on his work. Also imagine what he could have achieved for Zeos if you had decided to share your work.
DPStano wrote: ↑01.05.2021, 10:54
i cant find any info that isc_attach_database starts transaction
Phew - now you got me. Or maybe not. Is there anything you can do with a database attachment without starting an transaction? So what sense does it make to have an attachment without a transaction? And how does it help with connection losses to have a database attachment but no transaction?
DPStano wrote: ↑01.05.2021, 10:54
LGPL, our code is not open,
So - again why should I care? If you decide to keep changes to yourself, you cannot claim to have been working on "Zeos". You didn't. You were working on an internal project that is based on Zeos.
DPStano wrote: ↑01.05.2021, 10:54
svn, slow changes, difficult communication,
Now you must be kidding. You didn't even try. You never submitted a patch or even tried to. But since you seem to not like SVN: There is a git repository on github:
https://github.com/marsupilami79/zeoslib
You are free to submit pull requests there.
DPStano wrote: ↑01.05.2021, 10:54
this project was dead multiple times during last 10 years, something like that
That is bullshit again. I just had a look. I joined this forum on 2011-01-17. mdaems was active at that time and helped users. It didn't take long for Egonhugeist to join the project afterwards. His first commit was in 20011 and from 2012 on he started to do commits on a regular basis. mdaems was still active when I took over the board administration from him. And finally: What did you do to make sure the project doesn't die? Where is your commitment?
DPStano wrote: ↑01.05.2021, 10:54
but you didn't say that he can have cached updates in explicit transactions,
And why didn't you do that instead of trying to shame me? Why don't you give support for people for once instead of telling me how you tink I should give support? See - if you gave support I could be doing other things. Like writing the release notes for Zeos 8.0 which currently is the biggest show stopper for a proper release.
This approach to use cached updates with transactions has downsides too. If you get an error message while doing an ApplyUpdates you don't get to know which record change provoked the error. When submitting each change to the database when it happens you get to know which record caused the error. And last but not least there have been errors in AutoCommit with transactions that were only solved in the last 12 months or so. CachedUpdates is a feature that doesn't get used very often.
DPStano wrote: ↑01.05.2021, 10:54
I really like to know why somebody would use cached updates in auto-commit transaction, it does not make any sense to me.
There are engines out there that don't support transactions. Microsofts ACE for example. Cached Updates are the closest thing one can get to transactions on these beasts.