Project

General

Profile

Actions

Feature #3884

open

redesign bankd thread architecture

Added by laforge about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
remsim-bankd
Target version:
-
Start date:
04/01/2019
Due date:
% Done:

0%

Spec Reference:

Description

Right now we have a pool of threads hanging in accept() and accepting a random client connection. Only once the client ID and the slot mapping are known, we know which reader to open in this thread.

This has the disadavantage that we cannot open all the readers/slots and obtain their status (or even the ICCID or IMSI of the card inserted).

We need to switch to a model where there's one thread per reader, and where this per-reader/slot thread can monitor the slot status irrespective of any client connections. Client connections then have to be accept()ed from the main thread and dispatched after it is known which reader they're handling.


Related issues

Related to osmo-remsim - Bug #5527: warn on duplicate client (id) connectionsIn Progresslaforge04/12/2022

Actions
Precedes osmo-remsim - Feature #3885: remsim-server should expose status informationNewlaforge04/02/201904/02/2019

Actions
Precedes osmo-remsim - Feature #3886: expose ICCID or even IMSI of all cards on remsim-serverNewlaforge04/02/201904/02/2019

Actions
Actions #1

Updated by laforge about 3 years ago

  • Precedes Feature #3885: remsim-server should expose status information added
Actions #2

Updated by laforge about 3 years ago

  • Related to Feature #3886: expose ICCID or even IMSI of all cards on remsim-server added
Actions #3

Updated by laforge about 3 years ago

  • Related to deleted (Feature #3886: expose ICCID or even IMSI of all cards on remsim-server)
Actions #4

Updated by laforge about 3 years ago

  • Precedes Feature #3886: expose ICCID or even IMSI of all cards on remsim-server added
Actions #5

Updated by laforge about 3 years ago

  • Subject changed from redesign bankd thrad architecture to redesign bankd thread architecture
Actions #6

Updated by laforge about 3 years ago

  • Category set to remsim-bankd
Actions #7

Updated by laforge about 2 months ago

  • Related to Bug #5527: warn on duplicate client (id) connections added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)