You are viewing limited content. For full access, please sign in.

Question

Question

SDK Full admin connection

SDK
asked on October 16, 2014

Dears,

 

Below is our SDK connection story and please tell us your suggestions and feedback.

 

I have to create an application that connects to Laserfiche, this application will be used by all Laserfiche users.

The number of user is huge, the application should connect to Laserfiche by the user connection as well as an admin connection.

The user connection will be used to perform actions that the user has rights to do. The admin connection will be one Laserfiche named user that will be used by the application at all users machines.

The admin connection will be used to perform actions that the user has NO right to do.

 

So, there is no issue for the connection limit for the normal user connections since it will only be used on the user machine.

But, the issue will be on the admin connection, it might be hundred of sessions that will be created on Laserfiche server as per the application requests

At some customers (SDK with LF8.3) works fine, I can consume a lot of sessions at one time, but now, when we test to use LF9  I can only consume maximum 4 sessions!!. This is the problem.

 

Please tell us what we should do in this regards, since our customers need to upgrade to LF9.

 

Thanks in advance.

0 0

Replies

replied on October 16, 2014

Maged,

In the scenario you describe I would lean towards developing a WCF (Windows Communication Foundation) service that manages a 'pool' of administrative user accounts to handle all of the requests from the clients. 

Once the WCF service used all four of the admin connections it would open up connections with additional  admin accounts to handle the workload.  Once the requests are completed then the unneeded accounts could log out after a period of time if necessary.

If you keep the client requests brief I would think that you could get a lot of throughput through a small number of admin level accounts.

 

 

2 0
replied on October 17, 2014

Thank you,

I know this solution, I also tested it before, and I can show waiting screen to inform users that all connection are busy till one become free.

But for this solution, (Admins pool) requires a lot of named users (based on the number of deployments)  to be dedicated only for the pool.

I think this is the only solution for the case if Laserfiche doesn't have a special handling for that.

But I'm wondering, before the advent of LF9 and LF8.3 I was able to create a lot of sessions from one named account (Not shared connection).

Anyway, Thanks a lot for your cooperation and your valued reply.

Best regards.

 

0 0
replied on October 17, 2014

Each user who is connecting to the Laserfiche Server needs a dedicated Named User license. We'll reach out to you to learn more about the license pool feature request and use case.

0 0
replied on October 17, 2014 Show version history

Thank you

0 0
replied on October 17, 2014

A brief description about it, is to have like a different type of license (pool license) that should be used by SDK developers, it allows unlimited number of session to be created to handle special request that the connected user don't have permission to do.

Use case:

the connected user get the metadata information from documents that who has right to read. those metadata can be displayed in a report.

also this report could have a statistical information gotten from different documents and folders which are not in the area of his permission. those information should be gotten by a super user connection that should search for the documents and calculate the required information.

this is a sample and not a real case, however, for this case I should use two different sessions, one is the normal user account, and one is the super user account.

 

Thanks,

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.