Best method to connect Appserver agents to database

Posted by chrisrichardson on 30-Nov-2015 10:46

What's the preferred method of connecting appserver agents to a database.

The database resides on the same host as the appserver.  So should I be connecting via:

1. Directly to the database (-db /path/to/my/db)

or

2. Network, even though the DB is on the same host (-db mydb -H myhost -S myport)?

Does option 2 imply client/server and the associated performance cost?

Thanks

OE 11.5 Enterprise, Red Hat 7

All Replies

Posted by James Palmer on 30-Nov-2015 10:52

Yeah option 2 will be client server and has a cost associated. If you can connect directly then you should.

Posted by chrisrichardson on 30-Nov-2015 13:23

Thanks for the quick response.

This thread is closed