{{tag>category:"AREV32" author:"Joshua Goddard" author:"bob carten"}}
[[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]]
==== Does each socket server require its own copy of Oi (AREV32) ====
=== At 05 JAN 2022 07:19:28PM Joshua Goddard wrote: ===
Where I work, we have several computers each running the java socket server. Each socket server talks to its own copy of oi.
Is this necessary? Can we not have multiple socket servers talking to the same OIhosted on a network drive?
----
=== At 05 JAN 2022 09:19PM bob carten wrote: ===
You do not need individual copies of OI. You can have multiple socket servers using the same copy of OI. I refer to these machines as "appservers", and the main machine as the "dataserver"
You might consider leaving the openinsight folders on each machine, deleting the .lk and .ov files and using a revparam with a sharename parameter which points to the openinsight on the main server.
This has three benefits:
[list]
[*] performance - only data traverses the network, the exe and dlls are local to each machine
[*] security - the appservers only need tcpip access on one port to the dataserver
[*]scalability - The appservers are mostly static, so you can make an image of one and spin up fresh copies easily.
[/list]
----
=== At 05 JAN 2022 09:44PM Joshua Goddard wrote: ===
ok, but why have a local copy at all? Because now you have to maintain dozens of DBT files across dozens of computers? That's what I was hoping to avoid by having all of the OI files (DBT, exe, etc) on a single computer.
----
=== At 05 JAN 2022 10:04PM bob carten wrote: ===
You are correct, The engine server does not need a local copy of OpenInsight.
----
=== At 05 JAN 2022 10:32PM Joshua Goddard wrote: ===
But you said it's better performance if it's local. Perhaps that's why it was done like that.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=80B80C2D2DB9C644B60DC31F3B54BB7A|View this thread on the Works forum...]]