Showing posts with label caching. Show all posts
Showing posts with label caching. Show all posts

Saturday, February 28, 2009

When is a Virtual Directory not a Virtual Directory?

The answer is simple, when it is used as a Web Server Proxy rather than an LDAP Proxy.

Let's look at the classic definition of a virtual directory (in the interest of full disclosure, this is from the SAP VDS whitepaper)

"The Virtual Directory Server can logically represent information from a number of disparate directories, databases, and other data repositories in a virtual directory tree. Various users and applications can get different views of the information, based on their access rights. "

So what does this mean?  We're taking various sources and putting a LDAP front end on them.  Now what can these back ends be—databases, directories, other virtual directories, etc.  The connections can take the form of ODBC, XML, or other web services.

But what happens when we do web services on both the front and back end of the VDS?  Well, I do not think it is really a Virtual Directory any more.  We're not representing information in a Directory form and we're not doing read/search operations.  It certainly would seem to put the never ending cache debates to bed as well.  I'm thinking that what we now have is a web services proxy; or in a more mature implementation, a Virtual Application Server.

So how the VAS would be used?  Simplest case would be to have an application make a request to a VAS for information.  This information is available from another VAS connected system via some mapping logic that would be able to tell VAS where to find it. With this information delivered to the targeted system the proper information is obtained and returned to the requesting application.

You would have to wonder how often something like this is needed after all, web services connectors can be written easily enough.  However, what happens when we do not have all the code or if there’s a need to segregate the request over multiple domains or firewall zones.  That I think would be one use case for the VAS.  Another would be when there is no direct connection say, between a role management system and a provisioning system, two common IdM applications these days.  This could open up completely new ways for systems to interconnect.  I wonder if anyone has been thinking along these lines.

Friday, May 23, 2008

Non technical updates

I know that I've been spending a lot of time on NetWeaver Identity Center Issues.  Hope it's been of some use to everyone out there.  I'd like to take a few moments and just comment on some things I've been hearing lately.

First of all there's the whole LifeLock deal.  Honestly, most of my initial thoughts were unprintable and more eloquently stated in other parts of the blogosphere.  But I'll leave it at this:  Identity and Credit protection services are only part of the solution.  Basic steps in protecting your authoritative identity information should include not blabbing it to everyone you know on TV, Radio and especially the internet!  Keeping that information private should be nothing less than your first line of defense.  'Nuff said.  Moving on...

A big theme of this blog in its first life was the usefulness, properties and functioning of Virtual Directories.  So it's always with interest that I look to see what Clayton Donley over at Oracle has to say on the topic.  He's one of the few people I've seen who continue the discussion of this IdM tool.

That being said, I will get on to disagreeing with some issues in his latest blog posting:  Personal Fire Trucks and Overengineering Identity Solutions. While I whole-heartedly agree with him that many Identity projects are vastly overengineered, I disagree that caching is a factor in this. To paraphrase his story, Clayton likens the use of caching to a person buying their own fire truck in case there is a fire in the home.  

Caching as a whole makes data more ready for access and usage by users and enterprise systems connected to Identity Repositories.  Is caching a personal fire truck?  I don't think so. However, I can see that as a result of poor analysis, design and engineering, caching could be used inappropriately to bolster a failing solution.  

Caching, like all tools can be used for a multitude of purposes, much like a fire truck.  It all comes down to why you are using the cache.  Is it to supplement the solution or carry it?  Too little or too much caching results in poor information and longer, not shorter response times.   It is up to the Identity Architect to decide if the solution needs a fire extinguisher or a fire truck.  Criticizing the Architect for preparing for increased demand, latency and other design considerations is only appropriate if it is improperly used.