• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

fundemantal design question

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing the URLyBird 1.3.3.
I have a very fundamental question to ask which i hope someone can answer. I have been looking at the form and searching all the topics but i hope someone can clarify the following problem.

"You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server"

Does this mean when i design the non network mode only one client will access the database in local mode (i.e. you would not open two client accessing the same database), therefore i do not need to worry about the locking code

For my design purpose could I have
client -> middle tier -> DBMain local -> database
client -> middle tier -> remote network layor-> DMMain (locking code) -> database

I hope someone as can help
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Jesal,

Yes: only 1 client in stand-alone mode.
My code does locking server-side, and it locks in stand-alone mode the same way as it does in server mode (just to keep the code simple).

Herman
(working on UrlyBird 1.1.1)
 
jesal dosa
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Herman,

That makes perfect sense. Excellent
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!