QEWD and Cache/IRIS over network?

67 views
Skip to first unread message

daniel kutac

unread,
Dec 8, 2020, 6:13:08 AM12/8/20
to Enterprise Web Developer Community
Hello, please forgive me possibly ignorant question. I'm doing a research and it seems to me that it is not possible to run on a different machine to that where Cache or IRIS resides. is that true? I have a scenario where I need to run webserver separated from database server.
Thank you for explanation!

Dan

daniel kutac

unread,
Dec 9, 2020, 4:35:29 AM12/9/20
to Enterprise Web Developer Community
I think I found the answer: training course - part 36, https://www.slideshare.net/robtweed/ewd-3-training-course-part-36-building-a-reactjs-application-with-ewdxpress-part-3  

Dne úterý 8. prosince 2020 v 12:13:08 UTC+1 uživatel daniel kutac napsal:

rtweed

unread,
Dec 10, 2020, 7:31:13 AM12/10/20
to Enterprise Web Developer Community
Daniel

QEWD can indeed connect to IRIS/Cache (or YottaDB) over a network connection as an alternative to the more intimately connected API connection (where QEWD and IRIS/Cache/YottaDB have to be on the same physical host machine)

The instructions you've found are somewhat dated.  It's all a lot easier now, using the so-called QEWD-Up approach.

I'm in the process of writing a comprehensive set of documentation for setting up and running QEWD with a networked connection to IRIS - please watch out for further announcements.  You'll then see what's involved.

However, in the meantime, for the purposes of your research, you can be confident about this being a very viable option.  The only downside of it is that the performance will be somewhat less than that of the direct API connection between QEWD and IRIS which uses the very high-speed/low-level C interface directly into the Global engine of IRIS.  However, the networked connection can offer benefits in terms of resilience and redundancy in an enterprise-scale architecture.

Rob

daniel kutac

unread,
Dec 10, 2020, 9:40:55 AM12/10/20
to Enterprise Web Developer Community
This is excellent news, Rob! I'm looking forward for your new anouncement. Regarding performance, this shouln't be an issue in the case I'm after.
Thank you very much!

Dan 

Dne čtvrtek 10. prosince 2020 v 13:31:13 UTC+1 uživatel rtweed napsal:

rtweed

unread,
Dec 11, 2020, 11:21:11 AM12/11/20
to Enterprise Web Developer Community
OK here it is:


It's still a work in progress, but I doubt if you'll hit the missing parts for a while - there's a ton of stuff for you to get through first :-)

I'll be finishing off some of the more esoteric parts next week

Have fun!
Let me know if you find any errors, omissions, etc, or places where more explanation/examples might be needed 

Rob

rtweed

unread,
Dec 15, 2020, 11:11:31 AM12/15/20
to Enterprise Web Developer Community
Have you tried it out yet, Dan?

Rob

rtweed

unread,
Dec 16, 2020, 11:29:12 AM12/16/20
to Enterprise Web Developer Community
OK, the documentation is now complete.  The major piece that's taken some time to complete is the detailed tutorial on the QEWD-JSdb persistent DOM Model.  It's designed around the XML DOM API, but don't think it's limited to XML storage and manipulation.  Look at the sections towards the end on customising DOM storage with userData, and at the section on JSON storage in the DOM.  And with XPath built-in, you have a very powerful technology at your disposal, all using Global storage in IRIS (or Cache or YottaDB) for its persistence


But don't forget you also have Key/Value and List Models too:


along with the standard persistent JSON storage of QEWD-JSdb:


What better way to spend the upcoming holiday season than to work your way through these tutorials!

Rob

On Friday, 11 December 2020 at 16:21:11 UTC rtweed wrote:

GMAIL @ WORK PC

unread,
Dec 16, 2020, 11:45:38 AM12/16/20
to enterprise-web-de...@googlegroups.com

Hi Rob,

I have not tested it personally, but I informed my friends who use QEWD and for whom I was doing the research, about your good news so they can start modifying their application to make it able to run in networked environment.

 

Dan

 

Sent from Mail for Windows 10

--
You received this message because you are subscribed to a topic in the Google Groups "Enterprise Web Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/enterprise-web-developer-community/v8x_YJpO0dk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to enterprise-web-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/enterprise-web-developer-community/c7247dc2-17e3-458c-8f73-011be7265ad1n%40googlegroups.com.

 

Reply all
Reply to author
Forward
0 new messages