Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8895939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:54:49+00:00 2026-06-14T23:54:49+00:00

I am working on ddbmock project . Basically, this is a server reproducing Amazon’s

  • 0

I am working on ddbmock project. Basically, this is a server reproducing Amazon’s DynamoDB API.

Even though this implementation does not involve threads directly, it is very likely to be run in multi-threaded environment and, at the moment, I know it has unpredictable “features” 🙂 All threads will work on the same store…

The first step will be to add mutex but how can I test that I missed none and the design is actually working ? Is there any reliable way ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:54:51+00:00Added an answer on June 14, 2026 at 11:54 pm

    @martineau, the problem is not restricted to CPython. Anytime there is shared resources it can lead to concurrency problem.

    One way is to avoid it altogether. Serialize everything and allow no concurrency. Given this is an in memory mock server this may be a reasonable restriction.

    But if you do want to provide parallel access, the strategy I’d use is to stress test the system using a variety of request for a long period of time. This tend to shake out good number of race condition bugs. Otherwise I know of no reliable way to proof a program is free of concurrency bug.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working on pure-ruby implementation of XCode project file parser, PBXProject , and need little
Working on a project, I have this issue where my array slicetable returns undefined
Working with an undisclosed API, I found a function that can set the number
Working with H2 I get this error when I try to write a row
Working on the problems on Project Euler to try to learn Clojure. I'm on
Working on a project using Entity Framework (4.3.1.0). I'm trying to figure out how
Working with an API where I need to send a value over in an
Working with Json, how can I NSlog only the title in this code: NSDictionary
working with: ASP.net using VB.net connecting to MS SQL Server What I'm trying to
Working on a project where I need to add points to an array. Here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.