Hi David,
 
Access to an XDBC app server goes through all HTTP stacks just as well, so I 
don't think that would make much difference. You also won't need to send entire 
queries over the line, just access one url for each bit of monitoring info you 
need..

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: [email protected] 
[mailto:[email protected]] Namens 
[email protected]
Verzonden: dinsdag 13 september 2011 13:35
Aan: General MarkLogic Developer Discussion
CC: General MarkLogic Developer Discussion; 
[email protected]
Onderwerp: Re: [MarkLogic Dev General] Remote xqueries via php

Hi,
That is an option but I want to avoid http if possible. the potential
deplay can cause trouble in the monitoring domain. Monitoring is time
sensitive because of the quantity and frequency of inbound data.
_____________________________________________________
David Rooke
Website Performance Engineer
New Media Product Team
| Mob:
One Reading Central, Forbury Road, Reading, RG1 3YL
www.yellgroup.com
P Please consider your environmental responsibility before printing this
e-mail



                                                                           
                                                                           
                                                                           
                                                                        To 
    Geert Josten                  General MarkLogic Developer Discussion   
    <geert.josten@daidalo         <[email protected]>        
    s.nl>                                                               cc 
    Sent by:                                                               
    general-bounces@devel                                          Subject 
    oper.marklogic.com            Re: [MarkLogic Dev General] Remote       
                                  xqueries via php                         
                                                                           
    13/09/2011 12:17                                                       
                                                                           
                                                                           
      Please respond to                                                    
      General MarkLogic                                                    
    Developer Discussion                                                   
    <[email protected]                                                  
        rklogic.com>                                                       
                                                                           
                                                                           




Hi David,

Why not add some monitoring xqueries to one of the HTTP app servers, having
them return some sensible output (text, xml or html if you like), and
access those with plain http protocol?

Kind regards,
Geert

-----Oorspronkelijk bericht-----
Van: [email protected] [
mailto:[email protected]] Namens
[email protected]
Verzonden: dinsdag 13 september 2011 12:41
Aan: [email protected]
Onderwerp: [MarkLogic Dev General] Remote xqueries via php


Hi,
I have begun work on monitoring our marklogic farm. The approach I've
chosen to take, at the moment, is to compose xqueries with php and zorba,
query the marklogic servers remotely and then proxy the responses into our
network monitoring platform.

The piece that I'm not entirely sure about is the remote querying of
marklogic. Can anyone tell me if, and how, XCC can be used with php?
Otherwise, I assume I'll need to use xdbc (I have an xdbc module for php).
If anyone can provide advice/guidance, code samples or snippets that will
offer greater insight into the solution I need I'll be very grateful.

_____________________________________________________
David Rooke
Website Performance Engineer
New Media Product Team
| Mob:
One Reading Central, Forbury Road, Reading, RG1 3YL
www.yellgroup.com
P Please consider your environmental responsibility before printing this
e-mail

[Information] -- PostMaster:
This transmission is intended solely for the addressee(s) and may be
confidential. If you are not the named addressee, or if the message has
been addressed to you in error, you must not read, disclose, reproduce,
distribute or use this transmission.

Delivery of this message to any person other than the named addressee is
not intended in any way to waive confidentiality.  If you have received
this transmission in error please contact the sender or delete the message.


Thank you.

Yell Limited, One Reading Central, Forbury Road, Reading, Berkshire, RG1
3YL. Registered in England No. 4205228

Yellow Pages Sales Limited, One Reading Central,  Forbury Road, Reading,
Berkshire, RG1 3YL. Registered in England No. 1403041

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general


[Information] -- PostMaster:
This transmission is intended solely for the addressee(s) and may be 
confidential. If you are not the named addressee, or if the message has been 
addressed to you in error, you must not read, disclose, reproduce, distribute 
or use this transmission. 

Delivery of this message to any person other than the named addressee is not 
intended in any way to waive confidentiality.  If you have received this 
transmission in error please contact the sender or delete the message. 

Thank you.

Yell Limited, One Reading Central, Forbury Road, Reading, Berkshire, RG1 3YL. 
Registered in England No. 4205228

Yellow Pages Sales Limited, One Reading Central,  Forbury Road, Reading, 
Berkshire, RG1 3YL. Registered in England No. 1403041

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to