Solved

pros and cons of running a .exe on a network shared folder

Posted on 2010-11-08
2
580 Views
Last Modified: 2012-05-10
just wondering what are the pros and cons of having just one copy of an .exe installed on a network shared folder?  this is my opinion:

pros: 1) ease of maintainence, 2) availability to multiple users
cons: 1) need to set code access rights to resources not on the shared folder, e.g. a database, 2) if you are calling the exe within your code, it's hard to call it from a consistent network drive since everyone's mapping will be different, 3) network connection may be slow and unreliable, 4) how to run multiple instances and still maintain consistency on the common data that it modifies.  

thanks.
0
Comment
Question by:mmingfeilam
2 Comments
 
LVL 5

Accepted Solution

by:
Xper4net earned 125 total points
ID: 34083068
In pro, you've forgotten the possibility to share data handled by application.

In fact, sharing an application is a deployment solution. It is mostly required when you often update the database it uses (a catalog, for example), or when this database is too big to be easily deployed. It can also be chosen when the application itself often requires update.

Cons depends on how common writable ressources are managed. If they are in database, most of DBMS handle concurrent access transparently. For other files, you have to care by yourself that they are open appropriate mode (read, write, shared, exclusive).
Major concern should be the deadlock:
User A open resource X in exclusive mode
User B open resource Y in exclusive mode
User A requires resource Y
User B require resourc X

Note that the easier way to design a shared application is to create a Web application (RIA or not). If you already have a winform application, and if it has been correctly designed (mvc layers), it could be quite easily converted to a Web application by using Visual Web Gui (http://www.visualwebgui.com).
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 125 total points
ID: 34083162
why not just write a simple batch file that (x)copy everything your folder from the network folder to a local folder and start the local version?
Or ClickOnce is a deployment technology that let you update local installation.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Graphics 2 30
Nimble Storage 3 69
How come this regular expression allows "e"? 14 38
Stacked switch question 7 24
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question