Kishan Ashra
Kishan Ashra

Reputation: 146

How to integrate memcached with MarkLogic?

I want to integrate memcached with MarkLogic and use it as a module in XQuery. How to work with it?

Upvotes: 1

Views: 108

Answers (1)

grtjn
grtjn

Reputation: 20414

I don't think it makes sense to integrate such tools within MarkLogic itself. You normally want to apply such tools in a more transparant way. Put it as a reverse proxy in front of MarkLogic. Or if you want to use it to cache HTTP call made from within MarkLogic to other services, then put them in front of those services.

For some more background, I refer to this blog article about using HTTPD as reverse proxy. Not the most recent article, but it touches the basic concepts, and it would still work I think:

https://developer.marklogic.com/learn/2004-09-cisapache

I also searched for something more specific to memcached (in front of MarkLogic), but couldn't find anything. Then again, it would be implemented as an ordinary reverse proxy. There should be plenty resources on internet that discuss Reverse Proxying..

HTH!

Upvotes: 2

Related Questions