• Moose
  • Announcements

    • Dirktator

      Please help us for June & July   06/20/2017

      This month we're hoping for a little bit of a boost this month or next, in addition to covering the regular bills, we could benefit from some hardware upgrades. STEX Collector's Set gifts can now be sent to you via digital download as well as regular mail if you wish! Every donation dollar goes toward keeping Simtropolis online and humming along. Your contribution counts! Hardware Upgrades As our website community software improves with more and more features, and as we bolt on additional features such as chat, the increased load to handle all these new toys is taking the server a bit to task. You may have noticed that we'd been forced to temporarily disable the chat as we worked out allocating resources for more optimal performance. Following this, we've applied a number of 'soft' changes such as caching options and experimented with server configurations (nginx as proxy, for example), so the hardware aspect is also an area we'd like to focus on. The last time we upgraded hardware was back in 2012, prior to the release of SC13. Your contribution means a lot! Your donation will go toward helping us to 1.) migrate to a newer server or 2.) at least get some ram/cpu/storage updates and any other infrastructure hardware or services. Donate and Get a Gift or Donate Any Amount Thanks so much! - Dirktator & The Admins
Sign in to follow this  
Followers 0

Background: A Tale of Two Worlds

4 posts in this topic

Interesting Read! It's always neat to read about the logic that goes into developing software, especially when said software is still under development. I wonder what that Super Secret Mindblowing Update is. I guess we're just gonna have to wait.

Hope everything else is going good for you as well. Look forward to the next proof of life update...;).

Share this post

Link to post
Share on other sites

This is nothing new and startling.  In the old days is was called a deadly embrace because A is trying to update B but can't because B is locked, but B is trying to update A, but A has set its lock because it is a critical section of the code.  This all requires adroit use of semaphores or gates on lists within objects or sometimes objects and/or lists of objects.  Modern computers are so fast that a general program pause could go by without the user noticing it while a save was in progress.  That is, the whole program simulation stops (freezes) momentarily while the save is organized in a buffer then can be released while the write progresses.

I've done a lot of transaction processing in my time, and you ought to try this will a couple of thousand users all trying to update the same set of files at the same time.  It has been solved for years.  You need to arrange it so that events within the simulation to be atomic (that is, each event is discrete and complete).  Where there are thousands of events going on, this becomes a horror show, but it can be done.  Acceptable response times for commercial applications like banking are on the order of three seconds or less.  I imagine for a graphics game 3,000 ms is an eternity, so it has to be much quicker than that for each thread.  Good luck.

Share this post

Link to post
Share on other sites

It is great that there would be double buffering.


Even mid-end computers nowadays have large amounts of RAM, making this much simpler.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an Account  

Sign up to join our friendly community. It's easy!  :thumb:

Register a New Account

Sign In  

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Similar Content

    • By Don_Pato

      2012, Jarunja City - The government became Tennis, a serious sport. In effect was built the Jarunja Open Stadium. This event is the most important in the region.

    • By AmiPolizeiFunk
      As expected, my save failed to load. What's the protocol here? Should I disable all mods and try to add them back one-by-one?
      Let's help each other out by listing out mods that have been broken and should definitely be disabled. Who will go first?
    • By RichardCollins
      A while back, I purchased Sim City 4 on Origin when it was on sale. I had no issues installing NAM, RHW, and even using a custom resolution. I had to reset my PC due to a virus. I reinstalled SC4, but now Origin won't update it past 1.1.610. I tried contacting support and they gave me a long list of things to do that have nothing to do with getting an update (disabling anti-virus, safe-mode, etc, etc.)
      Why did they go from giving you the fully patched version of the game to blocking you to 610? Is it something on my end or did EA actually change something? No matter if I download the game to my SSD or HDD, I get the same result. 
      A separate patch I downloaded with NAM tells me old files can't be found and won't allow me to install a new patch, so no NAM. Anyone here have the same issue? A solution besides buying another copy on GoG?
    • By wojtason
      Quick question. I shared an asset on Steam which required 3 props. Now I changed the asset and it requires just 1 new prop. How to update it so the people get this new prop automatically? 
    • By J_botz
      I'm sure there are tons of people out there using @andreharv and @BloodyPenguin"s MOM. However, I'm wondering if anyone out there has heard whether MTSE is going to be updated to support MOM. I know you would need their permission to update for them but It seems like they have abandoned.... Consider this a request, can someone PLEASE create a new version?!?! 
  • Recently Browsing   0 members

    No registered users viewing this page.