Need advice to deal with concurrency

Hi,
I just need you're advice on how I should handle concurrency. Iam doing ordering assignment, and I need to ensure concurrency. In my assignment concurrency comes into play if/when many customers try to order the same product but there is not enough product quantity.
At the moment I have made all my preparedstatement objects synchronized. Like following:
      synchronized(updateProductQuantity){
        updateProductQuantity.clearParameters();
        updateProductQuantity.setInt(1, prod_qty);
        updateProductQuantity.setInt(2, prod_no);
        updateProductQuantity.executeUpdate();
      }Iam wondering if this is enough. Do you think I should lock the database table?
Thanks for you're help!

What you have done there only ensures that one thread can execute that particular update at a time. You should do this regardless, since you wouldn't want two threads both getting into that code -- you might get prod_qty from one thread and prod_no from another thread.
However what you have done there doesn't prevent two customers from both ordering your last widget. And I don't think locking the table will help. What you need is a method that does this:
- Get the product record
- see if there is anything on hand
- if there isn't then set on the out-of-stock flag (or whatever)
- if there is then decrement the on-hand quantity and update the product record
And this entire method needs to be synchronized on some object.

Similar Messages

  • Frustrated - Multiple issues with Fios TV/DVR - need advice on dealing with tech support

    I have been a Verizon Fios customer since Feb. 20th (all of two and a half weeks).  I signed up for my bundle on-line around 11am on the 20th, and had a technician out for install within a few hours on the SAME day.  I thought that was impressive - and I was looking forward to having a more reliable and fast internet connection than I had been experiencing with Brighthouse.
    The technician who installed was very friendly, and although he had some issues (apparently, there was a Verizon box in this house before us, but someone ripped it off the wall, so they had to run new wire all the way out to the street) the install went pretty quickly and smoothly.
    The first few days went along without a problem, and the internet was great.  Some of the functionality of the DVR was less than I'd hoped for, but some of the other features were great.  I had a glitch trying to set up my online account, but I used the online chat feature to work with tech support and she was able to correct the issue.  We noticed a couple times in the evenings that the TV would pixelate - but it only happened a few times and was very brief.
    On Sunday the 26th, our real issues started.  The live TV started freezing, then having a liquid-like pixelation problem, sometimes no sound.  We tried to watch a recorded show from our DVR list and received error messages stating that we didn't have DVR.  We called Verizon tech support and a very rude person reset the box several times and apparently even reinitialized the box and the result was that the box wouldn't even turn on anymore.  He said that he'd have a new box shipped out to us and that it would arrive by Tuesday or Wednesday.  My husband got on the phone at that point and suggested to him that since we were brand new customers (less than a week) and that since we had service installed on the very same day that we ordered it online, that certainly they could have someone bring us a new box on Monday morning.  The technician told us that he would transfer us to the billing department because we could probably just cancel the service.  We were both dumbfounded.  Especially considering that he had been rude from the minute he took our call, and while we were obviously frustrated, we were never rude.  We were eventually transferred to someone in billing who said she had never heard of such a thing and that she could not help us unless we wanted to cancel.  While this was going on, I had unplugged the box again, let it sit for several minutes, then plugged it back in - and the tv worked.  And the DVR worked. We assumed that maybe something the tech support guy did had worked after all.  Well, it worked until the next morning.  We had error messages saying we had no DVR.  A reboot of the box worked again.  After work, in the evening, it turned out that scheduled shows didn't record.  So, we called tech support again and asked for our new box.  We were told we'd have it by Thursday.
    New box arrived Thursday and we set it up that evening.  Went through trying to get all of our recordings set up again and finally sat down to watch tv.  I switched to Showtime (which we are subscribed to in our package) and received an error that the channel was not available, press B to troubleshoot or call tech support with this code.  Pressed B, went through the steps and the channel came back.  Then, proceeded on to HBO, also part of our subscription - and we received the same error.  We pressed B and this time going through the steps did NOT correct - so we called tech support.  After working with the girl for over an hour, she finally determined that we needed to be switched to billing to have them remove our HBO package and then put it back on and that should correct the problem.  So, while we were waiting for billing to come on the line, we started flipping channels again.  Now, channels that had previously worked were now showing the error that the channel was unavailable - even non HD, non premium channels.  When the billing girl got on the phone, she said there was really nothing she could do with that being the case and that downgrading our package and re-upgrading it would do nothing - that we needed technical support.  She got us on the line with a different tech support person who said that we were obviously having signal related issues and that we needed a tech to come out to look at the wiring.  He scheduled an appointment for us for Friday.  That call took over 2 hours.
    On Friday, the tech came out and spent time checking all of the wires coming in to the house - he said we had multiple splitters on lines that didn't need splitters and that this was likely causing a signal disruption and was probably the cause of the failure on both boxes.  He removed some of the splitters and apparently streamlined some of the wiring.  We still had the original box and the new box.  He hooked up each box and they both worked - all of our premium channels worked, DVR was good, etc. We boxed up the old box to send back, kept the new box and had tv that worked just fine for a few hours... then we started having the channel not available issues again.  And, now - we were also getting messages saying that we weren't subscribed to a channel - and this would range from HBO all the way to a non HD standard tv channel.  A reboot will work and restore function - for a while.  However - scheduled shows aren't recording - or record for 7 seconds and stop.  Or record for a while, then have a 20 minute gap in the middle where it's frozen, etc.  This has been going on since a few hours after the technician left Friday evening.  And, I have to say - when the tech left Friday - everhything seemed fine.  He had tested the signal strength - seemed completely thorough and was very nice.  I don't think he could have known, at that time, that the problem wasn't fixed.
    We have not called back to tech support yet.  We're busy with our work and our lives and we're also frustrated.  I know it will take another several hours and don't have much faith that there is any resolution.  It seems to me that we probably need the whole house completely rewired - brand new - start over.  I'm thinking there's a bad wire in there somewhere.
    This morning with my coffee before work, I tried to watch a tv show in my DVR list that apparently didn't record properly - no surprise (it froze and skipped over half the show).  So, I went to On Demand and found the show. (Without Bay News 9, I'm kind of lost with morning coffee, so I need a show of some kind)  It started to play and was going along just fine, till I received a CableCARD  (tm) Pairing Information is not available message.  I tried the auto fix in the menu, rebooted, etc.  It worked for a few minutes, then stopped again.  At one point, I got an error saying the set top box lost video due to a network connection failure.  Great, does that mean my internet is going bad too?? While looking around in the menu function, I clicked on the self diagnostics feature.  It filled in all the information, as I'd seen it do before - except when it got to the package description.  This time, instead of Ultimate HD, HBO, VOD, etc., etc (like I'd seen before). it told me that my package is: Arabic, Armenian, ART (Arabic), Extreme HD, HBO, Prime & Ultimate HD, Prime HD, RA, RAI (Italian), etc., etc.  Huh???  Really???
    So, I'm not sure now what the deal is - would a signal issue cause my subscription package to change?  Do I get on the phone with someone at tech support for another few hours?  Are they going to send yet another box?  Are they going to come re-wire the whole house?  Is it worth it?  This is really ridiculous.  Do I cancel and go back to Brighthouse with my tail between my legs?  At least with them, I knew that my internet connection would be wicked slow at certain times of the day, but at least I knew it was coming and could expect it - and I could at least count on my tv and dvr recording my shows.
    When I logged into verizon to vent on this forum, my account said that it was unable to access my DVR.  When I clicked on manage my DVR, it just says Bad Gateway.  Not a great start to our relationship, Verizon.
    I really need some advice.  Should I stay or should I go?  And, if I stay - what is the best way for me to explain this to tech support so they will do the right thing and fix this?  And, what is "this" anyway?  Bad box, bad wiring?  
    Any help would be greatly appreciated.

    Replied to private message with all information including name, address, phone number and account number.  Thank you.

  • Advice on dealing with lots of "buttons"

    I'm doing my first serious-ish, large-ish scale project in AS3, so I'm trying to figure out some approaches that are probably different than the strategies I would have used in AS2.
    I have a catalog of events (past and upcoming) and some general resources — this is an internal learning site. Users can filter the catalog in several different ways and/or search for terms in the descriptions. The first pass with the filter or search brings up a list of shorted descriptions and previews. From there the user can click a button to go directly to a recorded presentation, website, whatever the resource is — or — they can click another button to read a more in depth description of the content.
    So there will be these long lists of things with many buttons (BTW, these aren't actual buttons, they are movieclips with button like behavior) and the list will change and be regenerated many times. I'm trying to figure out how best to handle the buttons.
    In AS2 world I would have added a onRelease handler to each button and then handled it that way.
    With AS3 I'm wondering:
    Should I addEventListener to each button?
    Should I only addEventListener for the parent container of the list preview and handle something from there? Deal with the event in the bubble phase (I think that is where I would get it, right?)
    Should I develop some kind of custom event for these things?
    I've experimented with these things in AS3 over the years, but never had to put it to quite as much practice as now. So if anybody has advice on how to approach this project I would appreciate it.

    i would create a class that extends the movieclip class.  if you have a movieclip in your fla library that you want to use, assign it to that class.
    in the class file add all the code needed by that movieclip button.  for example, the event listener, the listener function the text the it should display, enable its buttonMode property, probably disable mouseChildren etc.
    to do that you will need to pass data to your class (like the text to display), maybe a url or something else that the button will use in its listener function etc.

  • Need advice in dealing Raw using EXEC_SQL

    I really a hard time in fetching the long raw datatype using EXEC_SQL since the image that im going to fetch is stored in an odbc complaint database, most of the columns of the table can be fetch but when dealing with a particular column with LONG RAW data type, i can no longer fetch the whole row..
    Can anybody give me insights on these matters.

    first create database linke between srv1 and srv2
    and try this
    declare
    mysql varchar2(4000);
    begin
    mysql := ' SELECT col1 FROM TABLE_NAME | | | | SERVER2;
    EXECUTE IMMEDIATE mysql INTO mcoo1,...;
    end;;
    '

  • Need advice, sql server with asp or oracle with asp

    hi !
    i have been given a task to improve the design of a sql server database with more than 1 million records, front end is asp (code has to be written also, keeping user interface same). I would like to use oracle with asp, is it practical or should i go for sql server. i need your advice.
    thanks in advance
    lavinder

    Depends on your definition of "practical".
    My guess is that most of the work will be porting your back-end code from SQL*Server to Oracle. The Migration Workbench can help here, but there are often things that you do in SQL*Server code that you really don't want to do in Oracle code (i.e. frequent commits).
    There is a good chance that you'd be able to improve the scalability of the application faster by fixing the problems that exist in the SQL*Server implementation. I think Oracle is inherently a much more scalable platform than SQL*Server, however, so I'm not trying to dissuade you from moving. It really depends on the end state you need to achieve and the amount of time & effort you're willing to put forward.
    Justin

  • Need VZW to deal with this, very uphappy customer

    I’m submitting this complaint, hoping Verizon Wireless management can help me out in a situation in which I feel Verizon Wireless mislead/deceived me.
    My wife and I have been Verizon Wireless customers for approximately 7-8 years, we always pay our bill on time and have been great customers.  We have always just got 2 year contracts with basic flip phones and avoided smart phones due to our frugal nature.  I didn’t see having a phone with data package as a necessity.
    My wife’s phone had been acting up, periodically turning itself off.  We dealt with it for a few months, but decided it was time to get new phones.  Our previous 2 year contract had ran out a year or so ago, so we were eligible for a phone upgrade.  We saw an upgrade deal from VZW for free iPhone 4s phones.  Using the Verizon Wireless website to shop around, the price to upgrade to the new model of the basic phone we had would be $50 a phone. So we weighed the options and plans and looked into the iPhone 4s.
    After running through the plan options numerous times, we decided to keep our same voice plan, have no text plan and share a 2GB data plan between two new iPhone 4s phones. On the last page of the “Customer Agreement checkout” (of which I have a screen capture), our “cart summary” states that our monthly cost will be $79.98, which is right around the same price as we are paying for our basic phone plan.  I said to my wife, this seems too good to be true, but it states right here “$79.98 – Monthly”.
    Using that as our justification to purchase the phones, we agreed to a new 2 year contract on March 2, 2014.  We received the phones via FedEx on March 6, 2014 and received our monthly bill on approximately March 12, 2014 for $204.45.  I’d been expecting our bill to be around $160-$170, due to the fact that the cost of our phone “upgrade fee” was $60 and included in the next months bill, so was surprised to see it for $204.45.
    I didn’t have time to contact VZW until this afternoon on March 22, 2014.  I spoke to two VZW reps, one a customer service employee, the second a Supervisor named Athena.  I explained to Athena and emailed her a copy of the checkout cart summary which stated our monthly bill would be $79.98.  She said that that didn’t take into account the voice plan we previously had with our basic phones which we continued to use for our new contract with the iPhones.
    I told Athena that was very misleading; nowhere in the checkout process did it make clear that the cost of the voice plan wasn’t taken into account in the checkout cart summary.  We would not have upgraded to the smart phones which now cost us approximately $120/mo, vs. the approximately $80/mo we paid with our basic phones.  The $40 cost of the voice plan should be included on the “checkout cart summary” giving us a “true monthly cost”.  Athena told me that she didn’t know why the cost was not on the checkout cart summary and that she did not design the website.
    I told Athena I’d like to return the iPhones, which would remove the data plan costs.  I’d also like to purchase new basic phones (the current model of our old basic phones) which would keep our monthly bill at approximately $80.  She told me that we were at day 16 of the VZW 14 day return guarantee.  This means that we cannot return the iPhones, we own them and are locked into a new two year contract.
    I told Athena that we received the phones on March 6, but didn’t have the bill until approximately March 12, which means we haven’t even had 14 days since receiving the new monthly bill for approximately $120/mo.  She said this didn’t matter, the 14 days started when we received the iPhones, not when we received our bill.  I asked her to bend a little and extend us a 2 day grace period so we could return the iPhones.  She would not. 
    I said this is very misleading and deceiving, based on the “Customer Agreement checkout cart summary” we should be paying $79.98/mo. 
    Athena offered to find us a cheaper plan for our smart phones, but couldn’t get us back down around to the $80 price range we previously had.  Her only idea was for us to sell the iPhones on our own (since we now own them, it’s been 16 days vs. 14 ), find/purchase some old basic phones, then call VZW back and “Change Devices” from iPhones back to basic phones.  This would remove the data plan and get our monthly cost back to around $80/mo.  I said that sounds like a pain and that we would be back to square one, except that we were now locked into a 2 year contract, based on what I felt was a misleading checkout system and a tardiness of 2 days.
    I told her that I was very dissatisfied and said that they would lose my wife and I as customers as soon as our new 2 year contract was up.  It seemed as Athena didn’t care.  The way I look at it, I’m locked into a 2 year contract based on misleading information and can’t do anything about it.
    So that’s my situation. Feel that VZW took advantage of my wife and I because we “Should have known” (Athena’s words) that the cost of our old contract’s voice plan would be added onto our new contract.  On top of the $79.98/mo cost the checkout cart stated.
    Nowhere in the final “Customer Agreement checkout cart summary” was the "True Monthly Cost"stated.  If it was, I never would have upgrade our basic phones to smart phones. 
    I’d love to be able to send my iPhones back to VZW and go back to having 2 new basic phones (the new model of our old contract’s basic phone model) under a 2 year contract.  VZW would still have me locked down with a contract, I'd have the cost point I expected to have.
    Thanks,
    Matt

    What you have done there only ensures that one thread can execute that particular update at a time. You should do this regardless, since you wouldn't want two threads both getting into that code -- you might get prod_qty from one thread and prod_no from another thread.
    However what you have done there doesn't prevent two customers from both ordering your last widget. And I don't think locking the table will help. What you need is a method that does this:
    - Get the product record
    - see if there is anything on hand
    - if there isn't then set on the out-of-stock flag (or whatever)
    - if there is then decrement the on-hand quantity and update the product record
    And this entire method needs to be synchronized on some object.

  • WCF - dealing with concurrency

    Hi,  guys, how are you?
    I have a WCF built with PB.NET and a PB 12 classic client.
    when I have multiples calls of the wcf, I got some database errors, like ora-24334. It seems that all the instances use the same SQLCA transaction.
    We have tried some configurations inside the project (service attribute and operation atribute) like InstanceContextMode and the ConcurrencyMode.
    Is there any specific configuration we have to do here?
    We have tried PerSession, PerCall and Single, along with Single, Re-entrant and Multiple, but without succes.
    Everything runs fine when we call the service only once....
    Also we have  threadsafe =yes for database connection.
    By the way, we are using oracle 10g. Can anyone give us some help, please? Thank you!

    Hi, there.
    As I am still learning from this situation I would like to share with you my latest thougths about it.
    Suppose there's this WCF Project, with a  simple userobject that updates a global var named "gdb_saldo".
    Inside this nvo I've created and published three functions. One to make deposits to this global var  ( uf_soma ), another one to withdrawals  ( uf_saca ) and the last one just to check its current value (uf_saldo).
    If I invoke this WCF through more than one client instance, and in that case it doesn't matter whether it was built with PB Classic or another language, the value of "gdb_saldo" var  will be shared between all instances.
    The print below shows my WCF Project.
    Theses other prints show the behaviour of the global var "gdb_saldo", while invoking the WCF through 2 client instances:
    By changing some settings in IIS I was able to avoid that problem.
    I've changed the  "maximum number of worker processes", so I could isolate the sessions.
    Also I've changed the idleTimeout for each worker process.
    I could consider my problem solved, but I still need to take a good look at performance and memory management.
    Besides there's one big concern that I should be aware of.
    The problem occurs when I deploy my WCF in Powerbuilder 12.5.2( Build 5602 )  EBF 21973. But I was not able to reproduce it in Powerbuilder 12.5.2 (Build 4595). Maybe there's a problem inside this EBF that triggers the error...
    I hope I can help others who are facing the same kind of problem.

  • Best advice for dealing with awful service?

    Hey everyone!
    So my roommate and I have a problem with att at least once a month, so much that they not only have to prorate our bill monthly but we have to have supervisors call us back for service follow ups (that often) and now we have the red light flashing once again for broadband1 so we've been trying EVERYTHING but of course to only be unsuccessful. Two questions....1) do we chalk it up to a faulty broadband1 cord and hope they come out and fix it (weve had several 'simple' issues like this that have required multiple att servicemen to come out who are absolutely clueless or (my favorite) 'don't have the right part' or 2) do we finally say forget it and just get rid of att altogether....talking to robots for 3 hours to resolve 'simple' issues is a service I don't think anyone should be paying $100+ for every month....were just absolutely frustrated with att and over paying so much for awful service and hopefully on a forum like this we can get advice from people who've had similar problems (and can't ever find any decent customer service) and if they have advice to switch to any other service providers that offer much better quality and service to customers...we'd seriously appreciate any advice towards a better solution. Thanks!

      If you happen to have a 510/589 RG, IPv6 causes disconnects, rebooting and browsing problems.
    Disable IPv6 in the RG's Gui. http://192.168.1.254/
    Good luck

  • Help! I downloaded Firefox, because I need it to deal with a particular website. Only, I can't cut and paste MY OWN FILES! It tells me I need to adjust my 'profile'. Yet all the packaged instructions don't make sense.

    I'm told that I need to change 'profile' settings, yet I cannot seem to do this.

    Try using this extension to set those permissions - Allow Clipboard Helper: <br />
    https://addons.mozilla.org/en-US/firefox/addon/allowclipboard-helper/

  • Treo 700P with contacts - need advice on synchronizing with new outlook user profile

    Hello Treo Experts.
    I have a Treo 700P.
    It is full of contacts.
    I have a new Outlook user profile and am unable to synchronize between the Treo and Outlook.
    I deinstalled Palm SW and reinstalled it
    I am about to 'syhncronize the Treo with my computer
    my question is: Is this safe to do? I don't want to lose all my contacts on my Treo. 
    Any suggestions - greatly appreciated!
    Post relates to: Treo 700p (Verizon)
    Post relates to: Treo 700p (Verizon)

    Hi..  Welcome to the Palm forums.  You should be fine, the contacts on the device should write to outlook and combine with what ever is in outlook.
    Post relates to: Centro (Sprint)

  • Need advice on going with 10g vs 11i for PeopleSoft 9.0 and tools version.

    Hi,
    My company is currently on PeopleSoft 8.9 with peopletools 8.48. We are looking to upgrade our Application, Database and tools set. For anyone that has already or is in theprocess of converting to PeopleSoft 9.0, could you let me know what version or Oracle your company selected along with waht tools version and why you made these selections. In addition any lessons learned would be of great help.
    Thank you,
    Maryanne

    If you are moving to Peoplesoft 9.0, why not using Peopletools 8.49 and Oracle 11g ?
    If the Peopletools version 8.49 is not questionnable from my point of view, available for several years and now most of the bugs are fixed - means it is robust, the main question will be for 11g of Oracle.
    Should we go to the latest patchset of 10.2 or for the first patchset of 11g ?
    However, if you're in the beginning of the project, I would go for 11g, the second patchset will come out in few months time (I would bet before the end of the year - just my opinion -), and it will be easier to upgrade your db version at that time to a newer patchset than manage a version upgrade from 10g to 11g.
    Always keep in mind than a Peoplesoft application is working for many years, and upgrade the version of database is not always neutral in terms of time and costs.
    Nicolas.

  • Need Advice 2 computers with 3g setup

    Morning all just wanted to see what I should do with getting the same data on both computers. My MacPro is in NY waiting for me to do a big shooting job and has not been updated to 7.7 Itunes but I did but the Iphone 3g from the original version and everything is rigged up to my MacBook Pro right now. I get to NY tomorrow and that is my main computer so I want to normally use the MacPro for the Iphone. Question I have what is the bet way to get this done. I would think update to the new Version 7.7 first than do a synce so all that correct data from Mobile me gets on the MacPro. Than do i setup the 3g as a new phone or what should I be doing here.
    Or my other thought and not sure this would work is go to my user folder take the Itunes from the MacBook Pro and replace the MacPro with it, will the updates be there and the Iphone backup stuff.
    Any help would be appreciated but what is the proper way of doing this.

    In my view, the extra money for 7% (or whatever it is) extra performance isn't really worth it. Obviously, if you want the fastest you can get, then go for the more expensive one.
    The VRAM really doesn't mean much unless you are using your computer for games (or perhaps some hardcore graphics stuff like Motion which will benefit from it). Regular applications won't benefit at all from the extra VRAM, and the 2.2 will drive big monitors quite happily.
    I actually went to the Apple Store last week and played with one of the new MBP's, and in doing the research I was set on a matte screen, now I'm not so sure - it was nice graphically with the glossy. I'll make that decision when I have to...
    It was funny watching people all crowding round the MBP's - most people were running Safari, iTunes and stuff, and there's me loading up and creating with Logic, then FCP, then Shake, then Colour, then Motion, all the hard core apps - I think they thought I was some kind of professional or something...
    I will be getting a 2.2 when the issues and the component shortages are sorted out...

  • Dealing with concurrency when accessing BO

    Hi,
    I'm currently facing the following problem. I have kind of a "singleton" BO which manages number ranges for BOs. The generation of new IDs happens in the "before save" action of the respective BO. Now assuming two BOs are saved at the same time (by different users) they both can get the same ID. Does anybody know how I can aquire somthing like a lock while saving until the save transaction is completed?
    - Daniel

    Hi Daniel,
    ok, I know the problem of locking in ByDesign...you could try the following steps:
    1. Before you execute the save operation, you execute a new action "LockingTest" (UI-Designer event handler entry)
    2. In this action you manipulate a value in your singelton BO, e.g.:
    Singelton.value1 = Singelton.value2
    3. After that you can check in UI-Designer if an error is occured ($controller.ErrorOccured) (ruby script in event handler)
    4. If you get no error, the business object is locked for you (otherwise it is locked by another user/BO)
    I had to check it in a seperate window (modal dialog)...was in FP2.6...I don`t know if it now works in same window...
    5. now you can generate and set a new ID
    6. save your BO (singelton BO will automatically saved as well)
    7. Now your singelton is unlocked again
    Save operations always depend on your current UI screen. Only if you save in UI, changes will be written back in database and only if you execute a action and come back to UI, you can lock BOs (FP2.6, FP3.0?).
    I used similar steps for one of my developments...not very elegant but it worked for me. Currently, I can not access my old UI code (solution in in maintance mode) but I think I can do it again next week...so if you have further question...
    I hope it works for you too...
    Regards,
    Andreas

  • Dealing with frequent disconnected states (replication) - advice needed

    Hello,
    We have a very complex environment and I was wondering if anyone out there in the SQL community had ever dealt with, or had ideas on how to deal with, this unique sort of environment.  We support two "homegrown" SQL Database applications over
    a geographically dispersed area.  The remote locations are currently connected via T1s.  But, it doesn't end there...  At the remote locations, there are vehicles that are often disconnected for, sometimes, months at a time, where folks on those
    vehicles are entering and accessing data from the applications.  We currently use SQL 2008 Merge replication, and, it works...  but, it, lately, has had some issues.  But, it DOES work... It just doesn't feel like the ideal solution.  The
    way we have it now, our main SQL DB is in our main datacenter... then, at each remote location, there is another SQL server that houses a copy of the database using SQL merge replication.  Then, on each vehicle, we have servers that have everything on
    them (they are domain controllers, SQL servers and web application servers) and, also on the vehicle is a laptop set up to access the application from that server over wireless.  When the server on the vehicle can see the domain and the DB server at the
    remote location, merge replication handles synching those two.
    Does anyone have a better solution to this?  I guess an example of our situation would be something like if NASA wanted to use our applications and they needed to be able to continue using the application even if they did not have internet or any, for
    that matter, connectivity.
    Thank you in advance for any advice/ideas.
    Charlie

    Merge replication was designed for this.
    The question is where are you stumbling. You said it works, but now have some unspecified problems. What is the nature of the problems you are seeing? Keep in mind that merge replication is designed to be resilient to failures. I have some clients where
    90% of their sync's fail, but the 10% that work replicate their data within the design parameters for the application.
    I did have a client with 4000 subscribers hanging off one publisher. It worked well, but they decided to use XML diffgrams for their change detection and data transfer and run Oracle end to end.  This change was driven by problems they were having with
    their data integration requirements.
    NASA would likely implement a custom solution using open source technologies, because that is their way of doing business (at least with the part of NASA I have worked with).
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • Have dead phone, cannot sign-in b/c of Secret Question. Plan head is daughter (out of country). No access for plan members and no access if phone dead. Need to learn deals, buy a phone, etc. ADVICE?

    HOW CAN I REPLACE MY DEAD PHONE;  BUY A NEW ONE, ADDING TO FAMILY PLAN WHEN I CAN"T EVEN SIGN-IN? 
    I hope this community can tell me tell how I can  get through the Verizon sign-in process soI can buy a phone to replace my currently dead one. 
    I am a member of a Family Plan run by my daughter (out of the country for a week)and even with her ID and password, Verizon does not accept my sign-in attempt when I could not answer her Secret Question.   With a dead phone, I cannot get from Verizon including a PIN.  I can use my husband's phone (also in the Familhy Plan) but Verizon does not allow access to anyone but the registered plan administrator.  My phone number-- with decades of phone bills from Verizon --- is "not recognized. "  Huh?
    I am so frustrated.  HELP!!  How can I access Verizon:
    --to buy a phone and add to Family plan;
    --delete dead phone from plan;
    --learn the gory financial details of a contract, and
    --arrange for that new phone to be shipped to me.
    I had tried the live chat, but I had to leave the page to locate my daughter's phone number.  Since I never actually type it out, and since it was locked inside my dead phone, I had to reach out to my family so they could look ion their contact phone lists.  And now I cannot regain access Chasmine, my chat person.
    I would be grateful for any advice.   I am without a working phone and beginning to believe I shall remain that way.  I would walk away from Verizon except it would work against my family and their contracts.  However,  I have learned just how powerful an essential company can be when it takes advantage of people dependent on its "services."
    Meanwhile, the reality is I need to know how to deal with Verizon and get a phone.  All thoughts are welcome and appreciated. I cannot even find a phone number to try to talk to a Verizon person.   Thank you

    Youll still have to be the account owner to make those changes.
    Is the account owner unavailable to make that change from their location?
    Customer Service
    (800) 922-0204
    or dial *611 from your mobile phone
    View the *611 On-Screen App for Android Video
    6 AM - 11 PM, Mon - Sun
    Emergency Service Hours
    11 PM - 6 AM, Mon - Sun

Maybe you are looking for