use-case
When a system should be included as an actor in use case diagram?
As stated in another answer, an actor is a system or role interacting with the system under development. You should include a system as an actor in a use case if it is outside the system you are developing, and if it directly interacts with the system you are developing. This is important because you … Read more
Design Methodology: use case driven vs. domain driven
Use Cases focus on Users, Actions, and Processes. This is great from a business perspective, because everyone can see an abstracted view of what the system will provide. DDD focuses on creating software that solves problems. The ‘Who can solve this?‘ and the ‘What process will they follow?‘ come afterwards. DDD really gets to the … Read more
C++11 use-case for piecewise_construct of pair and tuple?
Not all types can be moved more efficiently than copied, and for some types it may make sense to even explicitly disable both copying and moving. Consider std::array<int, BIGNUM> as an an example of the former kind of a type. The point with the emplace functions and piecewise_construct is that such a class can be … Read more
What are use cases for coroutines?
One use case is a web server that has multiple simultaneous connections, with a requirement to schedule reading and writing in parallel with all of them. This can be implemented using coroutines. Each connection is a coroutine that reads/writes some amount of data, then yields control to the scheduler. The scheduler passes to the next … Read more
What are the possible AOP use cases?
I can give you two examples where we use it: Automatically registering objects in JMX for remote management. If a class is annotated with our @AutoRegister annotation, we have an aspect that watches for new instantiations of that class and registers them in JMX automatically. Audit logging (the gold standard AOP use case). Its a … Read more
Common use-cases for pickle in Python
Some uses that I have come across: 1) saving a program’s state data to disk so that it can carry on where it left off when restarted (persistence) 2) sending python data over a TCP connection in a multi-core or distributed system (marshalling) 3) storing python objects in a database 4) converting an arbitrary python … Read more
What are some use cases for using Elasticsearch versus standard sql queries? [closed]
There are two primary Elasticsearch use cases: Text search You want Elasticsearch when you’re doing a lot of text search, where traditional RDBMS databases are not performing really well (poor configuration, acts as a black-box, poor performance). Elasticsearch is highly customizable, extendable through plugins. You can build robust search without much knowledge quite fast. Logging … Read more
What’s is the difference between include and extend in use case diagram?
Extend is used when a use case adds steps to another first-class use case. For example, imagine “Withdraw Cash” is a use case of an Automated Teller Machine (ATM). “Assess Fee” would extend Withdraw Cash and describe the conditional “extension point” that is instantiated when the ATM user doesn’t bank at the ATM’s owning institution. … Read more