On Fri, Oct 27, 2017 at 7:05 AM, Epperlein, Lutz (agendo) via 4D_Tech <
[email protected]> wrote:

> The main problem with 4D Internet Commands is:
> It blocks the whole application while waiting for and downloading messages
> from the server.


​I moved downloading emails into a separate 4D database for this reason.
It's not as clunky a solution as you might think. The app doesn't require
any users to be logged in. I run it as a separate 4D server instance and it
simply wakes up periodically, checks some email accounts it monitors,
downloads any messages, deals with attachments and writes the data to a set
of watched folders which the parent database checks.

In our case we receive a lot of image files via email which was a real
performance hit​ for all the reasons you list. Separating it out made even
more sense when I began storing all those images on AWS and there was no
need to have them in the parent db at all.

I'm starting to think it might be worthwhile to add the email sending tasks
as well. The parent db drops out-going emails into a watched folder, the
email db sends them.

-- 
Kirk Brooks
San Francisco, CA
=======================

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to