Comments (1)
@shirady The main drawback against this pattern is that the constructor is called regardless of using the singleton, just upon requiring the module. This can have side effects. For example the current pattern allows to use cyclic requires, but the new pattern will fail . Another example is when the constructor has side effects such as setting globals or connecting to the database. So I think we cannot use this pattern without distinction. Performance is probably so negligible that cannot even be measured.
from noobaa-core.
Related Issues (20)
- NSFS | Prevent concurrent UploadPart with different data
- account update for --user option is throwing some invalid error HOT 2
- No error code for inactive syslog-ng service HOT 3
- master_keys.json file does not display the timestamp properly HOT 1
- Incorrect service status for rsyslog if syslog-ng enables HOT 3
- NC | Noobaa syslogs are sent to two different files HOT 4
- NSFS | Create event json from debug module
- NSFS | when FS is unavailable requests fail immediately with InternalError exhausting client attempts
- NC | Service + CLI | Internal Refactoring and renaming
- NSFS | NamespaceFS.js Error handling
- Config-Option to deactivate rsyslog if syslogng are used HOT 4
- NSFS Bucket Tagging
- NSFS GLACIER optional return RestoreStatus in ListObjects
- NSFS endpoint should set its process/threads name in the OS to be identified accurately HOT 5
- NSFS: For clients like s3A, iceberg.. seeing 0 response in listing of a bucket with 5.15.3 HOT 7
- NSFS | NC | Improve Input Validations of Config
- NC | Unit tests suggestions and refactoring
- NC | Support multiple RPM versions on a single cluster (different nodes)
- NSFS on syscall error should log the operation info and not just the error code (even if debug level is low) HOT 3
- CI | Actions updates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from noobaa-core.